3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.2 ms | 1394 KiB | 17 Q