1--TEST--
2Using parent::$prop::get() outside a property hook
3--FILE--
4<?php
5
6class A {
7    public function test() {
8        return parent::$prop::get();
9    }
10}
11
12?>
13--EXPECTF--
14Fatal error: Must not use parent::$prop::get() outside a property hook in %s on line %d
15