3v4l.org

run code in 500+ PHP versions simultaneously
<?php $testStr = 'hello world!'; echo base64_encode(hash('sha256', $testStr, true));

preferences:
26.61 ms | 484 KiB | 6 Q