A typical use for this exception, is in conjunction with the is_callable() function.
La clase BadFunctionCallException
(PHP 5 >= 5.1.0)
Introducción
Lanza una excepción si la llamada de retorno hace referencia a una función no definida o faltan algunos de los argumentos.
Sinopsis de la Clase
BadFunctionCallException
extends
LogicException
{
/* Métodos heredados */
}
tom at tomwardrop dot com ¶
3 years ago
Dawid Krysiak ¶
2 years ago
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.
