3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(1); ech (empty($test[2])) ? 'empty' : 'not';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uuveD
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL_BY_NAME                                       'ech'
          2        ISSET_ISEMPTY_DIM_OBJ                         1  ~2      !0, 2
          3        SEND_VAL_EX                                              ~2
          4        DO_FCALL                                      0  $3      
          5      > JMPZ                                                     $3, ->8
          6    >   QM_ASSIGN                                        ~4      'empty'
          7      > JMP                                                      ->9
          8    >   QM_ASSIGN                                        ~4      'not'
          9    >   FREE                                                     ~4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.31 ms | 1392 KiB | 13 Q