diff options
Diffstat (limited to 'tests/executor/disable_eval_off.phpt')
| -rw-r--r-- | tests/executor/disable_eval_off.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/executor/disable_eval_off.phpt b/tests/executor/disable_eval_off.phpt new file mode 100644 index 0000000..1ee87f5 --- /dev/null +++ b/tests/executor/disable_eval_off.phpt | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | --TEST-- | ||
| 2 | Testing: suhosin.executor.disable_eval=0 | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php include "../skipifnotcli.inc"; ?> | ||
| 5 | --INI-- | ||
| 6 | suhosin.log.sapi=64 | ||
| 7 | suhosin.executor.disable_eval=0 | ||
| 8 | --FILE-- | ||
| 9 | <?php | ||
| 10 | $x = 0; | ||
| 11 | eval('$x = 1;'); | ||
| 12 | var_dump($x); | ||
| 13 | ?> | ||
| 14 | --EXPECTF-- | ||
| 15 | int(1) | ||
