Re: Another array.xml doc error?
| From: | Jeroen van Wolffelaar | Date: | Sun, 12 Aug 2001 16:28:35 +0000 |
| Subject: | Re: Another array.xml doc error? | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969337028@lists.php.net to get a copy of this message | ||
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@cucinato.com>
Newsgroups: php.doc
To: <phpdoc@lists.php.net>
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