To directly answer your question, use braces around the property name as a string:
$row->{'min(time)'}
The best idea is to give your aggregate value an alias in your SQL, as mentioned by other answers, then access the property using that alias. Defining an alias also gives you the ability to provide a more meaningful name than just invoking some aggregate function in a particular column or value.
Boltclock
source share