From:             [EMAIL PROTECTED]
Operating system: win 98 box
PHP version:      4.0.4pl1
PHP Bug Type:     Variables related
Bug description:  function calling causes error with varable

I am not sure if this is a bug or php is just not built to handle something
like this, but when i call a function like this:

function
EchoContent($BarName="Error",$body="error.inc",$topheight="100",$width=$menuwidth){

it causes an error! you cant assign a variable within the function call.

i would have to re-do it like this for it not to cause an error. 

function
EchoContent($BarName="Error",$body="error.inc",$topheight="100",$width="100"){

I am sure you can see the benefits of using the top version.

     Knight
-- 
Edit bug report at: http://bugs.php.net/?id=13353&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to