xref: /PHP-7.1/Zend/tests/errmsg_012.phpt (revision 7af945e2)
1--TEST--
2errmsg: __autoload() must take exactly 1 argument
3--FILE--
4<?php
5
6function __autoload($a, $b) {}
7
8echo "Done\n";
9?>
10--EXPECTF--
11Fatal error: __autoload() must take exactly 1 argument in %s on line %d
12