News Feed
Sections




News Archive
feed this:

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

SearchCo.de:
List of Most Commonly Used PHP Functions
March 16, 2011 @ 13:26:27

In a new post to the SearchCo.de blog Ben Boyter generated a listing of the most commonly used PHP functions/structures based on the contents of several of the major PHP projects from around the web.

One thing that I considered some time ago was working out which are the most common functions in a language and adding this as an additional signal to ranking. I couldn't find anywhere else on the web with this question answered so I took my own approch. The method was to take a collection of large PHP projects, including, Wordpress, Mambo, Sphider, Smarty, Drupal, CodeIgniter, dump all their source code into a single file stripped of comments, and then run some simple regex over this file counting the occurance of each function.

His results show the top five as: array, isset, define, empty and assert. The last five ended up being: filemtime, sha1, array_unshift, get_current_user and strchr.

1 comment voice your opinion now!
common used function opensource project generate list


Brendon's Blog:
10 PHP functions you (probably) never use
January 15, 2010 @ 11:27:57

New from his blog Brendon has a list of what he thinks are ten PHP functions you'll never use.

When scripting in PHP, we often restrict ourselves to a limited number of API functions: the common ones, like print(), header(), define(), isset(), htmlspecialchars(), etc. [...] The PHP API actually offers a lot of functionality, some useless and some useful; often seldom used. I have been looking through the available functions and was interested to find some really cool functions that I should have known about.

Here's his list of functions, some of which are more on the "special needs" list than the "never use" list:

0 comments voice your opinion now!
function less used opinion



Community Events





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


install package api series tips library laravel release podcast symfony list deployment opinion framework introduction interview zendserver update language community

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