1--TEST--
2Avoid spaces between parent hook call nodes
3--FILE--
4<?php
5
6class A {
7    public int $prop {
8        get {
9            return 41;
10        }
11    }
12}
13
14class B extends A {
15    public int $prop {
16        get {
17            var_dump(parent::$prop::get());
18            var_dump(parent :: $prop :: get());
19            return 42;
20        }
21    }
22}
23
24class C {
25    public static $prop = 'E';
26}
27
28class D extends C {
29    public static function test() {
30        return (parent::$prop)::get();
31    }
32}
33
34class E {
35    public static function get() {
36        return 43;
37    }
38}
39
40$b = new B;
41var_dump($b->prop);
42var_dump(D::test());
43
44?>
45--EXPECT--
46int(41)
47int(41)
48int(42)
49int(43)
50