ID:               16795
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: winxp
 PHP Version:      4.2.0
 New Comment:

hint: try function test ($param = '$'){


Previous Comments:
------------------------------------------------------------------------

[2002-04-24 10:31:07] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

------------------------------------------------------------------------

[2002-04-24 10:23:29] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=16795&edit=1

Reply via email to