3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $a = array('foo' => array('foo2'=>'hello')); echo reset(reset($a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TiVOh
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, <array>
    7     4        INIT_FCALL                                               'reset'
          5        INIT_FCALL                                               'reset'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR_NO_REF                               0          $3
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.87 ms | 1394 KiB | 17 Q