3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (defined('HHVM_VERSION')) { exit('*HHVM skipped*'); } // The following line will emit some error, because reset()'s argument cannot be passed by value var_dump(reset(array_flip(array('foo' => 'bar'))));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6UVun
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DEFINED                                                  'HHVM_VERSION'
          1      > JMPZ                                                     ~0, ->3
    4     2    > > EXIT                                                     '%2AHHVM+skipped%2A'
    8     3    >   INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'reset'
          5        INIT_FCALL                                               'array_flip'
          6        SEND_VAL                                                 <array>
          7        DO_ICALL                                         $1      
          8        SEND_VAR_NO_REF                               0          $1
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.95 ms | 1394 KiB | 19 Q