3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('precision', "16"); $x = 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1; var_dump( ini_get('precision'), $x, (string)$x );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H7MGC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x
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                                                 
    5     4        ASSIGN                                                   !0, 1
    7     5        INIT_FCALL                                               'var_dump'
    8     6        INIT_FCALL                                               'ini_get'
          7        SEND_VAL                                                 'precision'
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
    9    10        SEND_VAR                                                 !0
   10    11        CAST                                          6  ~4      !0
         12        SEND_VAL                                                 ~4
    7    13        DO_ICALL                                                 
   11    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.62 ms | 999 KiB | 16 Q