3v4l.org

run code in 300+ PHP versions simultaneously
<?php class nest { function f($v, $prefix) { return $prefix . $v; } } echo nest::f('global', 'f is ');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RpT5t
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_STATIC_METHOD_CALL                                  'nest', 'f'
          1        SEND_VAL                                                 'global'
          2        SEND_VAL                                                 'f+is+'
          3        DO_FCALL                                      0  $0      
          4        ECHO                                                     $0
          5      > RETURN                                                   1

Class nest:
Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RpT5t
function name:  f
number of ops:  5
compiled vars:  !0 = $v, !1 = $prefix
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    5     2        CONCAT                                           ~2      !1, !0
          3      > RETURN                                                   ~2
    6     4*     > RETURN                                                   null

End of function f

End of class nest.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.53 ms | 1393 KiB | 13 Q