Re: PHP 4.0 Bug #2246 Updated: for(;;) no longer works right
| From: | Manuel Lemos | Date: | Mon, 06 Sep 1999 18:47:16 +0000 |
| Subject: | Re: PHP 4.0 Bug #2246 Updated: for(;;) no longer works right | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-10634@lists.php.net to get a copy of this message | ||
Hello Bug,
On 06-Sep-99 20:25:43, you wrote:
>ID: 2246
>Updated by: andi
>Reported By: mlemos@acm.org
>Status: Closed
>Bug Type: Scripting Engine problem
>Assigned To:
>Comments:
>unset() is a statement and not an expression. It can't be used as an
>expression in the for expression. I don't think this worked with PHP 3.0
>either.
If I noticed this is because it was working on PHP 3 and not PHP 4. I used
this in many of my sources. In this case it is not a serious PHP 3
compatibility break as we may move the statement out of the for
initialization block.
But I'm afraid that if PHP 4 has many other more serious compatibility
breaks that will delay if not prevent people that have significant ammounts
of code to move to PHP 4.
>Full Bug description available at:
>http://bugs.php.net/version4/?id=2246
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--