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 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 3
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 5
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 3
Branch analysis from position: 35
Branch analysis from position: 3
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 29
Branch analysis from position: 28
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 5
Branch analysis from position: 32
Branch analysis from position: 5
filename:       /in/KmM95
function name:  (null)
number of ops:  36
compiled vars:  !0 = $c, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 0
    7     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->33
    8     3    >   ASSIGN                                                   !2, 0
          4      > JMP                                                      ->30
   10     5    >   ADD                                              ~6      !1, !2
          6        CONCAT                                           ~7      ~6, '%2C'
          7        SUB                                              ~8      !1, !2
          8        CONCAT                                           ~9      ~7, ~8
          9        CONCAT                                           ~10     ~9, '+vs+'
         10        ECHO                                                     ~10
   11    11        INIT_FCALL                                               'round'
         12        ADD                                              ~11     !1, !2
         13        SEND_VAL                                                 ~11
         14        SEND_VAL                                                 2
         15        DO_ICALL                                         $12     
         16        CONCAT                                           ~13     $12, '%2C'
         17        INIT_FCALL                                               'round'
         18        SUB                                              ~14     !1, !2
         19        SEND_VAL                                                 ~14
         20        SEND_VAL                                                 2
         21        DO_ICALL                                         $15     
         22        CONCAT                                           ~16     ~13, $15
         23        CONCAT                                           ~17     ~16, '%3Cbr%2F%3E'
         24        ECHO                                                     ~17
   12    25        POST_INC                                         ~18     !0
         26        IS_SMALLER                                               4000, ~18
         27      > JMPZ                                                     ~19, ->29
         28    > > EXIT                                                     
    8    29    >   ASSIGN_OP                                     1          !2, 0.01
         30    >   IS_SMALLER                                               !2, 1.0e+6
         31      > JMPNZ                                                    ~21, ->5
    7    32    >   ASSIGN_OP                                     1          !1, 0.01
         33    >   IS_SMALLER                                               !1, 1.0e+6
         34      > JMPNZ                                                    ~23, ->3
   16    35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.93 ms | 1400 KiB | 15 Q