3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { var $test; function func(){} } test::func(); $op = new test; $op->func();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D8Mrr
function name:  (null)
number of ops:  8
compiled vars:  !0 = $op
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_STATIC_METHOD_CALL                                  'test', 'func'
          1        DO_FCALL                                      0          
    8     2        NEW                                              $2      'test'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
    9     5        INIT_METHOD_CALL                                         !0, 'func'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

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

End of function func

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.94 ms | 1393 KiB | 13 Q