3v4l.org

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

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

End of function loh

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.91 ms | 1393 KiB | 13 Q