[lang-ref] 文字列中の変数補完 ( php )

<?php
public function testStringInterpolationWithVariable(): void
{
	// "{$x}"
	$name = 'John';
	$s = "My name is {$name}.";
	$this->assertSame('My name is John.', $s);
}