rizwanbhutta Posted November 17, 2007 Share Posted November 17, 2007 ??? ??? Hello i am new to php programing. Recently i was studying a script and i find there an expression something like this "$this->$variablename". Know i am confused about "->" it. so if some one guide me about it , i will be thankfull regards Quote Link to comment Share on other sites More sharing options...
axiom82 Posted November 17, 2007 Share Posted November 17, 2007 The -> is used in object-oriented php to access a property or method of a class. It is used the same way the . is used in JavaScript and Visual Basic. Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 17, 2007 Share Posted November 17, 2007 http://www.phpfreaks.com/forums/index.php/topic,95867.0.html That should give you a basic rundown... PhREEEk Quote Link to comment Share on other sites More sharing options...
rizwanbhutta Posted November 19, 2007 Author Share Posted November 19, 2007 Thank you so much for reply and explaining it it realy help me to under stand this operator, can we say it operator? Thank you in advance Quote Link to comment Share on other sites More sharing options...
wsantos Posted November 19, 2007 Share Posted November 19, 2007 Class operator...I guess...Please don't forget to click "TOPIC SOLVED" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.