3v4l.org

run code in 300+ PHP versions simultaneously
<?php class mycl { public $v = 42; function dos() { print_r(compact('v')); } } (new mycl())->dos();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cPkVK
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $0      'mycl'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 'dos'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class mycl:
Function dos:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cPkVK
function name:  dos
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'compact'
          2        SEND_VAL                                                 'v'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    7     6      > RETURN                                                   null

End of function dos

End of class mycl.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.42 ms | 1015 KiB | 15 Q