3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = (double) 9999.94; $b = (int) ($a * 100); $c = (double) ($b / 100); var_dump($c === $a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WdNDi
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          5  ~3      9999.94
          1        ASSIGN                                                   !0, ~3
    4     2        MUL                                              ~5      !0, 100
          3        CAST                                          4  ~6      ~5
          4        ASSIGN                                                   !1, ~6
    5     5        DIV                                              ~8      !1, 100
          6        CAST                                          5  ~9      ~8
          7        ASSIGN                                                   !2, ~9
    6     8        INIT_FCALL                                               'var_dump'
          9        IS_IDENTICAL                                     ~11     !2, !0
         10        SEND_VAL                                                 ~11
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.13 ms | 1394 KiB | 15 Q