xref: /PHP-7.2/tests/classes/__set__get_002.phpt (revision a8d901a8)
1--TEST--
2ZE2 __get() signature check
3--FILE--
4<?php
5class Test {
6	function __get($x,$y) {
7	}
8}
9
10?>
11--EXPECTF--
12Fatal error: Method Test::__get() must take exactly 1 argument in %s__set__get_002.php on line %d
13