PHP: Combining Operations and Functions
Instructions
Loading...
Your exercise will be checked with these tests:
<?php
namespace HexletBasics\Logic\CombineExpressions;
use PHPUnit\Framework\TestCase;
class SolutionTest extends TestCase
{
public function test()
{
require 'index.php';
$this->assertFalse(isInternationalPhone('89602223423'));
$this->assertTrue(isInternationalPhone('+79602223423'));
}
}
Teacher's solution will be available in:
20:00
