News Feed
Sections




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

CatsWhoCode.com:
10 life-saving PHP snippets
July 20, 2010 @ 11:47:35

New from the CatsWhoCode.com site today there's a list of ten code snippets from Jean-Baptiste Jung that could be "life-saving" in your development.

In order to be efficient, a web developer should have a toolbox with code snippets he can use and reuse when needed. In this article, I'm going to show you 10 extremely useful PHP code snippets to add to your web developer toolbox.

They're not amazing, but that can be very handy in the right situations - things like:

  • Highlight specific words in a phrase
  • Automatic password creation
  • Calculate age using date of birth
  • Maintenance mode with PHP
  • Add (th, st, nd, rd, th) to the end of a number
0 comments voice your opinion now!
code snippet toolbox


blog comments powered by Disqus

Similar Posts

Gareth Heyes' Blog: Non alphanumeric code in PHP

Symfony Project: New showcase app and documentation tool - Snipeet

Rob Allen's Blog: Sublime Text 2 Snippet for PHP getter and setter generation

PHPBuilder.com: 6 PHP Performance Tips for Producing Highly Optimized Code

Volker Dusch's Blog: Textual code coverage information for PHPUnit


Community Events





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


list threedevsandamaybe library framework application introduction interview code release project developer series language podcast configure community bugfix laravel wordpress api

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