Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 852b555ab4ac599f72ecd55e8813096c > files > 31

php-suhosin-0.9.35-1.mga4.x86_64.rpm

--TEST--
Testing: suhosin.executor.func.blacklist=max
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=64
suhosin.executor.func.blacklist=max
--FILE--
<?php
	abs(1);
	max(1,2);
	abs(1);
?>
--EXPECTF--
ALERT - function within blacklist called: max() (attacker 'REMOTE_ADDR not set', file '%s', line 3)

Warning: max() has been disabled for security reasons in %s on line 3