PHP: Return values
Instructions
Loading...
Your exercise will be checked with these tests:
<?php
namespace HexletBasics\DefineFunctions\ReturnInstruction;
use PHPUnit\Framework\TestCase;
class SolutionTest extends TestCase
{
public function test()
{
require 'index.php';
$expected = 'hurray! hurray! hurray!';
$this->assertEquals($expected, sayHurrayThreeTimes());
}
}
Teacher's solution will be available in:
20:00
