--TEST--
Ensure the ReflectionClass constructor triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {
--TEST--
Ensure the ReflectionMethod constructor triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {
--TEST--
Ensure the ReflectionProperty constructor triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {
--TEST--
Ensure ReflectionClass::getProperty() triggers autoload
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {
--TEST--
Ensure ReflectionClass::implementsInterface triggers autoload.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {
--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)