Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs

Partner Sites
JustLinux.com
Linux Planet
PHPBuilder
Technology Jobs

Top White Papers

More on LinuxToday


Six Cool PHP Tricks You May Not Know

Apr 29, 2010, 04:32 (0 Talkback[s])
(Other stories by Chris Roane)

"Over the years I've come across some useful tricks in PHP that are not obvious, but are worth mentioning. This is not meant to be a comprehensive list of all the useful tricks that you can do with PHP.

"1. Count Characters in a String To do this, I've usually just used the function strlen(). However, there is a faster method. Take a look at the following code example:

Related Stories: