3v4l.org

run code in 300+ PHP versions simultaneously
<?php $min_age=17; $max_age=35; //minimum and maximum age in the db table as well $htmsAgeTable=array(); for ($i=$min_age;$i<=$max_age;$i++) { //$row=$res->fetch_array(); //$htmsAgeTable[$i]=$row['value']; $htmsAgeTable[$i]=2*$i; } echo $htmsAgeTable[30]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/d2idg
function name:  (null)
number of ops:  14
compiled vars:  !0 = $min_age, !1 = $max_age, !2 = $htmsAgeTable, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 17
    3     1        ASSIGN                                                   !1, 35
    4     2        ASSIGN                                                   !2, <array>
    5     3        ASSIGN                                                   !3, !0
          4      > JMP                                                      ->9
    9     5    >   MUL                                              ~9      !3, 2
          6        ASSIGN_DIM                                               !2, !3
          7        OP_DATA                                                  ~9
    5     8        PRE_INC                                                  !3
          9    >   IS_SMALLER_OR_EQUAL                                      !3, !1
         10      > JMPNZ                                                    ~11, ->5
   11    11    >   FETCH_DIM_R                                      ~12     !2, 30
         12        ECHO                                                     ~12
   12    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.85 ms | 1393 KiB | 13 Q