3v4l.org

run code in 300+ PHP versions simultaneously
<?php $error = ''; $day = 2; if($day == 2){ $error = 'DIA NÃO CONFERE!'; echo $error; } else { echo "Hoje é dia $day"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9k5cL
function name:  (null)
number of ops:  11
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, ->7
    5     4    >   ASSIGN                                                   !0, 'DIA+N%C3%83O+CONFERE%21'
    6     5        ECHO                                                     !0
          6      > JMP                                                      ->10
    8     7    >   NOP                                                      
          8        FAST_CONCAT                                      ~6      'Hoje+%C3%A9+dia+', !1
          9        ECHO                                                     ~6
    9    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.16 ms | 1393 KiB | 13 Q