I'm reading through the drupal\_bootstrap code at: <https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/drupal_bootstrap/7> to try to understand how to bootstrap drupal code. I have experience in other languages but not php. This line of code below puzzles me, because $phases is an array, and everything else is int. What does it mean when it compares array with an int?

```
while ($phases && $phase > $stored_phase && $final_phase > $stored_phase) {
      $current_phase = array_shift($phases);

```

Thanks!