3v4l.org

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

preferences:
124.11 ms | 1643 KiB | 5 Q