3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0.17; $b = 1 - 0.83; //0.17 var_dump( (string) $a === (string) $b); $a = 0.17; $b = 1 - 0.83; //0.17 var_dump('' . $a === '' . $b); $a = 0.17; $b = 1 - 0.83; //0.17 var_dump(strval($a) === strval($b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rUrEq
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0.17
    4     1        ASSIGN                                                   !1, 0.17
    5     2        INIT_FCALL                                               'var_dump'
          3        CAST                                          6  ~4      !0
          4        CAST                                          6  ~5      !1
          5        IS_IDENTICAL                                     ~6      ~4, ~5
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                                 
    7     8        ASSIGN                                                   !0, 0.17
    8     9        ASSIGN                                                   !1, 0.17
    9    10        INIT_FCALL                                               'var_dump'
         11        CONCAT                                           ~10     '', !0
         12        CONCAT                                           ~11     '', !1
         13        IS_IDENTICAL                                     ~12     ~10, ~11
         14        SEND_VAL                                                 ~12
         15        DO_ICALL                                                 
   11    16        ASSIGN                                                   !0, 0.17
   12    17        ASSIGN                                                   !1, 0.17
   13    18        INIT_FCALL                                               'var_dump'
         19        CAST                                          6  ~16     !0
         20        CAST                                          6  ~17     !1
         21        IS_IDENTICAL                                     ~18     ~16, ~17
         22        SEND_VAL                                                 ~18
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.28 ms | 1436 KiB | 14 Q