new/fast API breaks passing array elements by value!
| From: | Thies C. Arntzen | Date: | Mon, 27 Sep 1999 08:56:53 +0000 |
| Subject: | new/fast API breaks passing array elements by value! | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4947@lists.php.net to get a copy of this message | ||
<?
$arr = array("lower");
echo $arr[0]."\n";
echo strtoupper($arr[0])."\n"; // this line *CHANGES* the array!
echo $arr[0]."\n";
?>
shows:
./php ../crash/ref.php
Content-Type: text/html
lower
LOWER
LOWER
that needs to be resolved bewfore b3, i think!
tc