Values & References11 / 16
Up next

Strict equality ===

<?php
declare(strict_types=1);
// === also requires the same type
var_dump(1 === 1);
var_dump(1 === "1");
// arrays match with the same keys, values, order, and types
var_dump([1, 2] === [1, 2]);
What you're solving

value and type must match