3v4l.org

run code in 300+ PHP versions simultaneously
<?php function xx() { echo array_shift( $params = func_get_args() ); } xx( 'xxx', 'ccc' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0eZRP
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'xx'
          1        SEND_VAL                                                 'xxx'
          2        SEND_VAL                                                 'ccc'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function xx:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0eZRP
function name:  xx
number of ops:  7
compiled vars:  !0 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_shift'
          1        FUNC_GET_ARGS                                    ~1      
          2        ASSIGN                                           ~2      !0, ~1
          3        SEND_VAL_EX                                              ~2
          4        DO_ICALL                                         $3      
          5        ECHO                                                     $3
    4     6      > RETURN                                                   null

End of function xx

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.04 ms | 1388 KiB | 16 Q