blob: 0630c63e9f6caba518d12a615ca2d3ecf5c3af5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Testing __set() declaration in abstract class with wrong modifier
--FILE--
<?php
abstract class b {
abstract protected function __set($a);
}
?>
--EXPECTF--
Warning: The magic method __set() must have public visibility and cannot be static in %s on line %d
Fatal error: Method b::__set() must take exactly 2 arguments in %s on line %d
|