nid), FALSE); // Uncomment this line to test AFTER the patch is made //while ($nid = db_result($result)) { // $options += uc_product_get_models($nid, FALSE); } $time_end = microtime(TRUE); print_r('Elapsed time = ' . ($time_end - $time_start) . ' microseconds' . "\n"); echo 'There are ' . count($options) . ' SKUs in the database' . "\n"; echo 'Peak memory usage = ' . round(memory_get_peak_usage() / 1024 / 1024, 2) . ' Mb' . "\n"; exit();