3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $kdmember = "6000797711"; $key = pack('H*', "7A40903624D1AB215FAA4A3E26EB32D7832A0358CDA3B23F7C4D4F4F767BE413"); $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC); $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND); $ciphertext = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $kdmember, MCRYPT_MODE_CBC, $iv); $ciphertext = $iv . $ciphertext; $ciphertext_base64 = base64_encode($ciphertext); echo urlencode($ciphertext_base64);
based on 65Ipr
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_iv_size() in /in/WCGcl:5 Stack trace: #0 {main} thrown in /in/WCGcl on line 5
Process exited with code 255.
Output for 7.0.5
gw38Sz6S6aizGXxxPSUkwlmtarHVygA4m4rVNMXBxyo%3D
Output for 7.0.4
HqTUP2bnt3ASN2Z2XR%2F9nopSrC0hMIrkonb1KxledIw%3D
Output for 7.0.3
fLQ7rrSg0gSwPDf2WggtmscDo8tWRTobChy5a2kHvVg%3D
Output for 7.0.2
%2Bz7JORZSBapagASOVfxFA7wQFJPVXPU6%2BjWxgyL5%2FwI%3D
Output for 7.0.1
ljF2g7YEwBj8K8CDi8VOQsqG2dwd8xb1qsdcHKk%2FKPM%3D
Output for 7.0.0
HeewsuhVETTEmulxcVKcK2BIFB89gB18easOm86ofns%3D
Output for 5.3.21 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_get_iv_size() in /in/WCGcl on line 5
Process exited with code 255.
Output for 5.6.20
YGva10lXsfukKX17lusEHvL9FiOAe5KXBhkHz42ySJI%3D
Output for 5.6.19
5mboNHjtpFlG3Gdmmu8HCEIBxAUCOcGLvImqal4fEYQ%3D
Output for 5.6.18
oSJWqvkFkNIJP46gvFcXQJPWHBVpU5SLjSp5jOIDGww%3D
Output for 5.6.17
F1LoD5F5mUUR87rVeq1fDd9dHLG2TRAK2LTMsPL522A%3D
Output for 5.6.16
S4xkZvrghvUefC5B7lgh7rDk6tQyM1AGiAJR%2F%2FfXJvc%3D
Output for 5.6.15
f7LumTEzeeTSaB5xvvq%2F46ERt9I6h0XqPypwTRDjxW8%3D
Output for 5.6.14
myz4zrnwIPu4x40m1TMMEySwx6kIOE8Hj40FHbn9q8c%3D
Output for 5.6.13
aHq8enYuXkpvjmqc6VjrDoqY%2Bcb7WIpLUGYDbRTc%2FAc%3D
Output for 5.6.12
B4BnkcMAcDy2083wQb5gDl2MJloPlSjYKKIZO6Id7%2FI%3D
Output for 5.6.11
S0i5dJIZvEKCuYpcPALgqz27azaM6ytcXq1Zp%2FXuRJY%3D
Output for 5.6.10
MOJseEbiu9OZKUWghLNXeH0rA%2BHdiljJ%2FT5Z%2BU0Yc%2FQ%3D
Output for 5.6.9
JkM6R8pXRDlobqbeOeq4J7B0el5buASd6V2gY%2FXy0zw%3D
Output for 5.6.8
tzC23rI0WGuA6L65Zev4rbZkQnq97yGDxQshuOBKB2U%3D
Output for 5.5.34
knqSjHQJsm%2FcF7TtkepDghJvcni%2B3Z8V%2FFSHlNDjANs%3D
Output for 5.5.33
xADHgVkbuLNf7rrUCXUdgVxbTaCDE73SOGxrMNwkMgg%3D
Output for 5.5.32
Paj%2BzlG1cDiSSdRYVPxIinqV4pxm9Xv9%2Bz8Uu8r5SHA%3D
Output for 5.5.31
SlnydYtMnEJIMZOwRnuPZE3shY0M3viTJrVT5LrQ82s%3D
Output for 5.5.30
K2w%2B3%2FmjS%2FroFW%2Bbm2kR5Geqs%2BHiKgQR9tWX8w%2BIpDM%3D
Output for 5.5.29
GCVHsiDbZOp7jiN8WVDnbT2TfOUIZLYQqgMqmvf6XXk%3D
Output for 5.5.28
SZ%2BZhXL7Lo0lc2WPdTvLo2sQgLoAVdGTt0OpcNNLf1Q%3D
Output for 5.5.27
vlOXQTb4GqkPYJuNfMtvx2QQFMgMfrR1qdXjo2fGisc%3D
Output for 5.5.26
Yp4gqlpqz3AKJQG8VR0qA%2B%2B%2BrVvn6ZLv4n%2FHFn9s1xQ%3D
Output for 5.5.25
GnZoQhmt15G5LwZjP%2BvF%2BsUniqKKHCBC3XDtj74hUeE%3D
Output for 5.5.24
spZTyuJ2wpOn%2BEPiFMCp2fylLkc6vxFhcS0yRCg02L0%3D
Output for 5.4.45
S5XIyW4noQBukZ83wrvoJIZMqlcDL%2F1%2BrDpSzW8UR9I%3D
Output for 5.4.44
35%2F9ekiezc81BZfmVE1D4Blc6RLZZrnt%2BCCFNXWRMEA%3D
Output for 5.4.43
H6c%2BWiGIt%2FENYbmXVFcKA7gZVznmz2PtcVY29uA3Lrs%3D
Output for 5.4.42
fppvWPQMoUNSzDY59iVXazgzT%2BM11dXxY2N3Qj76RgE%3D
Output for 5.4.41
A7LroVPKR%2FA%2FpwuySTe6l%2FeCrc%2B%2FyPSD%2BUnAUdVKOng%3D
Output for 5.4.40
4oZ4Ol00lRtprZE1f3hOftDObW2jb4lGM0yh1JYPJgU%3D
Output for 5.4.39
6%2ByuxH9SqOvXTg%2FCOAVRLiRGXT0S4yivohm8b0DnE0k%3D
Output for 5.4.38
SRvMdzKTNWD4V8MTMIeydiHx%2B1RFQpDqVe9%2F1uGB1zA%3D
Output for 5.4.37
Cvj9jNT5EQToHYjlinZnHANV5gCeJzWhoeOFCrVwHEc%3D
Output for 5.4.36
7xMUb2KScW8GfwkkmF0nAOhYUsMe0iUT7EqqC9f0iYo%3D
Output for 5.4.35
RPJ%2BUJ94iSdZVLSzHl3l%2FPrDeZrfVzhidnCujJypAjw%3D
Output for 5.4.34
boyYRtufV9U6mCxX1EcLB7Hkvdp4TP3ZbRMO0%2Bgh2uE%3D
Output for 5.4.32
tuu6pkpLi7VMqHZSTkNr%2FOMZWeYV28URrcEWgpXxrnk%3D
Output for 5.4.31
IAk%2B9dazGZCgYaagbrg%2Faz7ZAYNsFeWC9pHJGEUL0Mo%3D
Output for 5.4.30
6hiGpYaV%2FaFAryFHPGqEGldjVJDVOrQi%2Bw26USHUuqU%3D
Output for 5.4.29
68wvYRHX18rHC4DGuizLipUwdqpmXvCN1F7PyxMUsBs%3D
Output for 5.4.28
k%2FmqyDpaDQcwGV6DzHUKeJDwy1V8j5SoVdMes2KrwTE%3D
Output for 5.4.27
BKvqb6qwUjo6RUliXMRiPQI%2B7YtPCnWS%2BBV8nEoy2WM%3D
Output for 5.4.26
5TPkI7flWiiCoDhgVodPHB7ksK%2FYtkaZ%2BRkYazvYbkM%3D
Output for 5.4.25
Xdlj68eMuWQ5V5jvUSoWpfJwyc%2BKXvKvamuDt%2FYTaUU%3D
Output for 5.4.24
BM5DwafQ1BGSwDdqjCfoK53%2BDlALJPWynuqcDfGfe7I%3D
Output for 5.4.23
RU60CyEyv9Q1dBaB2pTm40h8wvAcKaX0TkUnvPBNqqM%3D
Output for 5.4.22
3ahdYv1oWDPol3N4bhDxR6yFgMteCMweMkhWNGul%2Fpg%3D
Output for 5.4.21
9ar2qqlLoS7Lbte%2FACXpjAA7CQFUwjO%2BEsdv%2B%2FyMK1E%3D
Output for 5.4.20
G31%2FLT1yvHQHelthD1Z7Z4pQM2cRPCwFgnfRhL6Gxlk%3D
Output for 5.4.19
W3uk6WOrm20DY7NAOKowYdqsMPEsUWZBvbvjuPYUMQA%3D
Output for 5.4.18
OtYhagF0oZyFfE%2F%2B29BLEeSy4qyDDkCm%2BF%2BKrFxctTI%3D
Output for 5.4.17
8R8L2SHw9n9FPQ5HFeiyndNc74mTEzegfOqzyeaoaBs%3D
Output for 5.4.16
RjyYBb3tQhFd0gVwGo4803rjizksdqwZlxX9ZPFYVgg%3D
Output for 5.4.15
1JMuNuvBqy3lppYdrRs6h%2BXLTPKJu9LQJFfGVi26Nx0%3D
Output for 5.4.14
mjhnl9YdMC7M1i7L8b6jkfUxN0aC%2BY%2B543b6kJHcrNI%3D
Output for 5.4.13
XO91ytxwygpfzUM3Q87walXRkURdX18xE3DAv2AOPyY%3D
Output for 5.4.12
fOSu%2B4O6wbE9%2FHy3BW2zXsaesa8Bh1P%2FCKiLn5DKh%2Bg%3D
Output for 5.4.11
XY50sJ5owyUQYHycqdK45TJJSVNKcUqJbZqEHID6wcc%3D