xref: /PHP-7.4/sapi/cli/tests/020.phpt (revision d679f022)
1--TEST--
2CLI php --ri
3--SKIPIF--
4<?php
5include "skipif.inc";
6if (substr(PHP_OS, 0, 3) == 'WIN') {
7	die ("skip not for Windows");
8}
9?>
10--FILE--
11<?php
12
13$php = getenv('TEST_PHP_EXECUTABLE');
14
15
16echo `"$php" -n --ri this_extension_does_not_exist_568537753423`;
17echo `"$php" -n --ri standard`;
18
19echo "\nDone\n";
20?>
21--EXPECTF--
22Extension 'this_extension_does_not_exist_568537753423' not present.
23
24standard
25
26%a
27
28Directive => Local Value => Master Value
29%a
30
31Done
32