title: Adding an index to an array like this
body: <p>How can I add an index (1,2,3) to an array like this:</p>
  
  <pre><code>$errors['success'] = false; //0
  $errors['#errOne'] = "Enter a valid username"; //1
  $errors['#errTwo'] = "Enter a valid email";//2
  $errors['#errThree'] = "Enter a valid password";//3
  </code></pre>