3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
150.31 ms | 2768 KiB | 9 Q