3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
142.74 ms | 2357 KiB | 12 Q