mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
16 lines
233 B
Plaintext
16 lines
233 B
Plaintext
|
--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
|