![]() ![]() | ![]() |
Initial revision
1: --TEST-- 2: CLI php -m 3: --SKIPIF-- 4: <?php 5: include "skipif.inc"; 6: if (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: 16: echo `"$php" -n -m`; 17: 18: echo "Done\n"; 19: ?> 20: --EXPECTF-- 21: [PHP Modules] 22: %a 23: pcre 24: %a 25: 26: [Zend Modules] 27: %aDone