mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +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
|