3v4l.org

run code in 300+ PHP versions simultaneously
<?php $usernumber = 18; $myseries = range(0, 59, 5); foreach($myseries as $num) { echo $num.'<br />'; $chcek = round(18/5) * 5; echo $check; //if($usernumber is close to $num) { // echo 'Matching number is '.$num; //} }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 18
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 18
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/APJED
function name:  (null)
number of ops:  20
compiled vars:  !0 = $usernumber, !1 = $myseries, !2 = $num, !3 = $chcek, !4 = $check
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 18
    4     1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 59
          4        SEND_VAL                                                 5
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !1, $6
    5     7      > FE_RESET_R                                       $8      !1, ->18
          8    > > FE_FETCH_R                                               $8, !2, ->18
    6     9    >   CONCAT                                           ~9      !2, '%3Cbr+%2F%3E'
         10        ECHO                                                     ~9
    7    11        INIT_FCALL                                               'round'
         12        SEND_VAL                                                 3.6
         13        DO_ICALL                                         $10     
         14        MUL                                              ~11     $10, 5
         15        ASSIGN                                                   !3, ~11
    8    16        ECHO                                                     !4
    5    17      > JMP                                                      ->8
         18    >   FE_FREE                                                  $8
   14    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.94 ms | 1395 KiB | 17 Q