Re: ZE2 / PHP 5 BC breaking suggestion

From: Date: Mon, 10 Jun 2002 21:00:59 +0000
Subject: Re: ZE2 / PHP 5 BC breaking suggestion
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-5517@lists.php.net to get a copy of this message
Hmm, I see. I suppose (?<=\[)\w+(?=\]) as an exeption to accomodate those errors would be too hard on the parser?
Adding such an exception to the parser is definitely a no-no.
Also: $a = array('cow' => 'moo', 'pig' => 'oink'); $b = pig; echo $a[$b]; now echo "oink" but with the change would then echo "moo" I agree that it's messed up and just plain wrong, but it would break a lot of stuff. S

« previous php.qa (#5517) next »