3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.21 ms | 2182 KiB | 14 Q