blob: 5e0379060b4caef23629cbdf9c5dfb6acb589c23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Testing __set() declaration in abstract class with wrong modifier
--FILE--
<?php
abstract class b {
abstract protected function __set($a);
}
?>
--EXPECTF--
Fatal error: Method b::__set() must take exactly 2 arguments in %s on line %d
|