php zamanı bir komut dosyası
//place this before any script you want to calculate time
$time_start = microtime(true);
//sample script
for($i=0; $i<1000; $i++){
//do anything
}
$time_end = microtime(true);
$execution_time = ($time_end - $time_start);
echo '<b>Total Execution Time:</b> '.($execution_time*1000).'Milliseconds';
php zaman sınırı
set_time_limit(120); // Time in seconds
set_time_limit(0); // unlimited
php zaman bir komut dosyası
//place this before any script you want to calculate time
$time_start = microtime(true);
//sample script
for($i=0; $i<1000; $i++){
//do anything
}
$time_end = microtime(true);
$execution_time = ($time_end - $time_start);
echo '<b>Total Execution Time:</b> '.($execution_time*1000).'Milliseconds';
PHP Zaman Sınırı:
set_time_limit(300);
PHP Zaman Sınırı:
set_time_limit(300);
WP-config'de zaman sınırını ayarla
max_execution_time = 300;