3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $kdmember = "5000631628"; $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/LConO:5 Stack trace: #0 {main} thrown in /in/LConO on line 5
Process exited with code 255.
Output for 7.0.5
VCJpKqV7ChuoJOPwF%2B5NaD726z3NCKn%2Fgk2avMhOHQE%3D
Output for 7.0.4
czNZJ2ZqdeMwDpuEvr56TBdozrLY1UmLqbA0Bdn7gJs%3D
Output for 7.0.3
tNb4DZm3e0eI17OJRGiAeQKKBfFeaIgI1MTjFdIsk9c%3D
Output for 7.0.2
3SU0aPpJOse136SczUozih9Ful9LGvRQ6U2mtJUtcSk%3D
Output for 7.0.1
c9yiFabxx2jWbwKnEkPLDFWM5B5%2BsZHCEUBigu1pEhs%3D
Output for 7.0.0
hgtNb%2FTjVsfy2KXKmsFSf8ThR98U4j2iFWx5%2B7xBc3I%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/LConO on line 5
Process exited with code 255.
Output for 5.6.20
S36ESq6hPe8KV%2FbYMRGyBzzv50lNrf4bAbsNIu%2B%2FcV4%3D
Output for 5.6.19
kZeFT1FUDHypxBIbOBeTkNCzJDohs%2Fzjxn3YqVUVP%2Bk%3D
Output for 5.6.18
iGj5Dg46cigFMxDf7TIju8uJJ2n%2Bz0od8EJjZBunIjE%3D
Output for 5.6.17
C1jaAOEADrKYCxK1FAWEFEbQfcM96X58p4qmHpbFrw0%3D
Output for 5.6.16
zfE835iK6MrbKCE4QMWWFNlhZfIPWfnRnXoYWAr1Fzk%3D
Output for 5.6.15
tXk52RgM8vZYffdzc6TOzqCkQ1nxz%2FYeVLQh6Z%2B4CbU%3D
Output for 5.6.14
O%2BRm67ejJQr0DGj2u2F4xLeCMgUttpn2DKbFzzviJxo%3D
Output for 5.6.13
l15KgQ3N2zUe0pTagQrdYniEERGwFnCERGhkAdqpQ%2FQ%3D
Output for 5.6.12
Emi0Wh%2BxuuFt3R1i5toIQetAiBC55uGvzSEe8FBlOy4%3D
Output for 5.6.11
4RuWU2zXXlnX3HJlvxu6q%2BDiv5euTOUxE4kNh8tD49M%3D
Output for 5.6.10
1lobrCeY115SPmtWLymJ3YcjMxYWJfMauPvsWPvukqU%3D
Output for 5.6.9
zUCY5gOWbIVF5vPhqu0uXiuu7TOwlGQfwjGUxfUEtt0%3D
Output for 5.6.8
WtsJGAxWJYuEMC8i8BouRBGE7o3LBmLLob02%2Fz9zpi4%3D
Output for 5.5.34
5xyj9z95gydvTlF88F83vZv0Lw%2FIHCTG0MvMPFSsYGg%3D
Output for 5.5.33
hwk2oapz8XbybLLvNr3xtO80zxvoniqhT61wyaJDBtE%3D
Output for 5.5.32
kJGAiHRqjvSM8wEpbdatX9aia6q1Y9%2BsIxwLMtw9AdQ%3D
Output for 5.5.31
f7%2BTnqiDIsiwo%2FiMC8evdV0RV3LR7QbVIpSvoFMc9ms%3D
Output for 5.5.30
S09XejytrUc%2BGDWcX%2Fqyxn7OaGGdKYHCLl8%2BcwBFeJE%3D
Output for 5.5.29
boX1E%2B4Cka03c%2FS14QG3gpFk68y0Y5zWdYIx6wPxRpU%3D
Output for 5.5.28
%2B3XHKSgZtLWAkFiDu3sHogS%2BGu7axZPJ6zQMq7TjtAg%3D
Output for 5.5.27
Q%2FNFB1TZ9MtM6RW3%2BcPQ33lArVGGCb7MkUBb36qzarc%3D
Output for 5.5.26
FSUy85vHR7aL0EFQOlpuUEGs%2FgsOB51vWUQLoCnd92Y%3D
Output for 5.5.25
H8Pa%2BbU8LIrY01hXemr9EEzg6%2FuRXb%2FSiavvWJDFVmA%3D
Output for 5.5.24
UUvdQhy8KuPUitoEw3LiiDR0OE8ttCcjxgMYXGll7U0%3D
Output for 5.4.45
Wcdi0djpvG%2BgU730KwNeYtthMsoMnMOVWuWLnrDVHuY%3D
Output for 5.4.44
gg0eCZz0T%2FgkgxP8guZVQBPDR%2Bavo721D9Qa7ec4i7E%3D
Output for 5.4.43
%2FrNqtaOdqqmHFDyUHyD49TpNE%2B0cUmIMmVs3OygfGGU%3D
Output for 5.4.42
3ki7zciFDzXD1YJ5pi142DGT1cnb2Q%2FB2rWH0mo893o%3D
Output for 5.4.41
FpSSvBskjtBWiZyDLoFuNsWqJ1ZiOj8QgNl41neYEhM%3D
Output for 5.4.40
i17xGrOA4uFiVrx4Zppd6JSjForS0%2BVXmLxnMTZfNuU%3D
Output for 5.4.39
EtuKBPjy3ycVxsQEuCJx8Np8TyLdSugvPka0NzswlGc%3D
Output for 5.4.38
vpxmjCg%2F3gvoOh9st20FRF6uoM8whgsFqbk4RK9Ekys%3D
Output for 5.4.37
Nje%2FDVjTLbzowwEwrjPswHlN19zSODTu35VaI0X%2BEao%3D
Output for 5.4.36
67h%2FEuRocrBnNTWeZ3TFnRAFnjBmg%2BkNeN0VLImc2cc%3D
Output for 5.4.35
HpHZVliJEE9EeXHzguM0Snj2SlYjHd81UhA77F4zbAY%3D
Output for 5.4.34
VvG6bWzQbJvMRQQkJQKykBL28xFwRlBXqgxL%2FYU3Yt8%3D
Output for 5.4.32
reW386T9X9XR4KkNLN7Y%2B6pdMDz7NNc1CRLPFHJrli8%3D
Output for 5.4.31
DRW%2BUD3XqENkPV%2Bnlko%2F2VaweynGW1dO0c%2F581L3Zkg%3D
Output for 5.4.30
9GbCinJybfds8ybPAe%2F7BKiR08ZM1xlo5mMa8HvhiIc%3D
Output for 5.4.29
rMxhchQdws0zLLmQI%2F0s0s6TjB7WmRetzizcgxymOO8%3D
Output for 5.4.28
HWGCr53Xz0yWPMw25JsDuzTRFP8eKCITeLrUaWep3%2FI%3D
Output for 5.4.27
shOgptOkbY2XnksF0DOrGG0kfAE70zZj7ARDZMY0viw%3D
Output for 5.4.26
j%2FLFUd51eEuusNGju8xzqFmGI2b3ZExnPXGIeOYZR8Y%3D
Output for 5.4.25
7HpHIbEG%2BFYhaV0V0iI4RrtOBqHr0DuhNJYDruiXUQE%3D
Output for 5.4.24
5kujAB75NPB3eNM8NzFZyevC3LOJPIluzBnZtBd4%2Fp8%3D
Output for 5.4.23
A%2FiFExJhoKLUU%2BmveDoc60wFEu%2F3Dxn9F62fu41pQuc%3D
Output for 5.4.22
IekZHV%2FiyoyPZMAF2iKh7LgmCzccjye9o8Gjf0o7qao%3D
Output for 5.4.21
BwzLjqQ0zLcQLL6TTRyJiszCP5d%2F4hKxqDEG8%2FpihBY%3D
Output for 5.4.20
PreZE2cy4W9yMT4SKYAde5rL9iovN9wjWeNRvvcKAk4%3D
Output for 5.4.19
EMp5kBvUyGEw0VNNqXT%2BQ5yS9UOPb8OQyUOKuNvHN4U%3D
Output for 5.4.18
hRQ3y0roOipxGkPJhM5NFHw4Efck3wau7lhpojNxlcI%3D
Output for 5.4.17
qXQjMNKCrJ4LWPUsAAK8EOEA6gZFrAFYvQ3ewkqiRaw%3D
Output for 5.4.16
n%2F3MFIDmOKhouWDIR5cGF%2BmYylQA5EtGKtXYJOHVWFU%3D
Output for 5.4.15
lPgkCMrloNn0UFNSQW14sj9zgWqA%2BHkjknvIVI%2Ff6VI%3D
Output for 5.4.14
SPRkXRuW94YnUYoWRlGHAFRjFSeauhqrI%2B23QnFNNSs%3D
Output for 5.4.13
b5PASV%2BX2YkY4RIy5lRfHvAXCz5%2BlExzljFEHp9g%2BuE%3D
Output for 5.4.12
UOpwAJ5lXcQL7IJsZSjkI91CEhN71Xy6ubf7eWyWSO8%3D
Output for 5.4.11
mAzzHGIm6lbz2m5YfNa%2FHAqTaF3CKUF16fus9LAnqGI%3D