3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $kdmember = "5000196120"; $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 HMKNm
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_iv_size() in /in/samFa:5 Stack trace: #0 {main} thrown in /in/samFa on line 5
Process exited with code 255.
Output for 7.0.5
bIHny3p9YTFli2juWVRZnam%2BtG9IjNxCDew08VyT9d0%3D
Output for 7.0.4
hnHO7qaI6avSLPZrVdXklpqUzGTkeu3sCwGBWK6z%2BXM%3D
Output for 7.0.3
vYET8Mc0KfbB15NrjbkKQVpzgT98%2FHYuwQkLilSj7qY%3D
Output for 7.0.2
aWDIDoOtjxiMYYOpmofE7jRD0Z8D3kOafCNbTFUpE%2BI%3D
Output for 7.0.1
Xm2fFXzdNgMhiNF9EZxDOrjB0jpHQVSa3JjrAddw3Z4%3D
Output for 7.0.0
9mZZ4vwYSGaV3C%2FKVtvAoLc38z3cP9Nuf1QVRrSr08M%3D
Output for 5.3.22 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_get_iv_size() in /in/samFa on line 5
Process exited with code 255.
Output for 5.6.20
pCQ7dQCMZJACdTOVCH0r7Af1rqa195fmF9e97LUa8DQ%3D
Output for 5.6.19
61PgmCmPQqJM5naw6G3WqTLqlAliOAKecc5OaxPkXBo%3D
Output for 5.6.18
3QM%2F%2BFMNu91j3ssaZi%2BzWrYN2K6AqQU3l2CNlZK9yB0%3D
Output for 5.6.17
XhweTlvSI82JYPaLCl1OtifQ7fcv9n2HColHDMogpPg%3D
Output for 5.6.16
zgEgBk1rHp%2FFOTCa9PJYxmAsjH0uZgZHzLhFEcYfEv0%3D
Output for 5.6.15
3AAVbqCqsQhv8YzpEVUO%2FDCqhmDszaa6r8KZgDIjL4Y%3D
Output for 5.6.14
E1JjJZkyYjB7fSU05bSWWeJPvWzGdlzogKkGsrQhnSk%3D
Output for 5.6.13
LV2BCp4vAIauwcnjR0zkO%2BqTjHN1rSsbAJBJzfDa6cg%3D
Output for 5.6.12
4B%2BaFaIlZDecTOHGGQcDE1H8k3aPRVFs%2B5srs5S2lAM%3D
Output for 5.6.11
lJvwlA%2F67vAwfc4hkEm0DOmiAIUr1XG2zpivrLeBHzU%3D
Output for 5.6.10
7GwG3RMy450LsLOgVU0l34empCDM5GcQb3zrtqEaxAY%3D
Output for 5.6.9
SZ0FJwdU5qzblxz6er0wF5re%2BOuPX7vVIojvYWqAVMg%3D
Output for 5.6.8
C9zEiWnsmnRjwnGq%2FAlA5Cr669zZlbviIohXSiYP7w0%3D
Output for 5.5.34
R9b3Ds9dUTxEU2uGxRDMRHnXder8kft92MbPwEHKVb0%3D
Output for 5.5.33
mtf4Tt4zQJd6w1Bd8dJp8ufH31GVZYXNc%2BHi9KPlYZM%3D
Output for 5.5.32
aug1XtZKV%2BCOm4ds66d0tQWT%2FVfNX5DrcTsPr3bxAME%3D
Output for 5.5.31
bsf0Gj%2BRJTEwDVfgcPOd9yR%2Bo9bCO6uwW0NPHw6ozOY%3D
Output for 5.5.30
bh26oZ7K%2BfEVMBreGDF%2Fx7D5VpsQxddPk58GmzJ6Yiw%3D
Output for 5.5.29
1yivqDj9oRYl5xrbIOqxrI3L%2FP%2FeapRJOm5kojGKD50%3D
Output for 5.5.28
AhxSeeXqZbMKRSgRO6ZzV%2BjLiWfj22G09izSNCF8Wfk%3D
Output for 5.5.27
1XL1u19SLYDMmdyeAW8gNJn4M%2BfHmbWTIG8Ku7Lo3ms%3D
Output for 5.5.26
phj0S6qHDKd%2B1G1QoWMk8xmSpIHz3EYRL8hi4RGnzaM%3D
Output for 5.5.25
vgamd%2BnNnFvs6WWfQbf65%2F3eKvMryxHqeuIF1GYG268%3D
Output for 5.5.24
7G5ZXtS72Bd5IVeZcmdPfZbDiBPRlK1VwwqLt1gjf14%3D
Output for 5.4.45
Ao0E9mWztluj36Pgp%2FcuJt9aaLtYiYCxuZJmK%2FXBNWc%3D
Output for 5.4.44
mfoOjZ2CPHiz7DX2Cpi6xsYqG%2BHF1egH3MieXRuO8pM%3D
Output for 5.4.43
84Evqh8zTTQT62cvn7pi9GRB7%2Fz9lPvswUhBIWiixMc%3D
Output for 5.4.42
nQGhTw%2BajEigWT770grufyMjVDco7yizfhkNNtauPe0%3D
Output for 5.4.41
PqQ0x8iO8F%2F8JiXPRMpkb11rYLd0k%2BAXy7GubTagQws%3D
Output for 5.4.40
%2FSlx%2Bt9AbhCPBqOPQW4Zs9CSNOlLgCLzIyv6iCa0lnY%3D
Output for 5.4.39
Hdk6nL4Iorjm7F4Cg3ogbJoqXszmPY%2FFD%2BnzNZudaF0%3D
Output for 5.4.38
AxPzf7%2FrnTbaxEct7EigOK5vOyujS5OqEx6vMkh8c%2BI%3D
Output for 5.4.37
D34rNggde8WDEbK4B%2B9w7igrb8jKYOAYkQ8t2rCGzhI%3D
Output for 5.4.36
YgeVpQuwnTRjf4qDs7DFLGJbwcLdqrlAu6N%2F62O6LYU%3D
Output for 5.4.35
lOTiMoUhccyESMnl8olJW%2FlWxIsUKVbpyj%2Feo%2FcVJcI%3D
Output for 5.4.34
qUpF2a%2BkBgV6q1P6kzWS%2FeVxvsO2sy1Yg9dAHaSkrL0%3D
Output for 5.4.32
nZEaQl%2F80Y817859AfUktXnAGqRyD9xuS5p4KSUFpWk%3D
Output for 5.4.31
FEyzoJ1lgB%2FBtrW9PspbT9lqSSigjhlwxvoodPf8y5g%3D
Output for 5.4.30
HPJVd5ittAzciKy%2BF9ywME%2B3uMDFX0NG21h1qZ%2FEBok%3D
Output for 5.4.29
OTQVkYUx7daSQ%2FUwbjYVpk%2B76bgN5cBGTz6BvVcDztw%3D
Output for 5.4.28
262rd5d5zIunZK2pT80yNd8io35TJ88p20u3CZ%2ByGeg%3D
Output for 5.4.27
g75Z5MjVpMp0ck4l7Uskp6hjJcT2K3UHZI%2BfmO5kqX8%3D
Output for 5.4.26
V2auX7aE94bVWZNOnNbd9xIFaFGb5QodW7G71ODmnTs%3D
Output for 5.4.25
yCLhCetLvOURHsxaDreLoj1wqmLN0VuvM1AlYwJ6Kik%3D
Output for 5.4.24
DKqX6SRUvIA6a8Ro8jSAMmf97y5BpUkg9d9NJLUPUTI%3D
Output for 5.4.23
IY078rHJ1y%2FmnPigLKsKA7okkQEeTfbCJMfoeVTuH3g%3D
Output for 5.4.22
thVRFf2NMc8kv9hXCl9oAvEPbVjpULwRzG8yAOj2AmU%3D
Output for 5.4.21
l7vS6sc3TXbq3bFLyl2w1Aao%2FPlPgBD5KedgcSM5mlo%3D
Output for 5.4.20
epSSshhOBN6OHhwGcJKOrS8pI1zxTiojbb6eeWEt%2Bvo%3D
Output for 5.4.19
iXW9Ot446NNvwmYiFDTatK9BvcGQo4ESGAI9RCt7fuM%3D
Output for 5.4.18
mpXgBFEALUsgNWi6%2B79KG74yPZ2hvIjlii2R6udhfPc%3D
Output for 5.4.17
J86etxYow%2B56kFat7Q922XUO7xcolmlBAGPDvUl3I64%3D
Output for 5.4.16
sjPETJ%2F7gcldWvQNhE6nA2oqUjlmGEFVSeZwqApd7n0%3D
Output for 5.4.15
sPbB6fbyBIEcZLJKoTXMmLwAsMo%2BqtDqLgAcIBPh48o%3D
Output for 5.4.14
MKZ2r8jjfLXBZDFWjCpdfgeA%2B4DbQq9D2I8IEUwUoVM%3D
Output for 5.4.13
wENjEOwBXG%2FiLBelOilQemLsiWBF5OJCueavSQOiCvY%3D
Output for 5.4.12
pIRheNBDwBR%2BDLR0AG99qd24e9yOojSfGfzQrdukMPs%3D