3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.66 ms | 1394 KiB | 15 Q