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. Quote 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 Quote 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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.