xref: /PHP-8.0/tests/classes/__call_002.phpt (revision f8d79582)
1--TEST--
2ZE2 __call() signature check
3--FILE--
4<?php
5
6class Test {
7    function __call() {
8    }
9}
10
11?>
12--EXPECTF--
13Fatal error: Method Test::__call() must take exactly 2 arguments in %s__call_002.php on line %d
14