[PHP-DOC] Re: Another array.xml doc error? From: Jeroen van Wolffelaar (jeroen <email protected>)
Date: 08/12/01

If you tested it, and you're sure, just change it. If you were mistaken,
you'll notice automatically :-)

Greetz,
Jeroen
----- Original Message -----
From: "Marco Cucinato" <marco <email protected>>
Newsgroups: php.doc
To: <phpdoc <email protected>>
Sent: Sunday, August 12, 2001 2:06 PM
Subject: Another array.xml doc error?

> 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 :
> file://Array
> file://(
> // [0] => 3
> // [1] => 3
> // [2] => 4
> // [3] => 4
> file://)
>
> but my PHP 4.0.4pl1 says instead
>
> file://Array
> file://(
> // [0] => 4
> // [1] => "3"
> // [2] => 3
> // [3] => "4"
> file://)
>
> can somebody confirm this?
> --
> Marco Cucinato