Hari's CornerHumour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and then
Site management by
Posted on Mon, Nov 11, 2013 at 10:42 IST (last updated: Mon, Nov 11, 2013 @ 10:50 IST)
Setting an updated PHP version on this site has led to some strange effects on this blog. Like the non-display of some pages. Unfortunately PHP is a really unstable language that keeps changing its behaviour on every update. Many functions become deprecated over time, a few change their behaviour and yet others fail silently. The worst part is that, unless you enable error reporting globally, it is very difficult to track down the source of subtle bugs caused by these.
I have now reverted the server-type to the older version of PHP on my web host so that the site continues working normally as before.
I coded the back end for this blog in 2008 and made a complete move to the new software from b2evolution back then, so the code is slightly long in the tooth. But I cannot understand how such a widely used, popular web development language like PHP can be so unstable from version to version, made worse by the fact that some language features are dependent on the configuration settings in
php.ini. There ought to be long-term API stability in a language like PHP. I hate having to update my code for every major (or even minor) revision of PHP. Thank god for web hosts who recognize this and give uers the option of earlier versions.