News Feed
Jobs Feed
Sections




News Archive
Manuel Pichler's Blog:
Why I love PHP
July 24, 2009 @ 11:06:20

In a (somewhat sadistic) example of why he loves the flexibility that PHP offers Manuel Pichler has posted a code snippet showing just how much PHP can bend.

While working on PHP_Depend's parser I realized one major reason Why I love PHP, it's the flexibility of language. Even if you think you now know all ways to solve a problem, there is always one more way to solve it.

At a high level, the code example does some crazy things with variable variables, magic functions and constants to ultimately output "f:bar()".

0 comments voice your opinion now!
flexibility language example


blog comments powered by Disqus

Similar Posts

Rob Richards' Blog: WS-Addressing for ext/soap

Brian Moon's Blog: Short Array Syntax for PHP

Luc de Brouwer's Blog: Stop waiting, start array dereferencing in PHP now!

PHPHacks.com: How to create an Ajax RSS reader with PHP

David Walsh's Blog: Using PHP Generic Objects To Organize Your Code


Community Events











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


rest language functional conference database unittest framework opinion release podcast series phpunit zendframework2 usergroup community introduction symfony2 interview testing development

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