3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $kdmember = "6000035804"; $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 Ws7cX
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_iv_size() in /in/HMKNm:5 Stack trace: #0 {main} thrown in /in/HMKNm on line 5
Process exited with code 255.
Output for 7.0.5
CJfSJ618uKY%2Bc7qcGh4xahA9P0fqakA8OWDgPUk83MY%3D
Output for 7.0.4
JwPlUge6L7n9FycUVOmmTiMHbmBMlCaOE7I72nbJw%2FA%3D
Output for 7.0.3
QPsECpMD%2FTsf8le2neR0twleQycN1ljVzLC4vUKSTDc%3D
Output for 7.0.2
3jFxbKBZq2OHUXPPJP2TL7pCkV8w5wz9gfxe2XgMW6M%3D
Output for 7.0.1
qqr%2BQy26LNc0MTtfRrkOVVcRuavz%2BNTBSADrZZ9M92g%3D
Output for 7.0.0
JISqfaWV1qIP7%2FT4kgNgiRyWq2SC8T9uMm7ijxSgS0Q%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/HMKNm on line 5
Process exited with code 255.
Output for 5.6.20
R%2FNoT7pOrL%2F690vlt8QkrLFjSIzL83HUHtZ4v2Am0w8%3D
Output for 5.6.19
f6dLLtHQbM4qKPDA6l0muSMnITxME6jWa%2Bm1PlASwU0%3D
Output for 5.6.18
baWc3%2F7c1cjWIIm5hqRV%2FP9v%2FJOo0JSDxeYEfRZ2FaE%3D
Output for 5.6.17
sUO%2FgmwSeOhM8T47DAKRo6c3i6fBv6q2jyKMP8y3Px8%3D
Output for 5.6.16
edjJsECIML90lT6tm0D8%2FDXTHp%2BDU9wfn4NEWbsTERQ%3D
Output for 5.6.15
d2dUgyThU3Erg3raOh%2BAZxYu9W5zypMbCFIzQi79Mgs%3D
Output for 5.6.14
%2B%2FAEcpgRvcva2mmFyTE1hP95B5ezdLUaX%2FB%2Bv4dbLr0%3D
Output for 5.6.13
C9AetFfm8OfXC8u0ACo2ofWtYMwYBtna08RpkSeh%2Feo%3D
Output for 5.6.12
PLnYOfE75g8uL5%2BwTj6YkslMh2gv7lc0OkINDq02cig%3D
Output for 5.6.11
fKpr5LX3DQsb5R6ZKNLmShtYVEciuo2hsl5jgqwGFt8%3D
Output for 5.6.10
P%2Ft4o8WEOWvR7LYHzqV18iJbOuqAI%2Fv6phu4gTU%2B3io%3D
Output for 5.6.9
tlJ6YLCulWqGmwA6KzqsVfsHnKg00QGvQvj%2B7Z0UzbA%3D
Output for 5.6.8
MULF2PcrIQy%2FakjZOv6F5zU0HsqWDDZK%2BhS9iarsYk8%3D
Output for 5.5.34
LkvAIqPivtB14y0qa2kF6AJ13F00aOngg%2FwKHI0WfTo%3D
Output for 5.5.33
MRMZ3XP4Xjs0zXL5ugxXCJVM361qopDgjMGfXqa86Xo%3D
Output for 5.5.32
3RgGNs9eBQytFkg1X21YFGczPzebuztCA%2FXWpSRilvE%3D
Output for 5.5.31
SqGgEAVKuVl1UvAns97evmZyDpBxeGCUQkNL3pskAWE%3D
Output for 5.5.30
%2FJNJjYDtBNCbvaj%2BW9A1KsuHfm9kOAwCGXoCKnxL3CM%3D
Output for 5.5.29
oSD10%2B2kAl0q9F2lgCQG1BJwyLl2LeqwV8HUwaD8OBo%3D
Output for 5.5.28
Tsi2MU5jrsj67i%2Fh3CZKUH4nhF4tvhtx%2FyLh3%2Fi8Y8I%3D
Output for 5.5.27
zHkuSBXKdXaTsy7vsy2oqYcH1TOhfx7r7CH%2F0mCqsqM%3D
Output for 5.5.26
EhDR0YHzT6X6fJd1jJDvXRdHaACIgRZT%2FA32Fms34iQ%3D
Output for 5.5.25
tuaAi20Q3ux95sUHanzjDKdgX8ypt39AfOZuu59MZ28%3D
Output for 5.5.24
Zf2sMiCXzcfv%2BfrqwCRRxJOmECoxsZe4Y%2Bswsx5L%2FMs%3D
Output for 5.4.45
LWLb63UUjYIRRZqeV6X5%2Fu2B3MwTkh%2BoECAuyav3BZQ%3D
Output for 5.4.44
Z0CneblxJ0Q5G%2B9wG%2FMq0%2FjuldSoKrh0adilLcwuIbE%3D
Output for 5.4.43
qB%2FXkRb4%2FN8jrsIo6WQB1aE8etcdCGqE6ksgMpTiJM0%3D
Output for 5.4.42
1U05MXLTUr3tWg%2B5QoVnyFf2FZHp2IrVSypLG%2Faord8%3D
Output for 5.4.41
lQ2JgXz0efFcjniwh3f4QxppiNO744br8vr3GXpzQxs%3D
Output for 5.4.40
H1xCnKltAvacI4yTk096CHZw8BWJcWUoml%2Bixrc%2F7R8%3D
Output for 5.4.39
gkQVmy0DgIhGT1qpLoVSndEgLyVkt6PLgyhZepB%2Bmn8%3D
Output for 5.4.38
bpBabgfYUXgh1U1BeWc8hk2SupPbjKKrXurdKm9GQAY%3D
Output for 5.4.37
VwAORTNnvOZK5c8Vtyy1yF53pW%2Bv%2F7ZOeM%2BRCnJlbm4%3D
Output for 5.4.36
2616CcnOII%2FXLWBYQne7%2FJWtp07WXOq1s4HRM%2FKGZFY%3D
Output for 5.4.35
SsN1VJ0uBJr9ynSS6t1lwCalxByJk%2Fn7n707G7rJgzI%3D
Output for 5.4.34
W%2Blh35ueFaEwdQQ3K64JoTO22tpzAFGDG2kqIk2LkP8%3D
Output for 5.4.32
BB2Wqs4G0jck5oYBJ2mK8i321sajPqxnXdzwS10tk5o%3D
Output for 5.4.31
xYYPcKrAdrWXeaAKA2lQJ4GNYOrBnrZRHAxpbLG7zEM%3D
Output for 5.4.30
x%2FdapJv05LflarLez1NvoSXypmyCIsJZBM0r%2BrREWcM%3D
Output for 5.4.29
xsjbKS7lgoAff5tFXuAckgohANX16dljMqU9FfUK%2FxI%3D
Output for 5.4.28
wWN%2FptPGx9BoAar9zKcMu9OSbYqGDV%2BH5yCYPvVg1Xs%3D
Output for 5.4.27
PjStBDqRe4%2B5dIvigygxn4Njco8rh3I5ExGFFL9AK4E%3D
Output for 5.4.26
khKC1w7et%2BivDzMmqdsj%2FUd3lamrLfbX0y6VPCNTQ7c%3D
Output for 5.4.25
3H9ocjIjoyiW%2BfYPWihrIi%2B3zfG2hsnINur23yzNhws%3D
Output for 5.4.24
lkUed1%2FEBXf61Io8kGBxexAPlql%2Fi1SDp4fmdzKU5Qs%3D
Output for 5.4.23
J%2FKXgEmg3w0lmbFGzX%2BWlV7uD5WsPik7SXmHcrIgpAM%3D
Output for 5.4.22
0eze69NNHSsd8UYMViNI0PgqS5W8%2FOP6OQHsJXlJ11c%3D
Output for 5.4.21
4P3CHvhTo3cOjP0E6vmBEENJo0HHJT4infdLYx%2BivR4%3D
Output for 5.4.20
VzlxozjMwlXcirpM59VmXDhl6Lid2cU8jUxm8n641oc%3D
Output for 5.4.19
2%2FErgIAts%2Beu5uyz%2BPAYy4ib%2BWpeYzETcMAfVlyOSPA%3D
Output for 5.4.18
kdorN%2FOzJYHxnczUBD%2FBg%2FRG7PDI9mYAiLiJlaHXFRM%3D
Output for 5.4.17
mPJrV10nIAhhhrakKNoFcsO%2BajUReAhX7cAXIQnP%2FAM%3D
Output for 5.4.16
AjG%2BEqAcHH1Q9nNfBzueMCPi3ik9HyK6W2AtK0SFjzE%3D
Output for 5.4.15
AjN3dI9Yrdw%2Fd3IdkkUMPnu7q2SUQZtjdtoLuaf8%2FDE%3D
Output for 5.4.14
dgO5E%2BfVn%2BP9%2Fd1aIREMUB4%2BdadgbrEr2xbvik%2F1o5I%3D
Output for 5.4.13
hdwvfVT9pDjLOGZsYel2c2pxivxFY%2Bq%2BQZ0nbayFl%2B4%3D
Output for 5.4.12
hhqIZhLlhUeOuyaCbWP4XeDh9djBucYkt0zBCIDCYHM%3D