On 08 August 2004 14:20, Josh Acecool M wrote:

> Try adding
> if (!function_exists("function_name")) {
>     function function_name ($blah) {
>         // Function Code
>     }
> }
> for each function.

As I understand it, that will *not* work in PHP 5 as it still parses the entire file, 
barfing on the duplicate function definition, before even attempting to evaluate the 
if() at the top of the file.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to