News Feed
Sections




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

Reddit.com:
Less obvious PHP tricks?
December 29, 2010 @ 11:17:10

On Reddit.com there's a recent post with a question about some of the lesser known PHP tricks that other developers might have picked up out there. The post has pulled in quite a few suggestions including:

  • Using predefined interfaces
  • The streams API
  • Defining constant defaults
  • The speed differences in reading parts of arrays
  • Boolean attribution

There's also a full discussion on closures/lambdas that no "features" post on PHP would be complete without. Have some tips to share? Add yours to the post too!

0 comments voice your opinion now!
tricks suggestion developer language


blog comments powered by Disqus

Similar Posts

Jacob Mather: How to act like you (maybe actually) care about your work

Matthew Weier O'Phinney: RESTful APIs with ZF2, Part 1

Brandon Savage: The framework you learn doesn’t really matter

NetTuts.com: HTTP: The Protocol Every Web Developer Must Know - Part 2

PHP.net: PHP 5.6.0beta1 released


Community Events





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


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

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