Re: [PHP] echo, print and is_callable()/function_exists()

2006-04-07 Thread Hans Juergen von Lengerke
Just wrap it, like Example 1 of the manual shows function my_echo($array, $key) { echo $array[$key]; } array_walk_recursive($array, 'my_echo'); > Date: Fri, 7 Apr 2006 15:42:40 +0100 > From: Chris Boget <[EMAIL PROTECTED]> > To: php-general@lists.php.net > Su

[PHP] echo, print and is_callable()/function_exists()

2006-04-07 Thread Chris Boget
Because both echo and print are language constructs and not actual functions, you can't seem to use either is_callable() or function_exists() on either to determine if they are valid 'function' calls. Is there any other way to determine to check to see if I can execute either or? I'm writing a ve