mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
13 lines
273 B
PHP
13 lines
273 B
PHP
--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
|