[lang-ref] 生文字列 ( \ によるエスケープを抑制 ) ( php )

<?php
public function testAssignRawStringAlternative(): void
{
	// ' ... '
	// raw string disables backslash escapes
	$s = 'aaa\nbbb';
	$this->assertSame(1, count(explode("\n", $s)));
	$this->assertSame(8, strlen($s));
}