Array arithmetic is COOL!
| From: | Faisal Nasim | Date: | Wed, 23 Feb 2000 04:57:33 +0000 |
| Subject: | Array arithmetic is COOL! | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10686@lists.php.net to get a copy of this message | ||
Hi,
I don't think this is stated in the manual!
<?
$x[1] = "faisal";
$y[100] = "nasim";
$z = $x + $y;
print $z[1]; // faisal
print "\n";
print $z[100]; // nasim
?>
Is this *supported* or simply works as a side effect to some
other feature? (just want to know if its going to remain that way)
Thank you!
Faisal