ZoorBIS Posted June 13, 2006 Share Posted June 13, 2006 Hi need little help.Beginner to PHP just wondering if "->" is the same as "="If not could some please explain to me what it is. An example in .net or java to explain would b e great. Link to comment https://forums.phpfreaks.com/topic/11877-what-is-need-to-know-what-it-does/ Share on other sites More sharing options...
joquius Posted June 13, 2006 Share Posted June 13, 2006 it most definitely isn't.You use -> in quite a few cases all relating to objects. It's basically getting a subsection of the string like$object->string;will retreive the "string" which is defined inside $object = new object()You're better off reading the manual on object..bleh Link to comment https://forums.phpfreaks.com/topic/11877-what-is-need-to-know-what-it-does/#findComment-45059 Share on other sites More sharing options...
radalin Posted June 13, 2006 Share Posted June 13, 2006 Do you kno the meaning of "." (dot) int Java or .NET?"->" is the PHP version! Link to comment https://forums.phpfreaks.com/topic/11877-what-is-need-to-know-what-it-does/#findComment-45060 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.