News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Lesser-Known "Features" of PHP's OO Model
July 22, 2013 @ 12:21:22

On there's a new tutorial from Lorna Mitchell about some of the lesser known OOP features that are built in to the PHP language. She talks about things like interface inheritance, private properties and autoloading and type hints.

The vast majority of today's applications written in PHP are object-oriented, and in general the core OOP concepts are pretty well understood by PHP developers. This article pushes the boundary of your understanding and shows you some tricks, or potential pitfalls depending on your perspective, of OOP in PHP.

Besides the ones mentioned above, she also looks at abstract classes and their use as well as the use of "finally" to handle the cleanup after exceptions.

0 comments voice your opinion now!
features oop model language private inheritance typehint finally


blog comments powered by Disqus

Similar Posts

Matt Curry's Blog: 8 Ways to Speed Up CakePHP Apps Tutorial: Type Hinting in PHP Lesser-Known "Features" of PHP's OO Model

I Am Learning PHP Blog: Do Web-Scripting Languages Really Need OOP? From Java to PHP

Community Events

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

artisanfiles conference laravel introduction version library community interview security podcast tool framework language composer voicesoftheelephpant list opinion symfony series release

All content copyright, 2014 :: - Powered by the Solar PHP Framework