From 550980cfe58f6c2c935079f10eaabc5c6c271cea Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Tue, 16 Aug 2011 10:44:47 +0000 Subject: Callable typehint following the rules of is_callable($arg, false); --- Zend/zend_language_scanner.l | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Zend/zend_language_scanner.l') 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; } +"callable" { + return T_CALLABLE; +} + "++" { return T_INC; } -- cgit v1.2.1