xref: /PHP-5.4/tests/classes/__call_002.phpt (revision 610c7fbe)
1--TEST--
2ZE2 __call() signature check
3--SKIPIF--
4<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
5--FILE--
6<?php
7
8class Test {
9	function __call() {
10	}
11}
12
13?>
14--EXPECTF--
15Fatal error: Method Test::__call() must take exactly 2 arguments in %s__call_002.php on line %d
16