diff options
| author | jvoisin | 2020-11-19 18:53:57 +0100 |
|---|---|---|
| committer | jvoisin | 2020-11-20 16:41:19 +0100 |
| commit | 1cb80ae6a095d360bc2988a82468f3d38a876218 (patch) | |
| tree | 5d778732110fe1580e32a70890ad330dd75ed285 /src/tests/strict_mode/strict_mode_disabled.phpt | |
| parent | e134c87a9a7850d1db30cfe10eb0f521b27953a5 (diff) | |
Add some tests for the strict mode
Diffstat (limited to 'src/tests/strict_mode/strict_mode_disabled.phpt')
| -rw-r--r-- | src/tests/strict_mode/strict_mode_disabled.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/strict_mode/strict_mode_disabled.phpt b/src/tests/strict_mode/strict_mode_disabled.phpt new file mode 100644 index 0000000..105f43c --- /dev/null +++ b/src/tests/strict_mode/strict_mode_disabled.phpt | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | --TEST-- | ||
| 2 | Strict mode disabled | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php | ||
| 5 | if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing"; | ||
| 6 | ?> | ||
| 7 | --INI-- | ||
| 8 | sp.configuration_file={PWD}/config/config_strict_mode_disabled.ini | ||
| 9 | --FILE-- | ||
| 10 | <?php | ||
| 11 | ini_set('display_errors', 1); | ||
| 12 | ?> | ||
| 13 | --EXPECTF-- | ||
