|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-24 10:23 UTC] emailleonid at start dot com dot au
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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 04:00:01 2025 UTC |
hint: try function test ($param = '$'){