Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
updated ast debug list
  • Loading branch information
intuibase committed Jan 29, 2024
commit a71ac4c0b7c2a1cede23ac0c3fb7e2b973a0c0a8
7 changes: 6 additions & 1 deletion agent/native/ext/AST_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ String zendAstKindToString( zend_ast_kind kind )
return (#enumMember) \
/**/

// Up to date with PHP v8.2.3
// Up to date with PHP v8.3.2
switch ( kind )
{
/**
Expand Down Expand Up @@ -224,6 +224,11 @@ String zendAstKindToString( zend_ast_kind kind )
ELASTIC_APM_GEN_ENUM_TO_STRING_SWITCH_CASE( ZEND_AST_TYPE_INTERSECTION );
#endif


#if PHP_VERSION_ID >= ELASTIC_APM_BUILD_PHP_VERSION_ID( 8, 3, 0 ) /* if PHP version from 8.3.0 */
ELASTIC_APM_GEN_ENUM_TO_STRING_SWITCH_CASE( ZEND_AST_MODIFIER_LIST );
#endif

default:
return NULL;
}
Expand Down