I've been on Stack Overflow since 2012 and have seen a fairly steady decline in the quality of questions asked in the php tag over the years. However, I noticed a significant incline in the sheer volume of these questions in the last couple of years.
A lot of the very low-quality questions stem from every-day problems like syntax/parse errors, why isn't this code working PEBKACs, and other poorly-researched questions that could have been better answered by a quick Google search or just spending a little more time playing with the code, or even just searching Stack Overflow for similar questions that provided useful answers.
Sometimes even closing a question as duplicate led the OP to re-ask the same question with "this did not answer my question" in the title/body, when the duplicate clearly did. It seems that if the answer is not specifically tailored to their use-case/code, a general answer is unacceptable from their point-of-view.
I developed a theory that the majority of these questions come from students or hobbyists that have been misguided, to believe that Stack Overflow is a general help forum, where anyone can ask for and get some quick help with their code.
So I decided to head over to SEDE to see if there was any data to support my theory. Sure enough, I dug some interesting data, but I'm still not quite sure what to make of it yet.
#The Hourly Trends
Looking at a histogram of when php questions are asked, it seems that historically, the peak hours are usually between 8 AM and 4 PM UTC.
So far it seems that, generally, day-light hours bring in the most php questions, which if we go by the theory that the bulk of these questions come from students spending their days looking for help with their projects/homework, it might make sense.
#The Daily Trends
Looking at a histogram of php questions by days of the week supports this notion even further. There're almost twice as many questions asked during week days as there are during weekends.
##The Monthly Trends
Looking at a histogram of php questions by month further supports this theory as you can spot a significant ~20% drop, historically, during the start of the school year, and 5-10% upticks during holidays and summer months.
##The Yearly Trends
Looking at the data by year, you can clearly see that question scores are tending downwards, while the amount of questions are trending upwards very quickly.
In 2011, the amount of questions asked that were tagged php, nearly doubled from the previous year in 2010. By 2012 we can see that aggregate question scores start to suffer and trend downwards as the amount posted questions rise and trend upwards.
Even though php is the 4th most popular tag on Stack Overflow, it's oddly the 7th highest scoring tag out of the top 10, lagging way behind less popular tags like python, android, and c++. Which leads me to believe that the quality of scores that the php tag suffers from must be the result of a lack of precedence.
Most people tag their questions as php just because PHP is involved in virtually every aspect of their stack in their web development process. So while the question might really be about JavaScript or Apache httpd, or even just HTML/CSS, the fact that PHP is somehow involved means the question likely gets tagged under php as well. Meaning that PHP tagged questions share in a lot of cumulative blame as well.
If it's not the result of masses being misled to believe that they can turn to Stack Overflow whenever they run into a problem with their PHP code, then what is it? What can be done to improve the overall quality of the PHP tag score on Stack Overflow?
Should I even care? Is this really a sign of a bad trend in the works that's detrimental to the PHP ecosystem on Stack Overflow or just typical behavior that's to be expected as the site grows?