1--TEST--
2GH-15456: Crash in get_class_vars() on virtual properties
3--FILE--
4<?php
5
6class C {
7    public $a = 42;
8    public $b = 42 { get => $this->b * 2; }
9    public $c { get => 42; }
10}
11var_dump(get_class_vars(C::class));
12
13?>
14--EXPECT--
15array(2) {
16  ["a"]=>
17  int(42)
18  ["b"]=>
19  int(42)
20}
21