1Dynamic class constant fetch 2----- 3<?php 4Foo::{bar()}; 5$foo::{bar()}; 6----- 7array( 8 0: Stmt_Expression( 9 expr: Expr_ClassConstFetch( 10 class: Name( 11 name: Foo 12 ) 13 name: Expr_FuncCall( 14 name: Name( 15 name: bar 16 ) 17 args: array( 18 ) 19 ) 20 ) 21 ) 22 1: Stmt_Expression( 23 expr: Expr_ClassConstFetch( 24 class: Expr_Variable( 25 name: foo 26 ) 27 name: Expr_FuncCall( 28 name: Name( 29 name: bar 30 ) 31 args: array( 32 ) 33 ) 34 ) 35 ) 36) 37