Jump to content

What does a sum mean in an array?


RuHor
 Share

Recommended Posts

Hello, I'm trying to understand what this line of code means, but I can't figure out what value it takes inside the bracket

$i = 1
$aArray[$i + 2]


Because I don't think it is equal to $aArray[3] because I did tests and it is not the value of index 3. In other words, send the value of index 3 and it is not the value that I get in relation to $i + 2

Edited by RuHor
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...