File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 2424const  AST_NAME_LIST  = 141 ;
2525const  AST_TRAIT_ADAPTATIONS  = 142 ;
2626const  AST_USE  = 143 ;
27+ const  AST_TYPE_UNION  = 144 ;
2728const  AST_NAME  = 2048 ;
2829const  AST_CLOSURE_VAR  = 2049 ;
2930const  AST_NULLABLE_TYPE  = 2050 ;
127128const  PARAM_REF  = 1 ;
128129const  PARAM_VARIADIC  = 2 ;
129130const  TYPE_NULL  = 1 ;
130- const  TYPE_BOOL  = 16 ;
131+ const  TYPE_BOOL  = 18 ;
131132const  TYPE_LONG  = 4 ;
132133const  TYPE_DOUBLE  = 5 ;
133134const  TYPE_STRING  = 6 ;
134135const  TYPE_ARRAY  = 7 ;
135136const  TYPE_OBJECT  = 8 ;
136- const  TYPE_CALLABLE  = 17 ;
137- const  TYPE_VOID  = 19 ;
138- const  TYPE_ITERABLE  = 18 ;
137+ const  TYPE_CALLABLE  = 12 ;
138+ const  TYPE_VOID  = 14 ;
139+ const  TYPE_ITERABLE  = 13 ;
139140const  UNARY_BOOL_NOT  = 14 ;
140141const  UNARY_BITWISE_NOT  = 13 ;
141142const  UNARY_SILENCE  = 260 ;
Original file line number Diff line number Diff line change 12121313  <active >yes</active >
1414 </lead >
15-  <date >2019-07-27</date >
15+  <developer >
16+   <name >Tyson Andre</name >
17+   <user >tandre</user >
18+ 19+   <active >yes</active >
20+  </developer >
21+  <date >2019-11-10</date >
1622 <version >
17-   <release >1.0.4dev </release >
18-   <api >1.0.3 </api >
23+   <release >1.0.4 </release >
24+   <api >1.0.4 </api >
1925 </version >
2026 <stability >
2127  <release >stable</release >
2430 <license  uri =" https://github.com/nikic/php-ast/blob/master/LICENSE"  >BSD-3-Clause</license >
2531 <notes >
2632- Add AST_TYPE_UNION to support PHP 8.0 Union Types.
27- - TBD.
2833 </notes >
2934 <contents >
3035  <dir  name =" /"  >
8691      <file  name =" php74_ordinary_class.phpt"   role =" test"   />
8792      <file  name =" php74_parenthesized_conditional.phpt"   role =" test"   />
8893      <file  name =" php74_type_hints.phpt"   role =" test"   />
94+       <file  name =" php80_union_types.phpt"   role =" test"   />
95+       <file  name =" php80_union_types_nullable.phpt"   role =" test"   />
8996      <file  name =" prop_doc_comments.phpt"   role =" test"   />
9097      <file  name =" short_arrow_function.phpt"   role =" test"   />
9198      <file  name =" short_arrow_function_return.phpt"   role =" test"   />
Original file line number Diff line number Diff line change 77extern  zend_module_entry  ast_module_entry ;
88#define  phpext_ast_ptr  &ast_module_entry
99
10- #define  PHP_AST_VERSION  "1.0.4dev "
10+ #define  PHP_AST_VERSION  "1.0.4 "
1111
1212#ifdef  PHP_WIN32 
1313#	define  PHP_AST_API  __declspec(dllexport)
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments