mirror of
https://github.com/php/phpruntests.git
synced 2026-03-25 08:32:21 +01:00
25 lines
283 B
PHP
25 lines
283 B
PHP
<?php
|
|
|
|
include 'taskCalculate.php';
|
|
|
|
|
|
function createTaskList()
|
|
{
|
|
$list = array();
|
|
|
|
for ($i=0; $i<rand(128,256); $i++) {
|
|
|
|
$num = array();
|
|
|
|
for ($j=0; $j<rand(32,64); $j++) {
|
|
|
|
$num[$j] = rand(0,9);
|
|
}
|
|
|
|
$list[$i] = new taskCalculate($num);
|
|
}
|
|
|
|
return $list;
|
|
}
|
|
|
|
?>
|