3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $textData = pack("N", '33'); var_dump($textData); $textData = unpack("N",$textData); var_dump($textData); echo mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CFB);
based on GmfaL
Output for 7.0.6 - 7.2.0
string(4) "!" array(1) { [1]=> int(33) } Fatal error: Uncaught Error: Call to undefined function mcrypt_get_iv_size() in /in/mEXJ8:6 Stack trace: #0 {main} thrown in /in/mEXJ8 on line 6
Process exited with code 255.
Output for 5.4.8 - 5.5.34, 5.6.7 - 5.6.20, 7.0.0 - 7.0.5
string(4) "!" array(1) { [1]=> int(33) } 16
Output for 5.3.18 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
string(4) "!" array(1) { [1]=> int(33) } Fatal error: Call to undefined function mcrypt_get_iv_size() in /in/mEXJ8 on line 6
Process exited with code 255.