News Feed
Sections




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

Joshua Thijssen:
Internal PHP function usage
July 28, 2014 @ 10:05:39

Curious about the usage of the various "internal" (built-in, not user defined) functions in use is a wide range of PHP applications, Joshua Thijssen did some research on GitHub and has shared the results on his site today.

How many internal PHP functions (things like count(), strpos(), array_merge() etc), does PHP have? Depending on which version you use, and how many extensions you have loaded, somewhere between 1000 and 2000 would be a good guess. But how many of these internal functions are you REALLY using?

He created a custom script to fetch the results of a custom query (one that found repos with over fifty stars), grabbed the source and parsed the results looking for these internal functions. He shares the results of his parsing from 967 repos in the remainder of the post, including: the top ten most called, some interesting facts found in the results and some of the "bad" ones in wide use (like "exec" and "mysql_connect").

0 comments voice your opinion now!
internal function usage statistics github parse query

Link: https://www.adayinthelifeof.nl/2014/07/25/internal-php-function-usage/

blog comments powered by Disqus

Similar Posts

Evans Data Corporation: More Developers Are Using AJAX & PHP in Emerging Markets Than North America

Community Crosstalk: Matthew O'Phinney & Scott Johnson on Dynamic Function/Method Calls

SitePoint PHP Blog: Geospatial Search with SOLR and Solarium

Experts Round Table: HTTP Headers and the PHP header() Function

Kevin van Zonneveld's Blog: Convert anything to Tree Structures in PHP


Community Events

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


php7 api community version interview podcast performance series release laravel application introduction example framework voicesoftheelephpant testing library extension opinion symfony2

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