3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $kdmember = "6000073314"; $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/2GJsJ:5 Stack trace: #0 {main} thrown in /in/2GJsJ on line 5
Process exited with code 255.
Output for 7.0.5
I%2BCxMMQLD3JvVC486sfNzWwIriXgksBL7gdBISqZ7kw%3D
Output for 7.0.4
lmf3ndFdYuxHV%2BhBMVJgBiHspdr8K7v708RJb7Dbzlc%3D
Output for 7.0.3
eMC5jGfZtnPYDoqFfLTXWjlBaZeMQ45SOjjsfu9MuZY%3D
Output for 7.0.2
AMd7VfvK7Vcjn6UNIqxJR5E2wcceu5Le2C5QCQ6n8VQ%3D
Output for 7.0.1
CK%2B15NFqGxZ6RJGgIP5NC975u%2Fsr325oK3ZDre1d7P8%3D
Output for 7.0.0
GoHUzT2W4O1CY4RPokIm94OUmsFWrHH7luhe7j8X6Lo%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/2GJsJ on line 5
Process exited with code 255.
Output for 5.6.20
2o8Q9XB2Hoqei9Ww5ShNab4s3fGea%2BrKiP%2F301zREiI%3D
Output for 5.6.19
C%2BfPOtmw6WeD%2FGUgFCdlNFPjsiHvaCgRWCaxUrNOZo4%3D
Output for 5.6.18
YrFTH%2FdbwD8bHDT5tm%2FDV%2FvWey9Csen4193o%2BWHpSW0%3D
Output for 5.6.17
HkyfX5TEu3eVAmwSizJdkeP%2BeG9zyrBfy5qEMx0X1S0%3D
Output for 5.6.16
Wl01Imbf98CcixnHBOTn67%2B%2B1KabQcRHT6W1HGDZm%2FY%3D
Output for 5.6.15
frQPUq0PNxXNoNco7uy2GTVteedzmIY62TkUwKHU42g%3D
Output for 5.6.14
yuJ8cwF%2BQ3qvpWelo%2FfcCSbytE4SFXkw9f7TOO%2Bk0o4%3D
Output for 5.6.13
FntY90mnp5jSQCrpMQJK7q29OYCN5cU8il%2Fn310%2BcP8%3D
Output for 5.6.12
rao7CMdYbeG%2F9W9kL%2FI9N798nxqPhOFpF4d9jJQ30%2BU%3D
Output for 5.6.11
7lJlUL%2FdPOmwNcC7bnxsqaoAhmVBredKkYz2kVXBymY%3D
Output for 5.6.10
NmAAANEXb9cE3BDMxrxiFmoOWguF4ya3Sgis1IX4WCI%3D
Output for 5.6.9
gUFeAqoFkTn5%2BE%2F3mZPis7cbbGGa4%2BH9Jus3lEYBbpI%3D
Output for 5.6.8
XHZwj2Csv668XbyEH5nksXZRL%2Fr5gabwROx1DNifI1Q%3D
Output for 5.5.34
pyypIfL94Ptd7oSL9W%2F4aGRG265VXPGial7%2B8mpq3Dk%3D
Output for 5.5.33
clEdw423Pf1BsbGlKxNv5tx%2BD%2BC8AuleclzPGrmVghU%3D
Output for 5.5.32
eOuN2xby4mG6DFMmYpAKqFDCDXv5%2BqkGqBRHmf6TZ%2FI%3D
Output for 5.5.31
1XViLykrUtMyqvusXUOg808V1M55JtISogrJFWOXpN0%3D
Output for 5.5.30
8q%2BUQzB%2BQegN2dwEMhryHFF%2BHkZtxXacecG4LXqtjfw%3D
Output for 5.5.29
k%2BE7oEp2zMjLEzxcjX0ScsaItKVLTui5SdGTDac9k34%3D
Output for 5.5.28
JNjbznfluEM0upX7Gm4RB4yThQKbHqM82HOafRTte0g%3D
Output for 5.5.27
hoTLHurJdg8A9iBH1cLUy85ruu97NWlqV3trRnIPxco%3D
Output for 5.5.26
wlja8cEya083ZH7pg4YBG42R16YXHhjOV%2Bvp4NSlJoI%3D
Output for 5.5.25
zAp%2FKaHgnhuXR4oxdD4t0lEd37fAGNejfshTCnkrRY0%3D
Output for 5.5.24
VDaMLe7r6yhVY%2FXDXhPcNyldwQvIGxYF%2BiErDOL0f%2F4%3D
Output for 5.4.45
UQnieDRtqqIgEAYZOrpvjXIUnDHpnHLEF9TKhhnoijM%3D
Output for 5.4.44
7FNli1z4m3fgxkt3lRHL%2B4Ss68MBeNmouzsikDA8q9s%3D
Output for 5.4.43
2zh%2FxNH5bgBagm3XDFhsLQ0cruBgIFufa2JY%2FmXXG9M%3D
Output for 5.4.42
odk4yS%2F03C1Mu%2FTPNL54OcqhupMDBviuo%2FsC7rEt9%2BU%3D
Output for 5.4.41
khbuiu%2FJpiJk9XsfH%2BHKoM6kfqVbuzJqnS5f5RcjGWo%3D
Output for 5.4.40
cmkuzRKOgooVCylSjFkxYjrNEV%2FT6KCy8Os3Evc3SVU%3D
Output for 5.4.39
r6v2TTeVLkDbRskeUgZ4u04BKmD8E3QH3iGCOVwdZwQ%3D
Output for 5.4.38
irw0RxqWnT7QsBPhdGiC1JnVuVRdB2WCRL69NhP5arg%3D
Output for 5.4.37
MTbatNLjvHXJ9kNsd0RvAPm2bbxsdtpzRQl6deJZXzw%3D
Output for 5.4.36
RQfwne7FbMEuJczqo9ScmhGIOC9oE%2FoOr3DBKxkJxdE%3D
Output for 5.4.35
nliHDRB4u%2BxcDarKwPtgj4Q6wjRN7XYvA%2B8kw507ZGM%3D
Output for 5.4.34
rXtGb9OlT8xoCrDejhYHuvS2h4n2MV3f9LmemPDWZT4%3D
Output for 5.4.32
3V5wBcF57G32rJB%2B3WUfLOKZrV%2Bl2n%2Fa9kHS%2BiYytXE%3D
Output for 5.4.31
6e1JoI5J0yD0fVbwm0cuq%2B8DCCrMNXVE7G1nN9FnFzQ%3D
Output for 5.4.30
Zb5UdE84F9D4%2BBzc7CWqMBtenIbZZgZ7rxdEJsiLYn4%3D
Output for 5.4.29
sYJfo9Tjr3I9ijpq6CFThaZ5UJzo1Hn1TGhxv63WqVc%3D
Output for 5.4.28
VW31bJ%2BgIL9qlR1UBGd7BvLrQ3SJhj%2BFYm5yAeR%2F5Bk%3D
Output for 5.4.27
0YaYg2uMjEiybQCoy43RO7y%2B5UHPicpsAQXOJxMTv7Q%3D
Output for 5.4.26
14qGZ1qGc1m7KoccQTLtcRQeih7s1qJ56pH5Hz6zbNM%3D
Output for 5.4.25
qOey1omyZcKIMEH9j23XYD6E4WkUJUI%2FsYTrjvIlKxA%3D
Output for 5.4.24
OwJFyPYgcfVpLBFaCdbqU4zJ5NVGaaHUjghy3whn4aw%3D
Output for 5.4.23
%2BXyl8lKwu%2BlmwYcR8ycdMuIM7689JVgdbFinKD3BIDo%3D
Output for 5.4.22
5%2FuxfCSgpAW0HDRhtoHrQfSnFRP4RW64ZE8fvZXloBo%3D
Output for 5.4.21
jfsJ2ej6kwUZOE5ULbftvUFnkG68rzKuPjOXJtPZytE%3D
Output for 5.4.20
2BmnNeO%2BcL1lUizEFxTiBIqA4dSrL2eOdL0XRoM7aRk%3D
Output for 5.4.19
VYu8K2CdIw2lsCzbgZ6CsEi7dxBZlUJklh2V6e68eOo%3D
Output for 5.4.18
0Yu4aRYB9oaYNofAQE5chNusFETTr9LPBV81Czqzlik%3D
Output for 5.4.17
FXKQhVGqCYKNL%2B4w22iNFkdrS0LWlNlwQ6jPAnOR4fI%3D
Output for 5.4.16
TpMq8lppFbLyLHgZP%2FKeDf1ACm6Mwnz3jONVPkYQjwM%3D
Output for 5.4.15
YQyaZyxfnz462ZTiKlwFSCHaH2xmQFVO0MeNS9K7tds%3D
Output for 5.4.14
5VUtkcMw99wF%2Fpupv2aSHhftRoODj%2BPGdRp5ntI5MaE%3D
Output for 5.4.13
uMvWDYeLNeO32Q8vNYiiAp3EDVJJtkmQpzO58q5woxc%3D
Output for 5.4.12
nSqG9fHOYWCNJTFN6htt0LslXkn0FvYD8Pc7XtEnOnY%3D
Output for 5.4.11
6S4Ph%2B67XtepSNa496a%2BQYix%2BktIdbX%2FDxXXLUjfo1s%3D