diff options
| author | Hannes Magnusson <bjori@php.net> | 2011-08-16 10:44:47 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2011-08-16 10:44:47 +0000 |
| commit | 550980cfe58f6c2c935079f10eaabc5c6c271cea (patch) | |
| tree | f4b7b1683b33c9102ddad9853119bfa3b788106a /Zend/zend_API.c | |
| parent | 4a51ea4b81f2e3bc812ebd2b7ef9e6b4b295f1bf (diff) | |
| download | php-git-550980cfe58f6c2c935079f10eaabc5c6c271cea.tar.gz | |
Callable typehint following the rules of is_callable($arg, false);
Diffstat (limited to 'Zend/zend_API.c')
| -rw-r--r-- | Zend/zend_API.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 96e5b13a6b..5401483db7 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -217,6 +217,8 @@ ZEND_API char *zend_get_type_by_const(int type) /* {{{ */ return "resource"; case IS_NULL: return "null"; + case IS_CALLABLE: + return "callable"; case IS_ARRAY: return "array"; default: |
