Schmalls » Blog » 2007

2007

Return to Prototype Based Programming in PHP

With the implementation of the get_called_class() function in PHP, prototype based programming in PHP is possible. The new function is in both PHP5.3 and PHP6 snapshots. So, I went back to the drawing board and came up with a fully capable class. The $this keyword is usable, as well as being able to use the self, parent, and static (new with the late static binding patch) keywords. Code after the jump.

→ Read more...

2007-10-29 18:19 · Josh Thompson · 3 Comments · 0 Linkbacks
blog/2007/home.txt · Last modified: 2009-09-19 22:48 by Josh Thompson