is_callable(PHP 4 >= 4.0.6, PHP 5) is_callable — Verify that the contents of a variable can be called as a function ОписаниеVerify that the contents of a variable can be called as a function. This can check that a simple variable contains the name of a valid function, or that an array contains a properly encoded object and function name. Список параметров
Возвращаемые значенияReturns TRUE if var is callable, FALSE otherwise. Примеры
Пример #1 is_callable() example
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |