1--TEST--
2Var hooked property is implicitly public
3--FILE--
4<?php
5
6class Test {
7    var $prop { get => 42; }
8}
9
10$test = new Test();
11var_dump($test->prop);
12
13?>
14--EXPECT--
15int(42)
16