diff options
Diffstat (limited to 'src/tests/xxe/disable_xxe_simplexml_oop.phpt')
| -rw-r--r-- | src/tests/xxe/disable_xxe_simplexml_oop.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/xxe/disable_xxe_simplexml_oop.phpt b/src/tests/xxe/disable_xxe_simplexml_oop.phpt index 43c4fbf..e101337 100644 --- a/src/tests/xxe/disable_xxe_simplexml_oop.phpt +++ b/src/tests/xxe/disable_xxe_simplexml_oop.phpt | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | --TEST-- | 1 | --TEST-- |
| 2 | Disable XXE | 2 | Disable XXE |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php | 4 | <?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml") || getenv('TRAVIS')) print("skip"); ?> |
| 5 | if (!extension_loaded("snuffleupagus")) echo "skip"; | ||
| 6 | if (!extension_loaded("simplexml")) echo "skip"; | ||
| 7 | ?> | ||
| 8 | --INI-- | 5 | --INI-- |
| 9 | sp.configuration_file={PWD}/config/disable_xxe.ini | 6 | sp.configuration_file={PWD}/config/disable_xxe.ini |
| 7 | --EXTENSIONS-- | ||
| 8 | simplexml | ||
| 9 | --XFAIL-- | ||
| 10 | --FILE-- | 10 | --FILE-- |
| 11 | <?php | 11 | <?php |
| 12 | $dir = __DIR__; | 12 | $dir = __DIR__; |
