<?php
function test($x)
{
$a = 0;
for($i = 0; $i < $x; $i++)
{
$a++;
}
echo "Time for $x was " . ($t2 - $t1) . "\n";
return $a;
}
echo test(100000000);
PD9waHAKCmZ1bmN0aW9uIHRlc3QoJHgpCnsKICAgICR0MSA9IG1pY3JvdGltZSh0cnVlKTsKICAgICRhID0gMDsKICAgIGZvcigkaSA9IDA7ICRpIDwgJHg7ICRpKyspCiAgICB7CiAgICAgICAgJGErKzsKICAgIH0KICAgICR0MiA9IG1pY3JvdGltZSh0cnVlKTsKCiAgICBlY2hvICJUaW1lIGZvciAkeCB3YXMgIiAuICgkdDIgLSAkdDEpIC4gIlxuIjsKCiAgICByZXR1cm4gJGE7Cn0KCgplY2hvIHRlc3QoMTAwMDAwMDAwKTs=