3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 0.3; var_dump($value, $value <= 0.3); $value = 0 + 0.1 * 3; var_dump($value, $value <= 0.3); for ($i = 0; $i <= 5; $i += 0.01) { } var_dump($i);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 14
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 14
Branch analysis from position: 17
Branch analysis from position: 14
filename:       /in/ofFY5
function name:  (null)
number of ops:  21
compiled vars:  !0 = $value, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0.3
    5     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        IS_SMALLER_OR_EQUAL                              ~3      !0, 0.3
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
    7     6        ASSIGN                                                   !0, 0.3
    9     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        IS_SMALLER_OR_EQUAL                              ~6      !0, 0.3
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                                 
   11    12        ASSIGN                                                   !1, 0
         13      > JMP                                                      ->15
         14    >   ASSIGN_OP                                     1          !1, 0.01
         15    >   IS_SMALLER_OR_EQUAL                                      !1, 5
         16      > JMPNZ                                                    ~10, ->14
   15    17    >   INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.37 ms | 1395 KiB | 15 Q