1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--TEST-- Bug #42798 (_autoload() not triggered for classes used in method signature) --FILE-- <?php function __autoload($className) { print "$className\n"; exit(); } function foo($c = ok::constant) { } foo(); --EXPECT-- ok