blob: 9f526b5428cb2a633716c935ff7b6aeec070d241 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--TEST--
Testing: suhosin.srand.ignore=1
--SKIPIF--
<?php include "../skipif.inc"; ?>
--INI--
suhosin.log.sapi=255
suhosin.log.stdout=0
suhosin.log.script=0
suhosin.log.syslog=0
suhosin.srand.ignore=1
--FILE--
<?php
srand(1);
$var1 = rand();
srand(1);
$var2 = rand();
var_dump($var1 != $var2);
?>
--EXPECTF--
bool(true)
|