3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors', 'On'); if (!empty($output[1][0])) { echo 'test'; } else { echo 0; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ThmDr
function name:  (null)
number of ops:  15
compiled vars:  !0 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 'On'
          6        DO_ICALL                                                 
    7     7        FETCH_DIM_IS                                     ~3      !0, 1
          8        ISSET_ISEMPTY_DIM_OBJ                         1  ~4      ~3, 0
          9        BOOL_NOT                                         ~5      ~4
         10      > JMPZ                                                     ~5, ->13
    9    11    >   ECHO                                                     'test'
         12      > JMP                                                      ->14
   13    13    >   ECHO                                                     0
   14    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.83 ms | 1394 KiB | 17 Q