From: [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]