How to call Calling Non-Existing function

From: Date: Mon, 21 Jan 2002 11:17:01 +0000
Subject: How to call Calling Non-Existing function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81344@lists.php.net to get a copy of this message
Hi PHP Experts, Is there any way to call a non-existent or undeclared function and redirect the call to someother function by knowing its non-existense. Is there any try() and catch() idea or any configurations, or may be either error handler like thing. for example if I call a function 'Draw_Table()' without declaring like this Draw_Table(); it should know the non-existense of Draw_Table() and redirect to 'default_func' function default_func() { .... } Note: ---- Perl programmers please recollect 'AUTOLOAD' Method of a package. C++,Java programmers please recollect exception handling. Thanks in Advance. S.Murali Krishna smk_bk@yahoo.com ===================================== We grow slow trying to be great - E. Stanley Jones -------------------------------------

« previous php.general (#81344) next »