php-src/Zend/tests/bug42798.phpt

16 lines
233 B
PHP

--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