Ask HN: Should I support PHP 5.2

https://news.ycombinator.com/item?id=7220141
by superice • 12 years ago
1 2 12 years ago

I am programming on a PHP application since mid last year, and the code is becoming more complicated by the day. I would like to use namespaces, but with PHP 5.2 still being widely used, is it reasonable to switch to PHP >= 5.3 ?

According to the usage stats found here: http://w3techs.com/technologies/details/pl-php/5/all I would exclude about 33% of my customers. Then again, those stats are about servers, not about my customers specifically. (Most hosting companies offer 5.3 or higher these days right?)

Any opinions?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com