blob: 546a53a993224a549602015a9c0d4a40fd916567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Eval blacklist - with several calls in an eval.
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/eval_backlist.ini
--FILE--
<?php
eval('
call_user_func("strtoupper", 2);
')
?>
--EXPECTF--
Fatal error: [snuffleupagus][0.0.0.0][eval][drop] A call to 'strtoupper' was tried in eval. dropping it. in %s/eval_backlist_call_user_func.php(%d) : eval()'d code on line %d
|