mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
13 lines
273 B
Plaintext
13 lines
273 B
Plaintext
|
--TEST--
|
||
|
Testing __set() declaration in abstract class with wrong modifier
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
abstract class b {
|
||
|
abstract protected function __set($a);
|
||
|
}
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: The magic method __set() must have public visibility and can not be static in %s on line %d
|