mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
13 lines
218 B
PHP
13 lines
218 B
PHP
--TEST--
|
|
Duplicate asymmetric visibility modifier
|
|
--FILE--
|
|
<?php
|
|
|
|
class Foo {
|
|
private(set) protected(set) string $bar;
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Multiple access type modifiers are not allowed in %s on line %d
|