#23556 [Opn->Csd]: <0 default value become 0
ID: 23556
Updated by: rioter@php.net
Reported By: Xuefer at 21cn dot com
-Status: Open
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: win
PHP Version: 4.3.2RC2
New Comment:
http://bugs.php.net/bug.php?id=23522
it is probably related to this bug as wez said its fixed in the cvs so
try a snapshot from http://snaps.php.net if it however is not
fixed re
open it with the info provided when you submited the bug
Previous Comments:
------------------------------------------------------------------------
[2003-05-09 01:57:45] philip@php.net
In linux I get the expected -1.
------------------------------------------------------------------------
[2003-05-08 23:09:55] Xuefer at 21cn dot com
function a($a = -1) {
var_dump($a);
}
a();
result: int(0)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23556&edit=1
Thread (3 messages)