downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

BadMethodCallException> <Wyjątki
[edit] Last updated: Fri, 23 Mar 2012

view this page in

The BadFunctionCallException class

(PHP 5 >= 5.1.0)

Wstęp

Exception thrown if a callback refers to an undefined function or if some arguments are missing.

Krótki opis klasy

BadFunctionCallException extends LogicException {
/* Metody dziedziczone */
final public string Exception::getMessage ( void )
final public Exception Exception::getPrevious ( void )
final public mixed Exception::getCode ( void )
final public string Exception::getFile ( void )
final public int Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private void Exception::__clone ( void )
}


add a note add a note User Contributed Notes BadFunctionCallException
Dawid Krysiak 02-Feb-2011 07:35
Direct known subclasses:
BadMethodCallException

So BadMethodCallException can be used in case the subject function is or should be a part of class / object - it's use defines the case more precisely.
tom at tomwardrop dot com 15-Nov-2009 12:42
A typical use for this exception, is in conjunction with the is_callable() function.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites