News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Web Developer Juice:
PHP Magic Functions Best Part of Object Oriented PHP - Part 2
May 19, 2011 @ 10:14:27

Web Developer Juice has posted the second part of their series looking at some of the "magic functions" that PHP has to offer - special functions that do automagic things in your scripts and classes. Part one can be found here.

In my previous post ( PHP Magic Functions ), I discussed about __construct, __destruct, __call and __callStatic. Lets explore a few more magic functions...

In this latest part of the series they look at three functions:

  • __set/__get
  • __invoke
1 comment voice your opinion now!
magic function method oop get set invoke


blog comments powered by Disqus

Similar Posts

Scott Johnson\'s Blog: The Overhead of PHP is_ functions?

Cormac's Blog: Lazy loading of object variables in php using __get()

Volker Dusch's Blog: The UNIT in unit testing

Developer.com: PHP 5 OOP - Interfaces Abstract Classes and the Adapter Pattern

WebReference.com: The Building Blocks: Data Types, Literals, Variables, and Constants - Part 3


Community Events





Don't see your event here?
Let us know!


zendserver introduction interview release laravel symfony language library conference community series api framework tips list podcast voicesoftheelephpant developer bugfix deployment

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework