Re: array_unique example
| From: | Gyozo Papp | Date: | Wed, 09 Jan 2002 12:27:38 +0000 |
| Subject: | Re: array_unique example | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969340992@lists.php.net to get a copy of this message | ||
It was me who changed it.
What box do you use?
I get this results PHP4.0.6 under Win PWS and 4.1.1, too.
Note that I report it as a bug: http://bugs.php.net/?id=14805
"Marco Cucinato" <marco@cucinato.com> wrote in message news:3C3C2C26.6139.78EB06@localhost...
| at line 1989, the example for PHP 4.0.6 reads
| array(2) {
| [3]=>
| int(4)
| [4]=>
| int(3)
| }
|
| but both my PHP 4.0.6 and 4.1.1 say instead
| array(2) {
| [0]=>
| int(4)
| [2]=>
| string(1) "3"
| }
|
In this case one should change the note paragraph to a warning,
maybe.