php-src/tests/classes/__set__get_002.phpt
2020-02-03 22:52:20 +01:00

13 lines
215 B
PHP

--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