Wednesday, September 14, 2005

PHP 4.4 and 5.0.5 backward compatibility breaks are resulting in bad PR - John Lim (PHP Everywhere):
"I'm sure that there are good reasons for the new memory corruption warnings that appear in PHP 4.4 and 5.0.5. However the PHP developers have done an extremely bad job in explaining why many things that worked in earlier versions of PHP now breaks, or why we are now getting 'Fatal error/Warning: Only variables can be passed by reference...' messages."

(Via Planet PHP.)

Shouldn't PHP developers, etc. be encouraging to the community? With so many options out their (python, perl, ruby) there will be even less reason to choose PHP. First of, the fact that code already written for PHP 4.x has problems running on PHP 5.x. Meaning that people who have web sites running with 4.x code cannot easily migrate to 5.x. System Administrators have to manage servers with the 4.x version, and 5.x. Then, these memory bug issues come up, where migrating 4.3.x version of PHP to 4.4.x versions becomes an issue.

Now I do realize that to improve a language and its engine, things will break. But there should have been a better way of handling the migration. And shouldn't the developers explain their decisions in a coherent manner instead of mouthing of (read the comments on the above article)?