3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo base64_encode(openssl_random_pseudo_bytes(16, $s));
Output for 7.1.0
1SK1YNGxA5nEgpeSlBCGwg==
Output for 7.0.14
rGxUjT90GIqo2JEUGKrpBw==
Output for 7.0.12
d1e4nfxZ8ct9de4j2Ux/Cg==
Output for 7.0.6
Dx9HhSvUmfOJP2knvqQfeQ==
Output for 7.0.5
9PbRGXsTSzDT5nmt66Zd3w==
Output for 7.0.4
etukaO5jgMU8CZFHYq26FQ==
Output for 7.0.3
muZIIchnbL1JoqHQxvu+Lw==
Output for 7.0.2
Mu9Vufp3hHP6u2zMYc+/hA==
Output for 7.0.1
fuTrL4EaXHnOjxd3HLVk7Q==
Output for 7.0.0
0kY/V9RaOQMTYgR5cUowhA==
Output for hhvm-3.12.0
3LjPKZe0dpaSDxrZhAD0YQ==
Output for hhvm-3.10.0
1AcpIQOriRO9/lddBC4B9g==
Output for 5.6.28
BX+31KSpNtn9Hdf/9fLSSQ==
Output for 5.6.21
7MyJDoZ4+QpUmNG6ooFRyw==
Output for 5.6.20
HlQEXex3tySF3oYU5Bmu2w==
Output for 5.6.19
xzz7rIzs/VrpBtrxhrzmbg==
Output for 5.6.18
CfGZhuM4VBw1JvD0rWds9A==
Output for 5.6.17
SfRRhL5OrzVJu9Y+vP146g==
Output for 5.6.16
n53417CkJebSLHXQKcu7zg==
Output for 5.6.15
Xt2KLBQ3oZz5VhnSNouVVg==
Output for 5.6.14
594tXXX9j7OHVdWGmGRp/g==
Output for 5.6.13
u6lYOIrTIw9+m5tWNVn2OA==
Output for 5.6.12
MfOVQfX0joag4+/aTUSRlQ==
Output for 5.6.11
ZuHi1QKQUHOCgITtL+Ohug==
Output for 5.6.10
uROAHL+iiH1wPVgru3Y6fw==
Output for 5.6.9
ENqF/krsMG0SXaJC8pg1hA==
Output for 5.6.8
pfaalgPcMtFnCnlfMJPHyw==
Output for 5.6.7
7qsKyAdHGgGHHBCVNePKiA==
Output for 5.6.6
pSBYR6wOh5lL34TtW92WLQ==
Output for 5.6.5
YFrEzYQoTQZOtyFufMmjmQ==
Output for 5.6.4
DwUqOu6iO6mCO0zkjMxYgg==
Output for 5.6.3
Hfz5GDrgCXVqPBoGEjOeLw==
Output for 5.6.2
6fQ06WsC2ux4rnDgHu/eLg==
Output for 5.6.1
gyjQH4errfC5Hc2qwyaUxg==
Output for 5.6.0
VZJ7KlDDTJfEsKkAAEUU4w==
Output for 5.5.35
+mNPErgFr2b23/zXeao8Ww==
Output for 5.5.34
XLsAT+H6cM+khdn/dIlFNw==
Output for 5.5.33
KF74gRoT7+iUssY43s6IzA==
Output for 5.5.32
+r4I+gHtgdy4kZGGFBnD5g==
Output for 5.5.31
PvAXpuN7GqMLM+cec18V9g==
Output for 5.5.30
Li9yDDsJMaA9ZgUKgtQpCg==
Output for 5.5.29
tKuicqG/gbv8jnHwLXVSVA==
Output for 5.5.28
Y/e4X3wkyWsYVOruUH+ZEQ==
Output for 5.5.27
/P4N5ohTjglAs/MWytnSeg==
Output for 5.5.26
zy1cthFKlnr/uF5FsVQNJQ==
Output for 5.5.25
yQ+AZo/XmRTp8amAKImdig==
Output for 5.5.24
irQ4QZDEcQHOjy1cqBpTWg==
Output for 5.5.23
ZskJDn/dieMMhZUHnRp4jA==
Output for 5.5.22
0Elojd0gElmpgekVyVrrDA==
Output for 5.5.21
KdtAbOYkUpD4iR5dufkFJg==
Output for 5.5.20
HO2IrrsnukILelUccg2siw==
Output for 5.5.19
TJOjwAFBLZtZaq+bfIJ6Dg==
Output for 5.5.18
2HobJedXcfKkUZdouttIwA==
Output for 5.5.16
XpbCEadOSkFpNRinriXFdA==
Output for 5.5.15
iOVQ+93ZSeGh7lRlJKy02g==
Output for 5.5.14
ImPxpNBusbfV2Yy56E6onw==
Output for 5.5.13
sOuEafSONVpjRhbwNngl1Q==
Output for 5.5.12
PNq2LJiHKlCzuY2dMLImQQ==
Output for 5.5.11
4ts31nEpOW7Ff+ZhqPa64g==
Output for 5.5.10
Y1GMS/IS2n5QwehmsgXbxQ==
Output for 5.5.9
Re6jwp1q7QliWoQiMCqfbQ==
Output for 5.5.8
S7zRobuBN1Yy7fpZr4iR1A==
Output for 5.5.7
cF6DSuzDNDZrbord+pHCrw==
Output for 5.5.6
qbsNv8wkDul+d0CiaXuNJg==
Output for 5.5.5
eMee/4fgeNnqigFF1N77BA==
Output for 5.5.4
KVlAL9dkPYb/Noq6G7cmAg==
Output for 5.5.3
0xkR5fG26vkMqbmerz7+LQ==
Output for 5.5.2
Q9X6+JF3DKNuXajtEIukgQ==
Output for 5.5.1
jOajntem7LowEE0vOTE/Mw==
Output for 5.5.0
tbAD3cISgcKentR3SukrRA==
Output for 5.4.45
N6B96fo79EUrJZvozzY8Lg==
Output for 5.4.44
H+IwsDbThwRTsh1DXEtTDA==
Output for 5.4.43
3JstpHElm8kDR0o5tUeJUw==
Output for 5.4.42
UMNUKv8PRL49jy0H84E4xQ==
Output for 5.4.41
xhY/ElTcn/H/mKZmKo9u2Q==
Output for 5.4.40
X8L/0JRvXyFskHdktCVS1g==
Output for 5.4.39
6mAxo7E6pTMBt7JOwHuAWQ==
Output for 5.4.38
aFyl9gxqV3YUOI+4gRzJhQ==
Output for 5.4.37
f+UOmpVscFlz1pyq8jMwng==
Output for 5.4.36
bc3O7R8XtwEq0XGiSyWeDA==
Output for 5.4.35
YcXGeR+iyBH3TnN3Tw0Q0Q==
Output for 5.4.34
Yj4bOn5IpckjlABGTfNXQw==
Output for 5.4.32
Ru6Owiq+vlRII9Wn0W15Dw==
Output for 5.4.31
DMk2hq/GKzdf0qIFVHr8Qg==
Output for 5.4.30
QBcl5MjFfXY6wTBa9TwNfQ==
Output for 5.4.29
fEhbPEYH35/mXbMcD7+34g==
Output for 5.4.28
64oBjWDmFBlWE/hQqTk0yg==
Output for 5.4.27
KYAJqKZGv1Uk37VS8uZ4/Q==
Output for 5.4.26
E5ZPp6FTnmxLD0w+/f/xaQ==
Output for 5.4.25
lZ4b9AuygKqTI6e95KoJGg==
Output for 5.4.24
WO32Bw5LeenP9Zz+Bzsn5Q==
Output for 5.4.23
zuF8ZQcPYD5Du6N8QiyKYw==
Output for 5.4.22
5ML+a9VcM2lD0s599Ij03A==
Output for 5.4.21
XWtCJGNLrUBTABgrDgrNzw==
Output for 5.4.20
wsWFlnyGm1anN5YfThhClQ==
Output for 5.4.19
wuJDhrKVhxxMXEc34csfJQ==
Output for 5.4.18
0o7Q+iA0szwVcnMU3vajsw==
Output for 5.4.17
+WAcTe+3KYRJJBM7M20Wzg==
Output for 5.4.16
gnS1J/tKsZUpNwkRb6Se8g==
Output for 5.4.15
ZSKQW7/GNYLmkwkLCzl/cQ==
Output for 5.0.0 - 5.4.14
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/kdBbH on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/kdBbH on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/kdBbH on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/kdBbH on line 2