3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('precision', 8); $c = 0; for($a=0;$a<999999.99;$a+=0.01) { for($b=0;$b<999999.99;$b+=0.01) { // mind I don't need to test comparision (round($a-$b,2) == ($a-$b)) echo ($a + $b).','.($a - $b)." vs "; echo round($a + $b,2).','.round($a - $b,2)."<br/>"; if($c++ > 4000) die; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 7
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 9
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 7
Branch analysis from position: 39
Branch analysis from position: 7
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 33
Branch analysis from position: 32
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 9
Branch analysis from position: 36
Branch analysis from position: 9
filename:       /in/RkePU
function name:  (null)
number of ops:  40
compiled vars:  !0 = $c, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'precision'
          2        SEND_VAL                                                 8
          3        DO_ICALL                                                 
    5     4        ASSIGN                                                   !0, 0
    7     5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->37
    8     7    >   ASSIGN                                                   !2, 0
          8      > JMP                                                      ->34
   10     9    >   ADD                                              ~7      !1, !2
         10        CONCAT                                           ~8      ~7, '%2C'
         11        SUB                                              ~9      !1, !2
         12        CONCAT                                           ~10     ~8, ~9
         13        CONCAT                                           ~11     ~10, '+vs+'
         14        ECHO                                                     ~11
   11    15        INIT_FCALL                                               'round'
         16        ADD                                              ~12     !1, !2
         17        SEND_VAL                                                 ~12
         18        SEND_VAL                                                 2
         19        DO_ICALL                                         $13     
         20        CONCAT                                           ~14     $13, '%2C'
         21        INIT_FCALL                                               'round'
         22        SUB                                              ~15     !1, !2
         23        SEND_VAL                                                 ~15
         24        SEND_VAL                                                 2
         25        DO_ICALL                                         $16     
         26        CONCAT                                           ~17     ~14, $16
         27        CONCAT                                           ~18     ~17, '%3Cbr%2F%3E'
         28        ECHO                                                     ~18
   12    29        POST_INC                                         ~19     !0
         30        IS_SMALLER                                               4000, ~19
         31      > JMPZ                                                     ~20, ->33
         32    > > EXIT                                                     
    8    33    >   ASSIGN_OP                                     1          !2, 0.01
         34    >   IS_SMALLER                                               !2, 1.0e+6
         35      > JMPNZ                                                    ~22, ->9
    7    36    >   ASSIGN_OP                                     1          !1, 0.01
         37    >   IS_SMALLER                                               !1, 1.0e+6
         38      > JMPNZ                                                    ~24, ->7
   16    39    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.2 ms | 1400 KiB | 17 Q