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 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sh9o2
function name:  (null)
number of ops:  10
compiled vars:  !0 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 27.64
    5     1        CAST                                          6  ~2      !0
          2        IS_EQUAL                                                 ~2, '27.64'
          3      > JMPZ                                                     ~3, ->7
    6     4    >   CONCAT                                           ~4      '27.64+is+', !0
          5        ECHO                                                     ~4
          6      > JMP                                                      ->9
    9     7    >   CONCAT                                           ~5      '27.64+is+not+', !0
          8        ECHO                                                     ~5
   10     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.54 ms | 1392 KiB | 13 Q