File: samples/slow.php

Recommend this page to a friend!
  Classes of Paul Fryer  >  PHP Sandbox  >  samples/slow.php  >  Download  
File: samples/slow.php
Role: Auxiliary data
Content type: text/plain
Description: A sample script that runs longer than the time limit
Class: PHP Sandbox
Execute external PHP scripts in a separate process
Author: By
Last change: Shows output to prove it's working
Date: 9 years ago
Size: 182 bytes


Class file image Download
echo 'Starting infinate loop<br/>';

$i = 0;
while (true) {
	if($i/100 == intval($i/100)){
		echo '.';
	if($i > 24700){
		$i = 0;
		echo '<br/>';

For more information send a message to info at phpclasses dot org.