From: [EMAIL PROTECTED]
Operating system: winxp
PHP version: 4.2.0
PHP Bug Type: Reproducible crash
Bug description: function's optional parameter
when function defined in a maner
<?
function test ($param = "$"){
echo $param;
}
test();
?>
u get
Parse error: parse error in D:\InetPub\test.php on line 2
when
<?
function test ($param = "a"){
echo $param;
}
test();
?>
Everything works as planed
a
--
Edit bug report at http://bugs.php.net/?id=16795&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16795&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16795&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16795&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16795&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16795&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16795&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16795&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16795&r=submittedtwice