summaryrefslogtreecommitdiff
path: root/tests/classes/__set__get_002.phpt
blob: 5d3b5db543fd0f3e46eaab386bf0aee19c82dbce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
ZE2 __get() signature check
--FILE--
<?php
class Test {
	function __get($x,$y) {
	}
}

?>
--EXPECTF--
Fatal error: Method Test::__get() must take exactly 1 argument in %s__set__get_002.php on line %d