<?php

 $args = array("a","b","b");
 $keys = array("0","1","2");

 function array_key_remove(&$args,$keys,$replacement=NULL)
 {
  echo "Foo!";
 }

?>


"Lasse Motroen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have received some code and am trying to run it. However, I get the
> following error:
>
> *Parse error*: parse error, unexpected '=', expecting ')'
>
> It happens on this line when &$args=array() is reached:
>
> function array_key_remove(&$args=array(), $keys=array(),$replacement=NULL)
>
> I have php-4.2.2-17 and Apache 2.0.40 installed, and am runnig RedHat 9.
> What's wrong, please help.
>
> Regards,
> not-really-too-familiar-with-PHP

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to