3v4l.org

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