forward compatibility "public" in 4.4

From: Date: Wed, 15 Jun 2005 14:12:24 +0000
Subject: forward compatibility "public" in 4.4
Groups: php.internals 
Request: Send a blank email to internals+get-16685@lists.php.net to get a copy of this message
Hi, A while ago someone on IRC suggested that it might be a good idea to add "public" to PHP 4.x for forward compatibility. I brought it up again on IRC yesterday and several prominent members of the php core community said it would be a good idea to add to the 4.4 branch. The patch seems to be a 3 liner in the zend_language_scanner.l file. Atleast that worked for me. Maybe there is a better/cleaner solution, but either way its not going to have drastic technical implications. Its mainly a political decision to make. I think its a good idea to have, to make it somewhat possible to prepare for the PHP5 E_STRICT world, while still developing PHP4 compatible code. I could for example see this help increase the PHP5 adoption inside PEAR, since this would allow us to make some packages E_STRICT compatible without throwing out PHP4 compatibility (inside PEAR we consider increased major PHP versions to be a BC break, but not minor versions). regards, Lukas

« previous php.internals (#16685) next »