3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB); $iv mcrypt_create_iv($iv_size, MCRYPT_RAND); var_dump(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, 'abcd', '1234567890', MCRYPT_MODE_ECB, $iv));
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'mcrypt_create_iv' (T_STRING) in /in/POYXW on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/POYXW on line 4
Process exited with code 255.