3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("precision", "16"); $f = 1234567890123456789.0; $s = (string)$f; var_dump($f, $s, $f == $s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ahuH7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $f, !1 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'precision'
          2        SEND_VAL                                                 '16'
          3        DO_ICALL                                                 
    4     4        ASSIGN                                                   !0, 1.23457e+18
    5     5        CAST                                          6  ~4      !0
          6        ASSIGN                                                   !1, ~4
    7     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        IS_EQUAL                                         ~6      !0, !1
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.49 ms | 1394 KiB | 17 Q