mirror of
https://github.com/pestphp/pest.git
synced 2026-04-20 22:20:17 +02:00
19 lines
251 B
PHP
19 lines
251 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Fixtures\Arch\ToUseStrictEquality;
|
|
|
|
class StrictEquality
|
|
{
|
|
public function test(): void
|
|
{
|
|
$a = 1;
|
|
$b = '1';
|
|
|
|
if ($a === $b) {
|
|
echo 'Equal';
|
|
}
|
|
}
|
|
}
|