note 49446 rejected from language.types.array by cece
| From: | cece@php.net | Date: | Fri, 28 Jan 2005 09:46:54 +0000 |
| Subject: | note 49446 rejected from language.types.array by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84116@lists.php.net to get a copy of this message | ||
Note Submitter: Sir_Fred
----
Hi,
Try this code:
<?php
error_reporting(E_ALL);
$ry = "kukielka";
$ry["rura"] = "fuzerf";
$ry["gnajol"] = "manokalk";
$ry["duj"] = "hijk";
echo "<pre>";
var_dump($ry);
echo "</pre>";
?>
The result is only:
string(8) "hukielka"
But it is wrong.
No error from PHP, no even warning, but result is wrong. Is this a bug in PHP?
Regards to all
Sir_Fred