3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; $y = '1'; if($i===1){ echo 'i is great<br />'; } if($y===1){ echo 'y is great<br />'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 5
filename:       /in/jOugK
function name:  (null)
number of ops:  9
compiled vars:  !0 = $i, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        ASSIGN                                                   !1, '1'
    6     2        IS_IDENTICAL                                             !0, 1
          3      > JMPZ                                                     ~4, ->5
    7     4    >   ECHO                                                     'i+is+great%3Cbr+%2F%3E'
   10     5    >   IS_IDENTICAL                                             !1, 1
          6      > JMPZ                                                     ~5, ->8
   11     7    >   ECHO                                                     'y+is+great%3Cbr+%2F%3E'
   12     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.86 ms | 1393 KiB | 13 Q