Medir el tiempo de ejecución de PHP
$start = microtime(true);
while (...) {
}
$time_elapsed_secs = microtime(true) - $start;
SeriousMonk
$start = microtime(true);
while (...) {
}
$time_elapsed_secs = microtime(true) - $start;