diff options
| author | Stefan Esser | 2010-02-21 11:44:54 +0100 |
|---|---|---|
| committer | Stefan Esser | 2010-02-21 11:44:54 +0100 |
| commit | 36dbfacbe64697d959f524e537b15b73c090d898 (patch) | |
| tree | f1c7ce1409b0e7765fc72d550546967fcf0f9717 /tests/executor/disable_emod_off.phpt | |
Inital commit
Diffstat (limited to 'tests/executor/disable_emod_off.phpt')
| -rw-r--r-- | tests/executor/disable_emod_off.phpt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/executor/disable_emod_off.phpt b/tests/executor/disable_emod_off.phpt new file mode 100644 index 0000000..3c9cb01 --- /dev/null +++ b/tests/executor/disable_emod_off.phpt | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | --TEST-- | ||
| 2 | Testing: suhosin.executor.disable_emodifier=0 | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php include "../skipifnotcli.inc"; ?> | ||
| 5 | --INI-- | ||
| 6 | suhosin.log.sapi=64 | ||
| 7 | suhosin.executor.disable_emodifier=0 | ||
| 8 | --FILE-- | ||
| 9 | <?php | ||
| 10 | $text = "HALLO"; | ||
| 11 | var_dump(preg_replace('/[a-z]/e', "strtoupper('\\0')", $text)); | ||
| 12 | $text = "HalLO"; | ||
| 13 | var_dump(preg_replace('/[a-z]/e', "strtoupper('\\0')", $text)); | ||
| 14 | ?> | ||
| 15 | --EXPECTF-- | ||
| 16 | string(5) "HALLO" | ||
| 17 | string(5) "HALLO" | ||
| 18 | |||
