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