3v4l.org

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

preferences:
31.17 ms | 402 KiB | 5 Q