From: Dmitry Stogov Date: Tue, 29 Apr 2014 06:54:59 +0000 (+0400) Subject: Changed order of types X-Git-Tag: POST_PHPNG_MERGE~412^2~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a8df2ce68918d1abbc72236cf171940b00198eb;p=php Changed order of types --- 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