__set__get_002.phpt 215 B

123456789101112
  1. --TEST--
  2. ZE2 __get() signature check
  3. --FILE--
  4. <?php
  5. class Test {
  6. function __get($x,$y) {
  7. }
  8. }
  9. ?>
  10. --EXPECTF--
  11. Fatal error: Method Test::__get() must take exactly 1 argument in %s__set__get_002.php on line %d