mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
62c6d6952e
Intended to find issues in opaque object destructors. Closes GH-6251.
16 lines
215 B
PHP
16 lines
215 B
PHP
--TEST--
|
|
Try to instantiate all classes without arguments
|
|
--FILE--
|
|
<?php
|
|
|
|
foreach (get_declared_classes() as $class) {
|
|
try {
|
|
new $class;
|
|
} catch (Throwable) {}
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|