Turn on E_STRICT.
Read php.net/shuffle again.
Read php.net/mailing-lists again.
And at last, if you still have a problem, read
http://bugs.php.net/how-to-report.php
-Hannes
On 4/27/06, xuefengal <[EMAIL PROTECTED]> wrote:
> hi,all
>
> i have a problem.
>
> try this code on win2003,iis6,php5.1.1(
hi,all
i have a problem.
try this code on win2003,iis6,php5.1.1(isapi)
function _1_2($n) {
$tmp = array();
return shuffle($tmp = range(1,$n);
}
echo(''.print_r(_1_2(8),True).'');
result
Array
(
[0] => 6
[