3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['str1'] = ["a"]; $_GET['str2'] = ["b"]; echo hash("sha256", $_GET['str1']); }
Output for 8.1.0 - 8.1.30, 8.2.0 - 8.2.25, 8.3.0 - 8.3.13
Parse error: Unmatched '}' in /in/sRNnk on line 5
Process exited with code 255.

preferences:
150.69 ms | 1435 KiB | 7 Q