function test($sql) { $start = microtime(); $myDataBaseObject->executeSQLstring($sql); $end = microtime(); $time = (($end-$start) * 1000000) / 1000; echo "$time milliseconds
"; }