Re: cvs: phpweb /version4 incompatibilities.php

From: Date: Sun, 19 Nov 2000 09:00:52 +0000
Subject: Re: cvs: phpweb /version4 incompatibilities.php
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-2885@lists.php.net to get a copy of this message
> joey Sat Nov 18 22:49:13 2000 EDT > > Modified files: > /phpweb/version4 incompatibilities.php > Log: > Document array subscripting w/o quotes. > > > Index: phpweb/version4/incompatibilities.php > diff -u phpweb/version4/incompatibilities.php:1.5 phpweb/version4/incompatibilities.php:1.6 > --- phpweb/version4/incompatibilities.php:1.5 Wed Jul 12 23:20:14 2000 > +++ phpweb/version4/incompatibilities.php Sat Nov 18 22:49:12 2000 > @@ -23,6 +23,7 @@ > <li>The string "0" is now considered empty. This is known to have an effect > on phpMyAdmin.</li> > <li>In PHP4, multiple calls to setcookie() are performed in the order called, whereas > in PHP3 they were performed in reverse order.</li> > <li>unset() now breaks the association between a locally scoped variable and one that > is globally scoped if the reference is made using the "global" keyword.</li> > + <li>Associative array subscripts must be quoted. If you fail to quote them, they will > be interpreted as constants. This can cause unpredictable results when using keywords such as > "NULL" as an unquoted array subscript.</li> > </ul> I'd change 'must' to 'should' here.

« previous php.mirrors (#2885) next »