Jump to content

-> operator


Recommended Posts

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 by mikemcc
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...