1--TEST--
2Test to check regressions on string interpolation with class members access
3--FILE--
4<?php
5
6class Friday {
7    public $require = "fun";
8}
9
10$friday = new Friday;
11
12echo "$friday->require ($friday->require) {$friday->require}", PHP_EOL;
13
14echo "\nDone\n";
15
16
17--EXPECTF--
18
19fun (fun) fun
20
21Done
22