3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['str1'] = ["a"]; $_GET['str2'] = ["b"]; $hash1 = hash("sha256", $_GET['str1']); echo $hash1;

preferences:
26.99 ms | 404 KiB | 5 Q