--TEST-- Eval whitelist - builtin function --SKIPIF-- --INI-- sp.configuration_file={PWD}/config/eval_whitelist.ini --FILE-- '); $a = cos(1); echo "Outside of eval: $a\n"; eval('$a = cos(5);'); echo "After allowed eval: $a\n"; eval("include_once('$dir' . '/test.bla');"); echo "After eval: $b\n"; ?> --CLEAN-- --EXPECTF-- Outside of eval: 0.54030230586814 After allowed eval: 0.28366218546323 [snuffleupagus][0.0.0.0][Eval_whitelist][drop] The function 'sin' isn't in the eval whitelist, dropping its call.