3v4l.org

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

preferences:
41.63 ms | 402 KiB | 5 Q