3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arguments = ['foo', ['getShared' => false], new stdClass]; array_shift($arguments); // name array_shift($arguments); // options var_export($arguments);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NCRCC
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arguments
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_ARRAY                                           ~1      'foo'
          1        ADD_ARRAY_ELEMENT                                    ~1      <array>
          2        NEW                                                  $2      'stdClass'
          3        DO_FCALL                                          0          
          4        ADD_ARRAY_ELEMENT                                    ~1      $2
          5        ASSIGN                                                       !0, ~1
    5     6        INIT_FCALL                                                   'array_shift'
          7        SEND_REF                                                     !0
          8        DO_ICALL                                                     
    6     9        INIT_FCALL                                                   'array_shift'
         10        SEND_REF                                                     !0
         11        DO_ICALL                                                     
    8    12        INIT_FCALL                                                   'var_export'
         13        SEND_VAR                                                     !0
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.16 ms | 1894 KiB | 15 Q