Bug #16795 Updated: function's optional parameter

From: Date: Wed, 24 Apr 2002 14:31:07 +0000
Subject: Bug #16795 Updated: function's optional parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5828@lists.php.net to get a copy of this message
ID: 16795 Updated by: derick@php.net Reported By: emailleonid@start.com.au -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: winxp PHP Version: 4.2.0 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-04-24 10:23:29] emailleonid@start.com.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16795&edit=1

« previous php.bugs (#5828) next »