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

SitePoint PHP Blog: Unserialize Yahoo! search results

Hannes Magnusson: Next Generation MongoDB Driver for PHP!

PHPClasses.org: Lately in PHP Podcast Episode 18 - The Debate on Remote Work for Web Developers

SitePoint PHP Blog: Easy Wins For More Performant PHP

PHPBuilder.com: A Primer On Postgres Exception Handling For The PHP Developer, Part 2


Community Events

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


conference install performance configure part2 framework series interview symfony2 api application example podcast introduction release laravel language php7 community opinion

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