blob: 8d276f7cad93e7f21cf9f3c882aec110cf7b206f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--TEST--
Testing: suhosin.mt_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.mt_srand.ignore=1
--FILE--
<?php
mt_srand(1);
$var1 = mt_rand();
mt_srand(1);
$var2 = mt_rand();
var_dump($var1 != $var2);
?>
--EXPECTF--
bool(true)
|