diff options
Diffstat (limited to 'sapi/cli/tests/020.phpt')
-rw-r--r-- | sapi/cli/tests/020.phpt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sapi/cli/tests/020.phpt b/sapi/cli/tests/020.phpt new file mode 100644 index 0000000..62be4ba --- /dev/null +++ b/sapi/cli/tests/020.phpt @@ -0,0 +1,32 @@ +--TEST-- +CLI php --ri +--SKIPIF-- +<?php +include "skipif.inc"; +if (substr(PHP_OS, 0, 3) == 'WIN') { + die ("skip not for Windows"); +} +?> +--FILE-- +<?php + +$php = getenv('TEST_PHP_EXECUTABLE'); + + +echo `"$php" -n --ri this_extension_does_not_exist_568537753423`; +echo `"$php" -n --ri standard`; + +echo "\nDone\n"; +?> +--EXPECTF-- +Extension 'this_extension_does_not_exist_568537753423' not present. + +standard + +%a + +Directive => Local Value => Master Value +%a + +Done + |