Another array.xml doc error?
| From: | Marco Cucinato | Date: | Sun, 12 Aug 2001 12:06:28 +0000 |
| Subject: | Another array.xml doc error? | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969337015@lists.php.net to get a copy of this message | ||
I've tried this code (array.xml, lines 1415-1425, english)
$input = array (4,"3",3,"4",4,4);
$result = array_unique ($input);
print_r($result);
// this will output :
//Array
//(
// [0] => 3
// [1] => 3
// [2] => 4
// [3] => 4
//)
but my PHP 4.0.4pl1 says instead
//Array
//(
// [0] => 4
// [1] => "3"
// [2] => 3
// [3] => "4"
//)
can somebody confirm this?
--
Marco Cucinato