3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input_str = trim(fgets(STDIN)); $input_str = str_replace(array("\r\n", "\n", "\r"), "", $input_str); $words = explode(" ", $input_str); echo $words[0] === $words[1];

preferences:
33.78 ms | 402 KiB | 5 Q