3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.99 ms | 1394 KiB | 17 Q