3v4l.org

run code in 500+ PHP versions simultaneously
<?php $storedHash = "0e1234"; $inputHash = "0"; if (gettype($storedHash) !== "string" || gettype($inputHash) !== "string") { echo "PANIC"; die; } if ($storedHash == $inputHash) { echo "Access granted."; } else { echo "Access denied."; }

preferences:
49.31 ms | 2132 KiB | 5 Q