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

Joshua Thijssen:
Internal PHP function usage revisited
August 06, 2014 @ 11:53:34

Joshua Thjissen has revisited some of his PHP internal function statistics, an update from this previous post with some results showing the most (and least) used internal PHP functions in several large projects from GitHub.

A lot of people are asking about functions like isset, empty, print, echo etc, as they are not present in the current result list. The thing is, is that these are not really functions, but language constructs. This means that PHP treats them a bit different than normal functions, and this results sometimes in seemingly "strange" behaviour when trying to use them like regular functions.

He's updated his results, though, to reflect the usage of these "functions" and shared the numbers. Not surprisingly, these constructs show up pretty highly in the new "top 22" list he's produced. With the inclusion of the constructs, the number one item on the list is now "isset" by a very large margin. The full results can be found in this gist.

0 comments voice your opinion now!
internal function usage statistics github revisit construct language

Link: https://www.adayinthelifeof.nl/2014/08/05/internal-php-function-usage-revisited/

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/

Sameer Borate:
Calculating descriptive statistics in MySQL
April 08, 2014 @ 10:46:22

Sameer Borate has shared some examples of how to generate some meaningful statistics about the contents of your database in a new post to his site today.

Descriptive statistics can be quite useful for simple analysis of records in a database. For example, to calculate average numbers of sales or products for a particular duration, or the Variance of sales for a month etc. We can easily calculate standard descriptive statistic measures in MySQL such as MEAN, SUM, STANDARD DEVIATION, VARIANCE, MIN and MAX using built-in functions.

He includes both the SQL and a bit of PHP code showing how to get these statistics (based on a simple data set of student scores). The PHP is required to more correctly evaluate the median and mode values as it's easier to evaluate those in PHP.

0 comments voice your opinion now!
mysql database descriptive statistics mean sum mode median

Link: http://www.codediesel.com/data/calculating-descriptive-statistics-in-mysql

SitePoint Programming Blog:
What is the Best Programming Language to Learn in 2014?
February 07, 2014 @ 10:44:59

On the SitePoint Programming blog today Craig Buckler has published a new post with some suggestions as to which programming language is the best to learn in 2014. The results come from a compilation of job postings and popularity, but it's interesting none the less.

It's been a year since I revealed the best languages to learn in 2013. Once again, I've examined the data produced by Jobs Tractor who analyzed more than 45,000 developer jobs advertised on Twitter during the past twelve months. [...] Take this survey with a large pinch of salt. Then add pepper, ketchup and numerous other condiments. I'm not convinced Twitter is a reliable source of job-related data and regional differences can skew results.

The results of surveys from other outside sources are also included, showing slight variations compared to Craig's numbers. Most of the languages are the same but their orders are pretty different depending on who you ask. Of course, he does make one major recommendation about all of these results: "Never use statistics as the sole basis for learning a language."

If you've mastered a language or two, the choice is far simpler: pick something that interests you (intellectually or financially). Programming skills are transferable and the learning curve will be shallower when learning a new language compared to when you first started.
0 comments voice your opinion now!
programming language learn statistics opinion

Link: http://www.sitepoint.com/best-programming-language-learn-2014/

Adam Culp:
PHP usage statistics
May 24, 2013 @ 11:41:16

Adam Culp has posted his own look at some of the PHP usage statistics that are out there and how they can be interpreted.

Every once in awhile I stumble across someone who is trying to find their way and decide what they will do in their career. As the organizer of a PHP user group I see many new developers passing through. Of course I always speak of how strong PHP is in the web markets, and encourage new web developers to pursue PHP as a tool in their box of goodies. Because as a web developer it would be a career limiting move to not have any knowledge of PHP. Here is why...

He shares a few different sources including w3tech's overall and PHP-specific information (PHP5 specific here) and the current results of the TIOBE index showing language popularity. For each he talks some about what the results mean (and don't mean) and how, if you're a "professional developer" you should, at the least, know PHP - the most dominant language in the web space.

0 comments voice your opinion now!
usage statistics language w3techs tiobe popularity

Link: http://www.geekyboy.com/archives/672

Drupal Motion:
PHP is not dead
March 27, 2013 @ 11:12:42

In this new post to his Drupal Motion site, David Corbacho shares some statistics about why PHP "isn't dead yet" and that despite the slow adoption of the latest versions of the language, it's still as popular as it ever was.

