Bug #13302: diffrent behavior of array_diff in php4.0.4pl1 and php4.0.5
| From: | bleek at jobpilot dot de | Date: | Fri, 14 Sep 2001 13:41:33 +0000 |
| Subject: | Bug #13302: diffrent behavior of array_diff in php4.0.4pl1 and php4.0.5 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65930@lists.php.net to get a copy of this message | ||
From: bleek@jobpilot.de
Operating system: linux
PHP version: 4.0.5
PHP Bug Type: Arrays related
Bug description: diffrent behavior of array_diff in php4.0.4pl1 and php4.0.5
<?php
$a=array_diff(array("1"),array(1));
var_dump($a);
?>
X-Powered-By: PHP/4.0.4pl1
Content-type: text/html
array(1) {
[0]=>
string(1) "1"
}
X-Powered-By: PHP/4.0.5
Content-type: text/html
array(0) {
}
--
Edit bug report at: http://bugs.php.net/?id=13302&edit=1