<?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]);
value and type must match