xref: /PHP-7.1/tests/classes/__set__get_003.phpt (revision 610c7fbe)
1--TEST--
2ZE2 __set() 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 __set() {
9	}
10}
11
12?>
13--EXPECTF--
14Fatal error: Method Test::__set() must take exactly 2 arguments in %s__set__get_003.php on line %d
15