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