3v4l.org

run code in 300+ PHP versions simultaneously
<?php $error = ''; $day = 2; if($day == 2){ $error = 'DIA NÃO CONFERE!'; echo $error[44]; } else { echo "Hoje é dia $day"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/saYqK
function name:  (null)
number of ops:  12
compiled vars:  !0 = $error, !1 = $day
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        ASSIGN                                                   !1, 2
    4     2        IS_EQUAL                                                 !1, 2
          3      > JMPZ                                                     ~4, ->8
    5     4    >   ASSIGN                                                   !0, 'DIA+N%C3%83O+CONFERE%21'
    6     5        FETCH_DIM_R                                      ~6      !0, 44
          6        ECHO                                                     ~6
          7      > JMP                                                      ->11
    8     8    >   NOP                                                      
          9        FAST_CONCAT                                      ~7      'Hoje+%C3%A9+dia+', !1
         10        ECHO                                                     ~7
    9    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.26 ms | 1393 KiB | 13 Q