mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
14 lines
181 B
PHP
14 lines
181 B
PHP
--TEST--
|
|
Asymmetric visibility protected(get) protected(set) is allowed
|
|
--FILE--
|
|
<?php
|
|
|
|
class Foo {
|
|
protected protected(set) string $bar;
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|