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