mirror of
https://github.com/php/php-src.git
synced 2024-12-15 21:05:51 +08:00
16 lines
233 B
PHP
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
|