xref: /PHP-8.0/Zend/tests/magic_methods_007.phpt (revision 149029b9)
1--TEST--
2Testing __set() declaration in abstract class with wrong modifier
3--FILE--
4<?php
5
6abstract class b {
7    abstract protected function __set($a);
8}
9
10?>
11--EXPECTF--
12Fatal error: Method b::__set() must take exactly 2 arguments in %s on line %d
13