This is a follow-up on the article Dries Buytaert wrote in 2007 PHP is dead... long live PHP!. In the article he shared same concern that Nick Lewis for the slow adoption rate of PHP 5, less than 20% at that time. And he encouraged to upgrade to PHP 5. [...] Well, PHP 5 adoption rate is 96.9%, and PHP 4 is quite dead. Mission accomplished. Let's have a look to the overall PHP health.

He shares data from a few sources about the popularity and adoption of PHP in applications/sites all across the web. Sources include Netcraft survey results, W3Tech usage summaries and Stack Overflow tagging matches (complete with graphs of each set of data).

0 comments voice your opinion now!
statistics popularity language netcraft w3tech stackoverflow


W3 Techs:
PHP version 5.3 is now the most used version, just ahead of 5.2
March 22, 2013 @ 09:10:22

According to this new report on the W3 Techs site, the usage of PHP 5.2 has been passed up by the numbers for the usage of PHP 5.3 (finally).

PHP 5.3 has been released in June 2009, so it took a while to gain that level of popularity. End of support for PHP 5.2 has been declared in December 2010, but is was still the most popular version until now. Version 5.3 will enter the end-of-life cycle in March 2013. Version 5.4, used by only 3.0%, is now considered state-of-the-art.

The numbers have been consistently trending towards intersection with the usage of PHP 5.4 picking up, but no where near the 5.3 and 5.2 numbers. They also point out that PHP version adoption has a history of being slow. Contributing factors to this could be the overall impression of the language and how much "room for improvement" it seems to have.

It's not difficult to predict that PHP as a language will continue to dominate web development in the near future. What will be more exciting is to watch what new versions of PHP will look like.
0 comments voice your opinion now!
version adoption php53 php52 statistics usage


Udemy Blog:
Code Wars PHP vs Ruby vs Python - Who Reigns Supreme [Infographic]
January 11, 2012 @ 13:13:29

On the Udemy blog there's a new post with a large infographic showing "who reigns supreme" comparing Ruby, Python and PHP (don't worry, this isn't flamebait...it's actual good stats comparing the state of these three languages).

Just as the Japanese, Spanish and French languages are uniquely different, programming languages also have their variations, some more popular and easier to use than others. With the recent introduction of some new ones, there is a 'war' of modern day languages. What's easier and faster to use is not always the best option.

The graphic includes stats like:

  • Usability ratings
  • Popularity in the TIOBE index
  • How much it's discussed (from the IEEE Spectrum, IRC)
  • The number of open job postings
  • Average run time/lines of code

Check out the full post for more interesting data.

0 comments voice your opinion now!
war language python ruby compare statistics infographic


Ilia Alshanetsky's Blog:
ISP Popularity by Domain Count
December 23, 2010 @ 10:08:14

Ilia Alshanetsky has posted the next article in his "domains and PHP" series - a new slicing of the data showing the ISP popularity by domain counts, a breakdown of the top 25 with over 100,000 domains to their credit.

The results are pretty interesting, and it clearly shows that a small number of ISPs are definitely doing something right, which is causing many consumers to vote with their dollars in those ISPs favor. As usual the information is shown in graph form, to filter down the data to just the large providers I've set a minimum at 100,000 domains, leaving me with just 122 ISPs. The image [below] shows the break-down of the Top 25.

He's created a pie graph that breaks down the ISP list with GoDaddy once again coming in top of the list and The Planet coming in second. The numbers behind the graph are also included with other things like IP, country, region and city for each. He also mentions other major breakdowns like the top ranking IP addresses and the total number of around 80,000 IPs that have over 100 domains resolving to them.

0 comments voice your opinion now!
domain popularity isp statistics godaddy theplanet softlayer


Ilia Alshanetsky's Blog:
Domain Distribution by City
December 22, 2010 @ 13:56:17

Ilia Alshanetsky has posted the next set of results from his domains-running-PHP research he's been doing. In this latest post he looks at the domain distribution by city mostly falling in the US, Europe and China.

I am making available two additional geographic chats that breakdown the domain distribution by top world cities. The first chart a preview of which can been below (click to see full, browse-able/zoomable version) shows the Top 150 cities, by domain distribution. These cities represent a total 91.3% of some 102 million domains that could be resolved to a city level.

The top ranking city falls in the US in Scottsdale, Arizona (because of the large domain provider GoDaddy being based there) with the second place spot going to San Francisco, California. He's created both a interactive map you can use to see the numbers for different parts of the world and a concentration view of the same results making it a bit easier to digest.

0 comments voice your opinion now!
domain distribution city statistics godaddy



Community Events





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


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

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