3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "2fe3269fa210706de21ff97cc964590ec5bddd6677885fc55cfa6bfd94924822"; echo base64_encode($str); echo "\n"; echo base64_encode(hasy_hmac('sha256','hoge','o'));
based on m7K5N
Output for 7.3.0 - 7.3.26, 7.4.0 - 7.4.14, 8.0.0 - 8.0.2
MmZlMzI2OWZhMjEwNzA2ZGUyMWZmOTdjYzk2NDU5MGVjNWJkZGQ2Njc3ODg1ZmM1NWNmYTZiZmQ5NDkyNDgyMg== Fatal error: Uncaught Error: Call to undefined function hasy_hmac() in /in/Wt4CC:6 Stack trace: #0 {main} thrown in /in/Wt4CC on line 6
Process exited with code 255.