[PHP-DOC] Another array.xml doc error? From: Marco Cucinato (marco <email protected>)
Date: 08/12/01

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