phpt EXTENSIONS directive with static module
--SKIPIF--
<?php
-if(empty($_ENV['TEST_PHP_EXECUTABLE'])) {
- die('skip TEST_PHP_EXECUTABLE not set');
-}
-$php = $_ENV['TEST_PHP_EXECUTABLE'];
+$php = getenv('TEST_PHP_EXECUTABLE');
if (false === stripos(`$php -n -m`, 'spl')) {
die('skip spl is NOT built static');
}
<?php
var_dump(extension_loaded('spl'));
--EXPECT--
-bool(true)
\ No newline at end of file
+bool(true)
phpt EXTENSIONS directive with shared module
--SKIPIF--
<?php
-if(empty($_ENV['TEST_PHP_EXECUTABLE'])) {
- die('skip TEST_PHP_EXECUTABLE not set');
-}
-$php = $_ENV['TEST_PHP_EXECUTABLE'];
+$php = getenv('TEST_PHP_EXECUTABLE');
if (false !== stripos(`$php -n -m`, 'openssl')) {
die('skip openssl is built static');
}
<?php
var_dump(extension_loaded('openssl'));
--EXPECT--
-bool(true)
\ No newline at end of file
+bool(true)