O'Reilly logo
  • miraj Desai thinks this is interesting:

The fetch method of the PDOStatement object returns the next row in the result set as an array (we discussed arrays in Chapter 3). When there are no more rows in the result set, fetch returns false instead