xref: /php-src/sapi/cli/tests/025.phpt (revision 9b6afd88)
1--TEST--
2CLI php -i extension_dir
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_ESCAPED');
14$output = `$php -n -i`;
15var_dump(str_contains($output, "extension_dir => "));
16
17?>
18--EXPECT--
19bool(true)
20