summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2010-05-20 19:18:35 +0000
committerDerick Rethans <derick@php.net>2010-05-20 19:18:35 +0000
commit1bc92476518307a4eacc5d5e81be0f535a14fe4a (patch)
tree57b0cf247f38f2c0bf5a41c29ce3dc90a25156bc /Zend/zend.h
parentf291a1253d1e428f51aacf4ddec297a5de8f518c (diff)
downloadphp-git-1bc92476518307a4eacc5d5e81be0f535a14fe4a.tar.gz
- Added scalar typehinting.
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index c077cb1c53..572b64b043 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -566,6 +566,8 @@ typedef int (*zend_write_func_t)(const char *str, uint str_length);
#define IS_RESOURCE 7
#define IS_CONSTANT 8
#define IS_CONSTANT_ARRAY 9
+/* used for type-hinting only */
+#define IS_CLASS 10
/* Ugly hack to support constants as static array indices */
#define IS_CONSTANT_TYPE_MASK 0x00f