3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.68 ms | 1385 KiB | 15 Q