Best Tutorials website


The Wonders of Magic Function: __toString()

The Wonders of Magic Function: __toString()

For this article we’ll be looking at the __toString magic function, and a very handy function it is to. What this function does is allow you to change the default behaviour when outputting an object instance.




Views: 565 | Rating star | by Stephen




View this tutorial
Broken link Report broken link?