Reading arrays with $array[] is no longer supported
That is, you cannot traverse an array by having a loop that does $data = $array[]. Use current() and next() instead.
Also, $array1[] = $array2 does not append the values of $array2 to $array1, but appends $array2 as the last entry of $array1. See also multidimensional array support.
<?php echo "1" + "1"; ?>In PHP 2.0 this would echo 11, in PHP 3.0 it would echo 2. Instead use:
<?php echo "1"."1"; ?><?php $a = 1;
$b = 1;
echo $a + $b; ?>This would echo 2 in both PHP 2.0 and 3.0.
<?php $a = 1;
$b = 1;
echo $a.$b; ?>This will echo 11 in PHP 3.0.
| This HTML Help has been published using the chm2web software. |