3v4l.org

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

preferences:
20.99 ms | 475 KiB | 4 Q