summaryrefslogtreecommitdiff
path: root/Zend/tests/instantiate_all_classes.phpt
blob: b8d82530f320a7c83bc9af7748c51386acf84c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Try to instantiate all classes without arguments
--FILE--
<?php

foreach (get_declared_classes() as $class) {
    try {
        new $class;
    } catch (Throwable) {}
}

?>
===DONE===
--EXPECT--
===DONE===