3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $salt = strtr(base64_encode(mcrypt_create_iv(16, MCRYPT_DEV_URANDOM)), '+', '.'); echo crypt('thisisatest','$2y$07$'.$salt);
based on cu3V7
Output for 7.0.0 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /in/d1Uu2:2 Stack trace: #0 {main} thrown in /in/d1Uu2 on line 2
Process exited with code 255.
Output for 5.3.19 - 5.6.38
Fatal error: Call to undefined function mcrypt_create_iv() in /in/d1Uu2 on line 2
Process exited with code 255.