PHP: Escape equences
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
<?php // phpcs:ignore PSR1.Files.SideEffects
namespace HexletBasics\Arithmetics\EscapeCharacters;
use PHPUnit\Framework\TestCase;
\HexletBasics\Functions\runScript();
class SolutionTest extends TestCase
{
public function test()
{
$expected = "- Did Joffrey agree?\n- He did. He also said \"I love using \\n\".";
$this->expectOutputString($expected);
require 'index.php';
}
}
Teacher's solution will be available in:
20:00
