mikemcc Posted March 13, 2014 Share Posted March 13, 2014 (edited) Is there a good description of the -> operator anywhere or can anyone please explain it. I'm an experienced but amateur PHP programmer and see -> used in examples and libraries but cannot find any documentation of it on the w3Schools site, at php.net or elsewhere. Here's an example: if (!$fh = fopen($this->_outputFile, 'wb+')) { return 'error opening outputfile: '.$this->_outputFile.' for wb+ access!';} Many thanks Edited March 13, 2014 by mikemcc Link to comment Share on other sites More sharing options...
Ingolme Posted March 13, 2014 Share Posted March 13, 2014 It's part of object-oriented programming. The operator is explained here: http://nl1.php.net/manual/en/language.oop5.properties.php Link to comment Share on other sites More sharing options...
mikemcc Posted March 14, 2014 Author Share Posted March 14, 2014 Many thanks :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now