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_language_scanner.l | |
parent | 4a51ea4b81f2e3bc812ebd2b7ef9e6b4b295f1bf (diff) | |
download | php-git-550980cfe58f6c2c935079f10eaabc5c6c271cea.tar.gz |
Callable typehint following the rules of is_callable($arg, false);
Diffstat (limited to 'Zend/zend_language_scanner.l')
-rw-r--r-- | Zend/zend_language_scanner.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l index a5c7fd1833..0e3583472f 100644 --- a/Zend/zend_language_scanner.l +++ b/Zend/zend_language_scanner.l @@ -1313,6 +1313,10 @@ NEWLINE ("\r"|"\n"|"\r\n") return T_ARRAY; } +<ST_IN_SCRIPTING>"callable" { + return T_CALLABLE; +} + <ST_IN_SCRIPTING>"++" { return T_INC; } |