3v4l.org

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

preferences:
32.57 ms | 405 KiB | 5 Q