summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-04-29 10:54:59 +0400
committerDmitry Stogov <dmitry@zend.com>2014-04-29 10:54:59 +0400
commit8a8df2ce68918d1abbc72236cf171940b00198eb (patch)
tree964175b5d450214b5dc661f85e6b2a40bae8a1c8
parent7c93a7e078f7ea300c4a141ab2226eb63e97497a (diff)
downloadphp-git-8a8df2ce68918d1abbc72236cf171940b00198eb.tar.gz
Changed order of types
-rw-r--r--Zend/zend_types.h36
1 files changed, 20 insertions, 16 deletions
diff --git a/Zend/zend_types.h b/Zend/zend_types.h
index 2afd54f0ec..423672d52d 100644
--- a/Zend/zend_types.h
+++ b/Zend/zend_types.h
@@ -201,24 +201,28 @@ struct _zend_ast_ref {
zend_ast *ast;
};
-/* data types */
+/* regular data types */
#define IS_UNDEF 0
#define IS_NULL 1
-#define IS_INDIRECT 2
-#define IS_BOOL 3
-#define IS_LONG 4
-#define IS_DOUBLE 5
-#define IS_STRING 6
-#define IS_ARRAY 7
-#define IS_OBJECT 8
-#define IS_RESOURCE 9
-#define IS_REFERENCE 10
-
-#define IS_CONSTANT 11
-#define IS_CONSTANT_ARRAY 12
-#define IS_CONSTANT_AST 13
-#define IS_CALLABLE 14
-
+#define IS_BOOL 2
+#define IS_LONG 3
+#define IS_DOUBLE 4
+#define IS_STRING 5
+#define IS_ARRAY 6
+#define IS_OBJECT 7
+#define IS_RESOURCE 8
+#define IS_REFERENCE 9
+
+/* constant expressions */
+#define IS_CONSTANT 10
+#define IS_CONSTANT_ARRAY 11
+#define IS_CONSTANT_AST 12
+
+/* type hinting */
+#define IS_CALLABLE 13
+
+/* internal types */
+#define IS_INDIRECT 14
#define IS_STR_OFFSET 15
#define IS_PTR 16