3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $kdmember = "6000014782"; $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/3eT95:5 Stack trace: #0 {main} thrown in /in/3eT95 on line 5
Process exited with code 255.
Output for 7.0.5
LFTWRLVbTkpBbXRSoJnGdV%2BnPo748VtyxXiX63J6Df4%3D
Output for 7.0.4
gVomhyo7pYQT6GodmseCBNCswSRqGvPkQdHy%2BB%2F3%2Fl0%3D
Output for 7.0.3
bnEcHCjlqRbXrjvtDSNGic26%2B7HGsOlKUcwsOhl1or0%3D
Output for 7.0.2
mPBOwcwm%2B3qXFyp%2Fc8oyte9pxBverqOSgESVX%2Bdbl%2F8%3D
Output for 7.0.1
IVanF5RbYIkPqgK%2BlrSOsbkGIXi5%2BTJnbmz5IDv4FSw%3D
Output for 7.0.0
RTP1DLm%2BR9kqc%2FbcI9c%2BVpyLIoSZDA2LeWFBStiu5ZA%3D
Output for 5.3.17 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_get_iv_size() in /in/3eT95 on line 5
Process exited with code 255.
Output for 5.6.20
9urH5BvMWe2QwJGAlwHHM5ZHaFZbckMlxH7h5VMvbjY%3D
Output for 5.6.19
2jt94sxsARfCGbVY688lusbZK6WbNrNc6vXM3kpQjSE%3D
Output for 5.6.18
SYUCsHLM50zKB2%2F%2BZmfAGT8i5yKbmzz7MRvSiONbcwA%3D
Output for 5.6.17
4pqzP9zIkbxg7vUfwxnC7zQnmeYyDmjyzACtgfFBdNs%3D
Output for 5.6.16
r%2BPOThUGrMYfGm9RjotuCFeKLiKxFxwSbTrLTc0H4mc%3D
Output for 5.6.15
F8vgp9idJgGeFH2pb%2FOE9KDLSBkS5nJjPmejuAca86w%3D
Output for 5.6.14
JmjkVXoVLtdC24%2F0cWlrYsZoqr3To3LTdYjQcZiEdgQ%3D
Output for 5.6.13
c7q75a4RayRmwj0bojRyRVS8K0RoiybuhbmOBb9XYZ0%3D
Output for 5.6.12
04Plw8bRgLgV57W4w51WRCtWSrbVM1VIKrA%2Bs2QReQQ%3D
Output for 5.6.11
NrHyZWZrEf5N0qCDCHahHzZo2fi9C6Fid7qUeg6%2FIWc%3D
Output for 5.6.10
BaJHFkgHDqOrOrfMEnVLQ9YlABGzYcB%2BzdWC3YMg6A8%3D
Output for 5.6.9
q4GL4DRSh3VTZ6S0fbmYrqPfjxc%2FjAOX9hMhFDbXvOQ%3D
Output for 5.6.8
fZLkMKqgVp7sQEqYrK%2FjV8vBUaNPKrAEO0a5V7mQivY%3D
Output for 5.5.34
%2FHX3rf11%2FGNkXdbX03LXdR4nyPoLK09WOH1hDuJBhmg%3D
Output for 5.5.33
eO403kkyJpKQE4wsPF%2FqraDrHQ%2FScTOuxXe1u6266kQ%3D
Output for 5.5.32
K1W6ArqW0oJOjzWCvFhdFX0m03kMzaBQ%2BkR2yM7yIXA%3D
Output for 5.5.31
oGsgRfOPuW3UYGNqnGRkdVPjSBonqQmhEzjvlkL03Iw%3D
Output for 5.5.30
ZTObwXarOGwtQ1GhM%2Fcg1AUT%2BcES2ZIzXYLSB6O0Jus%3D
Output for 5.5.29
HoB3Vyk012cySKo1HGsMNySNeGjzb%2F562FjE%2BXvKQ38%3D
Output for 5.5.28
V5%2F8GguOx2DuT7RJlQhxBMAAOXhPJkhQUrH1QPuJjzE%3D
Output for 5.5.27
dImz7ra26y8I%2FKskOCi0h8ozYOWqrLinElbEBU%2B0NUw%3D
Output for 5.5.26
EOtwdTTcCx4iGOUIq1BArOPPBwkA3r%2FTkDZ4%2FS5xalg%3D
Output for 5.5.25
HvCFf97jrdJFeULKxi5QOWS15QlxI8vukODCWWVorjI%3D
Output for 5.5.24
gckJ6S0BPjx31%2BlTAOHAyr8RZIdu4u7dXUbaFZBF8xQ%3D
Output for 5.4.45
NjYmsRw1BMKOPzwXIWeNXwhiRGUh1HkAUdL1%2FuidbRM%3D
Output for 5.4.44
7VGF96WeVYPbFHHj0hD4%2FZaP0W8e%2FD%2Fa5Krs2%2BB9QKU%3D
Output for 5.4.43
aBJRqoWn7TQBue1GIkwke3Q99bc71G8Lg2d9W1W8Lts%3D
Output for 5.4.42
SkWMzGnFa%2B3cYDPffdulEOm5a6BTvFcA2qkR8aMi340%3D
Output for 5.4.41
ZBR6rySM59YsMLBNNd7MJrdOyKZB4TB1MfGch5Vod3I%3D
Output for 5.4.40
g6hvD2zPcYhCGKe2ClEadBoVEYW5MUiUXmM72j7W6GY%3D
Output for 5.4.39
qPhFt4TmKCkomKH6pj1h2SAUKKHPwW37dN2KkOJbxQQ%3D
Output for 5.4.38
fp9dEIbvruJd04zB8VjpoWHFU2ZleH4C10%2FK9APX1EU%3D
Output for 5.4.37
zeajXzoYzZozgvi6nCyXIjQ0nSSAIZy78%2B%2FO3c%2B2drk%3D
Output for 5.4.36
IgKPPn0AWCt3pADdpQqNMS9HR6zLGZpFEIcPDRy4e5w%3D
Output for 5.4.35
J7fWpqaS%2BKd%2FG0%2Bn1xYzgL33hK%2BDc137RJ8NzgzR8Ec%3D
Output for 5.4.34
9S508XMQIfue4JKWi1BkOndaLTbYySzqmst9xcga5LE%3D
Output for 5.4.32
na%2F464LKMqV7U5uo9LdQlobLvictP5yPVFd0kvRy6Ak%3D
Output for 5.4.31
V3RpHVWEiN4q81RGiT2v%2BhNx2V0SXJBXND66VFa%2FenM%3D
Output for 5.4.30
FYwPAVOfVlBHTcmGJznkIsNqw7bXtoQ2mHzH8jBGCSM%3D
Output for 5.4.29
3hQ0sKPzKrxM19u3OtG0LPqobt1asKKFzjXVkPvtUJE%3D
Output for 5.4.28
4nzWBqfu2yFHt%2FPgfBAXjmIJPbhI9aCDD9mZjviQwp8%3D
Output for 5.4.27
3pxpZe734thJRw5rT%2FDk47usjB%2FdGkX%2B%2B8YtjezXHWI%3D
Output for 5.4.26
yC7jtTjNqYZ%2F7ZdZJKiQQr06z5P98F1Mq4Zk0mqqSwc%3D
Output for 5.4.25
5KJGfKi%2BustV70BqRUbSsIOrpa7DBTV5O%2Fg25taYpH8%3D
Output for 5.4.24
WtVbEFtQlf6vK5CPONRuJF5YqzCrQx%2F3HuijJFUO87E%3D
Output for 5.4.23
BLd9itod1Aa5ajjGm7ejgf9xn9W3qiPI%2BkMAWAijJQU%3D
Output for 5.4.22
xrKV0mi5wNcU%2BjhjY6755ha0KDGJG03gpD2Z801YYVM%3D
Output for 5.4.21
W4AHccjpwytijtXDKiWWV%2F0L%2FKwY8SyyCQBKwCtJuBE%3D
Output for 5.4.20
d32s2%2Ft3Ve46toIE8dSBysILPTULUK1mLJvL3DPRMqk%3D
Output for 5.4.19
nDkb7MaaSQ%2Fv%2BGE%2FAWe5BVKK%2Bf%2F5m126hm5Ii1YBQrY%3D
Output for 5.4.18
Q7lExw0bfr7MwF8voXMxEZBQiJ9gg41RKduFxDPq%2B2I%3D
Output for 5.4.17
OnOp3BOTwtuk5IS1sRF3gstloVxf8ZTnMruo5fy98JU%3D
Output for 5.4.16
Xw2%2Fr2Dot650H6FolqSdWOWfmtPI6Qr6ZzeXdIDAYKM%3D
Output for 5.4.15
b5gT6X4exaEI77it8GWx49OfVQpkXiJwq43hKnfsihk%3D
Output for 5.4.14
782oFaNgf7hV8m%2Fc4AfhCy5SJsi7vmfnalk1VwTNtzo%3D
Output for 5.4.13
N2RrNrDe9gzGSggMSIljn9wS%2FaMWmt9EWTHUA01HNNI%3D
Output for 5.4.12
MMe%2FMqzgh6xTYVUfS%2BAhDhTbDMfqUtsFGbhaTHd0MPQ%3D
Output for 5.4.11
wOL0f7VAUhYCYvTCvy5vdlmdNrh8Qlh%2BkUCNo2fGqoo%3D
Output for 5.4.10
ruRyGS1lo7xMb23uGEUQmnO4kcq3FaoR%2BWYg%2FDfvZQ8%3D
Output for 5.4.9
lta%2BMS2Yy332KsFzh82Vskr6KU1w6l5yCMe8zFrEw7M%3D
Output for 5.4.8
y%2Fn71hmZOGMNTFBAZCioGZVEkNmGwOl6GqR%2Bp81bhOQ%3D
Output for 5.4.7
pPFGjOLbfludIsd1gpD8rZi20XMPpYU2aWzfE6Zzihc%3D
Output for 5.4.6
5vpRvK5zHpVSqoEyyg6h8LHK9tgSOt1E8LpEK%2BBI1WA%3D
Output for 5.4.5
VmQAVLm7Qroe4j5z6sPN4jRGPM9fhnOQecPgrde%2Fx%2Fc%3D
Output for 5.4.4
pNNN4iD6hB7P%2BwPFb2rUoVdMrb7waBjOHBg%2FifeehLA%3D
Output for 5.4.3
fDBkBok6Qet3INjfbArcHqh5l8qfi3S%2BQ6K5%2BFX3huc%3D
Output for 5.4.2
8NPL9nahS3cC78OZ7jRuheWXjBmemd96OY3NOfdhDxU%3D