News Feed
Sections




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

Eran Gelperin's Blog:
Operator overloading in PHP
July 08, 2008 @ 10:29:54

Eran Gelperin gives an overview of the current state of overloading abilities PHP has in a new blog post today:

Operator overloading is a programming language features that allows operators to act differently depending on the type of data they are operating on. Since OOP lets us create custom types (classes), there are plenty of opportunities to do useful and interesting code manipulations using operator overloading.

He talks about magic functions, the additions that the SPL made, the PECL addition operator and how much its currently being discussed on the PHP internals list.

0 comments voice your opinion now!
operator overload spl magic function operator internals mailing list


blog comments powered by Disqus

Similar Posts

DevShed: The Sleep and Wakeup Magic Functions in PHP 5

I/O Reader: 15 Cool Things & 12 Things to Dislike About PHP

Ian Selby's Blog: Dynamically Add Functions to PHP Classes

Refulz.com: The __toString() Method - Objects as Strings

IBM developerWorks: What's new in PHP V5.3, Part 1: Changes to the object interface


Community Events





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


install language release library api community interview introduction opinion podcast symfony deployment zendserver series unittest framework laravel tips package update

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