PHP: Expressions in definitions
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
<?php // phpcs:ignore PSR1.Files.SideEffects
namespace HexletBasics\Variables\Expressions;
use PHPUnit\Framework\TestCase;
\HexletBasics\Functions\runScript();
class SolutionTest extends TestCase
{
public function test()
{
$expected = "125\n863.75";
$this->expectOutputString($expected);
require 'index.php';
}
}
Teacher's solution will be available in:
20:00
