bgsomers Posted January 22, 2007 Share Posted January 22, 2007 Could some kind soul explain in words, the effect of the operator -> in the following? What does it 'achieve'? Is -> called an operator? $input = new CInput(); $input->Formular_Show(0, $newname, $newmail, $newurl, $newicq, $newaim, $newtext);Is there documentation somewhere in which this can be sought?Many thanks, Bruce Link to comment https://forums.phpfreaks.com/topic/35217-what-is/ Share on other sites More sharing options...
trq Posted January 22, 2007 Share Posted January 22, 2007 It is used to reference properties and methods of an object. In your example, CInput(); is the object.Read more [url=http://php.net/oop]here[/url]. Link to comment https://forums.phpfreaks.com/topic/35217-what-is/#findComment-166302 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.