mirror of
https://github.com/php/php-src.git
synced 2026-04-18 05:21:02 +02:00
* Commands are not properly escaped for windows * Specifying "-n" to check loaded modules causes "Module already loaded" warning * Extensions to be loaded need the "php_" prefix on Windows Bug: https://bugs.php.net/bug.php?id=75042 Add back -n flag to fetch loaded extensions in run-tests.php Add test for phpt EXTENSIONS directive Add a second test for bug 75042 Add test to test loading of nonexistent shared module with the EXTENSIONS phpt block Pass ini settings when checking loaded extensions Fix skipifs
16 lines
286 B
PHP
16 lines
286 B
PHP
--TEST--
|
|
phpt EXTENSIONS directive with static module
|
|
--SKIPIF--
|
|
<?php
|
|
$php = getenv('TEST_PHP_EXECUTABLE');
|
|
if (false === stripos(`$php -n -m`, 'spl')) {
|
|
die('skip spl is NOT built static');
|
|
}
|
|
--EXTENSIONS--
|
|
SPL
|
|
--FILE--
|
|
<?php
|
|
var_dump(extension_loaded('spl'));
|
|
--EXPECT--
|
|
bool(true)
|