3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rating = 0; $rottenbig = '<img src="http://ycfac197.mc.yu.edu/COM3780/12fa/homework/2/rottenbig.png" alt="Rotten" />'; if ($rating < 60) { echo $rottenbig; echo '33%'; } else { echo '<img src="http://ycfac197.mc.yu.edu/COM3780/12fa/homework/2/freshbig.png" alt="Fresh" />'; } ?>
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 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W7E5R
function name:  (null)
number of ops:  9
compiled vars:  !0 = $rating, !1 = $rottenbig
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, '%3Cimg+src%3D%22http%3A%2F%2Fycfac197.mc.yu.edu%2FCOM3780%2F12fa%2Fhomework%2F2%2Frottenbig.png%22+alt%3D%22Rotten%22+%2F%3E'
    4     2        IS_SMALLER                                               !0, 60
          3      > JMPZ                                                     ~4, ->7
    5     4    >   ECHO                                                     !1
    6     5        ECHO                                                     '33%25'
          6      > JMP                                                      ->8
    9     7    >   ECHO                                                     '%3Cimg+src%3D%22http%3A%2F%2Fycfac197.mc.yu.edu%2FCOM3780%2F12fa%2Fhomework%2F2%2Ffreshbig.png%22+alt%3D%22Fresh%22+%2F%3E'
   11     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.52 ms | 1392 KiB | 13 Q