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
[EMAIL PROTECTED]
=====================================
We grow slow trying to be great
- E. Stanley Jones
-------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]