note 46280 deleted from functions by nlopess
| From: | nlopess@php.net | Date: | Sat, 27 Nov 2004 23:31:16 +0000 |
| Subject: | note 46280 deleted from functions by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81107@lists.php.net to get a copy of this message | ||
Note Submitter: kai at froghh dot de
----
if you want to redeclare a PHP-function
using i.e.
function pg_query($args){
...
}
you'll get an error (of course).
To redeclare existing functions the following works:
define(pg_query, pg_query_user);
function pg_query_user($args){
print "pg_query was used";
}
pg_query("foo");
output: pg_query was used
----
Reason: not existent file