3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'string'; $b = 'string'; $tmp = array_unique(array($a, $b)); if (empty($tmp)) echo 'They match!';

preferences:
37.59 ms | 402 KiB | 5 Q