[lang-ref] ( assign_escaped_string ) ( php )
<?php
public function testAssignEscapedString(): void
{
// " ... "
$s = "aaa\nbbb";
$this->assertSame(2, count(explode("\n", $s)));
$this->assertSame(7, strlen($s));
}
<?php
public function testAssignEscapedString(): void
{
// " ... "
$s = "aaa\nbbb";
$this->assertSame(2, count(explode("\n", $s)));
$this->assertSame(7, strlen($s));
}