3v4l.org

run code in 300+ PHP versions simultaneously
<?php $real = 0.60533000; $sum = 0.60533; $real = (float) $real; $sum = (float) $sum; if ($real === $sum) { echo "Works!"; } else { echo "Different!"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uQdAP
function name:  (null)
number of ops:  12
compiled vars:  !0 = $real, !1 = $sum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0.60533
    4     1        ASSIGN                                                   !1, 0.60533
    6     2        CAST                                          5  ~4      !0
          3        ASSIGN                                                   !0, ~4
    7     4        CAST                                          5  ~6      !1
          5        ASSIGN                                                   !1, ~6
    9     6        IS_IDENTICAL                                             !0, !1
          7      > JMPZ                                                     ~8, ->10
   10     8    >   ECHO                                                     'Works%21'
    9     9      > JMP                                                      ->11
   12    10    >   ECHO                                                     'Different%21'
   13    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.76 ms | 1067 KiB | 13 Q