3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.79 ms | 1398 KiB | 17 Q