xref: /PHP-7.3/sapi/cli/tests/018.phpt (revision 782352c5)
1--TEST--
2CLI php -m
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 -m`;
17
18echo "Done\n";
19?>
20--EXPECTF--
21[PHP Modules]
22%a
23pcre
24%a
25
26[Zend Modules]
27%aDone
28