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 Link to comment https://forums.phpfreaks.com/topic/77710-want-to-know-about-this-mynum/ 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. Link to comment https://forums.phpfreaks.com/topic/77710-want-to-know-about-this-mynum/#findComment-393377 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 Link to comment https://forums.phpfreaks.com/topic/77710-want-to-know-about-this-mynum/#findComment-393384 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 Link to comment https://forums.phpfreaks.com/topic/77710-want-to-know-about-this-mynum/#findComment-394244 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" Link to comment https://forums.phpfreaks.com/topic/77710-want-to-know-about-this-mynum/#findComment-394245 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.