<p>Been using <strong>PHP/MySQL</strong> for a little while now, and I'm wondering if there are any specific advantages (performance or otherwise) to using <code>mysql_fetch_object()</code> vs <code>mysql_fetch_assoc()</code> / <code>mysql_fetch_array()</code>.</p>

Fetching an array with
```
mysql_fetch_array()
```
lets you loop through the result set via either a foreach loop or a for loop.
```
mysql_fetch_object()
```
cannot be traversed by a for loop.
Not sure if that even matters much, just thought I'd mention it.