3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num = 10.0 + 2.88 + 2.88 + 2.88 + 9.0; if ($num == "27.64") { echo '27.64 is ' . $num; } else { echo '27.64 is not ' . $num; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
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: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZnZVN
function name:  (null)
number of ops:  9
compiled vars:  !0 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 27.64
    5     1        IS_EQUAL                                                 !0, '27.64'
          2      > JMPZ                                                     ~2, ->6
    6     3    >   CONCAT                                           ~3      '27.64+is+', !0
          4        ECHO                                                     ~3
          5      > JMP                                                      ->8
    9     6    >   CONCAT                                           ~4      '27.64+is+not+', !0
          7        ECHO                                                     ~4
   10     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.06 ms | 1392 KiB | 13 Q