3v4l.org

run code in 300+ PHP versions simultaneously
<?php class xx { public static function xxxx() { $xx = new static(); $xx->zz(); } protected function zz() { echo 'zz'; }}xx::xxxx();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K6PUv
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_STATIC_METHOD_CALL                                  'xx', 'xxxx'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class xx:
Function xxxx:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K6PUv
function name:  xxxx
number of ops:  6
compiled vars:  !0 = $xx
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                          static              $1      
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    7     3        INIT_METHOD_CALL                                         !0, 'zz'
          4        DO_FCALL                                      0          
    8     5      > RETURN                                                   null

End of function xxxx

Function zz:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K6PUv
function name:  zz
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ECHO                                                     'zz'
   12     1      > RETURN                                                   null

End of function zz

End of class xx.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.08 ms | 1394 KiB | 13 Q