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