3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'filters'=> array('where'=>array('yr'=>1994))); echo array_shift($keys = array_keys($array['filters']['where']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QNI7P
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array, !1 = $keys
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'array_shift'
          2        INIT_FCALL                                               'array_keys'
          3        FETCH_DIM_R                                      ~3      !0, 'filters'
          4        FETCH_DIM_R                                      ~4      ~3, 'where'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        ASSIGN                                           ~6      !1, $5
          8        SEND_VAL_EX                                              ~6
          9        DO_ICALL                                         $7      
         10        ECHO                                                     $7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.01 ms | 1394 KiB | 17 Q