3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$sharedKey = hash('sha256','0-120913kassaaa'+floor(time() / 360),true); echo MCRYPT_RIJNDAEL_256; echo MCRYPT_MODE_ECB;
based on onENm
Output for 4.3.0 - 5.4.35, 5.5.35, 5.6.21 - 5.6.28, 7.0.6 - 7.1.0
Notice: Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJNDAEL_256' in /in/VnV2c on line 4 MCRYPT_RIJNDAEL_256 Notice: Use of undefined constant MCRYPT_MODE_ECB - assumed 'MCRYPT_MODE_ECB' in /in/VnV2c on line 5 MCRYPT_MODE_ECB
Output for 5.4.36 - 5.5.34, 5.6.7 - 5.6.20, 7.0.0 - 7.0.5
rijndael-256ecb