3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $a = array('foo' => array('foo2'=>'hello')); echo reset(reset($a));
Finding entry points
Branch analysis from position: 0
Jump found. 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                               7          $3
         9        DO_ICALL                                         $4      
        10        ECHO                                                     $4
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0