3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = (float)(string) 0.03; $b = (float)(string) (1 - 0.97); var_dump($a, $b, $a === $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CggUV
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 >   CAST                                          6  ~2      0.03
          1        CAST                                          5  ~3      ~2
          2        ASSIGN                                                   !0, ~3
    3     3        CAST                                          6  ~5      0.03
          4        CAST                                          5  ~6      ~5
          5        ASSIGN                                                   !1, ~6
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        SEND_VAR                                                 !1
          9        IS_IDENTICAL                                     ~8      !0, !1
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.62 ms | 1394 KiB | 15 Q