cvs: phpweb /version4 incompatibilities.php
| From: | Joey Smith | Date: | Sun, 19 Nov 2000 06:49:13 +0000 |
| Subject: | cvs: phpweb /version4 incompatibilities.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-2883@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>
<p>If any more incompatibilities are discovered, we will add them here.</p>