tags:

views:

88

answers:

2

I'm familiar with advanced OOP features like interfaces, abstractions, enums, generics, public , private , static keywords, exceptions, etc from Java. However, I'd like to know how all these things translate to PHP.

Specifically I'd like one tutorial or website which goes through all the advanced OOP features of PHP which were added in PHP 5 (I'm mostly familiar with everything from PHP 4) and also things which aren't directly related to OOP like the throw keyword and the try/catch blocks. Any suggestions?

+3  A: 

There's a decent and free e-book called "PHP 5 Power Programming" (~5 MiB PDF) that I would recommend. It goes into the more advanced aspects of OOP in PHP and explains some common design patterns.

Reinis I.
Great resource, thank you!
pix0r
+4  A: 

Assuming you haven't been there already, the php.net documentation is pretty good. Here is the section on PHP5's objects. There also is a section on migrating from PHP4 to PHP5.

Daniel Vandersluis