Override already-declared function?

From: Date: Wed, 31 Jan 2001 03:49:53 +0000
Subject: Override already-declared function?
Groups: php.general 
Request: Send a blank email to php-general+get-37400@lists.php.net to get a copy of this message
Hi folks, Is there a way to override a declared function? For example, if my site is running under a specific theme, I want function X to work in a slightly different way to normal. The theme will include a specific functions.<<themename>>.php file, which includes various function definitions and other cool theme-related stuff. I'd like to be able to redefine functions in these files. At the moment if I try it I just get the "already declared function" error. Any thoughts? Jason -- Jason Murray jasonm@melbourneit.com.au Web Design Team, Melbourne IT Fetch the comfy chair!

« previous php.general (#37400) next »