/** * Stop xhprof profiler * * @return array Profiler data from the run */ public static function stop() { // Reset started self::$_started = false; return xhprof_disable(); }