1--TEST--
2Testing for regression with encapsed variables in class declaration context
3--FILE--
4<?php
5
6class A { function foo() { "{${$a}}"; } function list() {} }
7
8echo "Done", PHP_EOL;
9
10?>
11--EXPECTF--
12Done
13