News Feed
Sections




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

Web Builder Zone:
5 features of PHP that seem hacks, but save your life
November 02, 2010 @ 08:40:00

On the Web Builder Zone today there's a new article that talks about five things that, while they may seem like hacks in your development, they might come in very handy in the right situations.

Ilia is one of the people that get his hands dirty in the PHP core, and PHP has indeed many overlooked features. [...] However, thinking about this load of features inspired me to write this article: I'll include here 5 features that at first seem an hack, but can save your life while coding in PHP. In fact, you probably use or will use them every day without noticing.

His list of five is made up of the access our scripts have to private properties via Reflection, using eval, the __DIR__ constant, the fact that a closing "?>" isn't needed and the fact that PHP has "__sleep()".

0 comments voice your opinion now!
hack feature language useful overlooked


blog comments powered by Disqus

Similar Posts

International PHP Magazine: IPM Poll Question: Benefits of phpbb SEO Master Include?

Jeff Atwood's Blog: PHP Sucks, But It Doesn't Matter

Stas Malyshev' Blog: On PHP features

PHP Magazine: What Is Your Top Consideration for Choosing a CMS? (Poll)

PHPMaster.com: PHP's Quest for Performance: From C to hhvm


Community Events

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


extension interview podcast opinion unittest version language laravel5 framework introduction symfony laravel community voicesoftheelephpant library api security series release threedevsandamaybe

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