3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print base64_encode(random_bytes(32));
Output for 7.3.0alpha1
wDTnGpRDScEiY/6F+nfMyKnQFyMHwWPm+K7uMuOFU88=
Output for 7.2.6
tTHa/SFeJA4smU/j936xnpQ80FhmWKaR4QAvNL6pgBk=
Output for 7.2.0
zRHOSllkpsav07Y7VWbt0AS8bBY//Y3dGc0hcBR7xrg=
Output for 7.1.12
NEaoo5coNZBqfIkfhYvQU2sYx0+giW0gqrGBDji/5dI=
Output for 7.1.11
fUidcs/z8nRPPNIO1oXmOiycsTGG9gupuWW4Ab+oZ0k=
Output for 7.1.10
r5LBlD8YeCtQM32Hgy03uLwrfLIjC5BuznjYAgBybqk=
Output for 7.1.9
NjWyuuTB4MeOvmCUsHgar2eNMBogsyXGias4LNGIAig=
Output for 7.1.8
F0OOPUFHU+5I9Xoy88TWZN33cKyroFr1wKsypYcHl9U=
Output for 7.1.7
P/CnBJZFGCqjpxmazqDuHS8om/pPAjwlMasUQu6yaaE=
Output for 7.1.6
RmUvcXno0+rJucrDTKUv9/GFEtEfOdUYS+MqrdVnMi0=
Output for 7.1.5
i7ideNEr8FTRH7ApSpjHikT7A/E3QRkM5BkM39xI3QQ=
Output for 7.1.4
E0N9GicpYh6niGBpBCQcGYyUh1hi3Onaq+qVqb3nsF0=
Output for 7.1.3
2ziDktWogXm5DfO8xLVU7OXr//rgF/yOZldgx+KnMDM=
Output for 7.1.2
q7L4b0FgqN+OaCL22y2VKJSz+XGpRxV0Ck0oXGhmi30=
Output for 7.1.1
bBLYTRtaiUKy4fmuV1RAfHc52zK4isJwXOeR3SgDA9k=
Output for 7.1.0
yRUC0t92l1fbxP2v1L0itJ8E7E1QBXP6RuM96o8QruA=
Output for 7.0.26
Rg5P7VR/fwmet+THakIHlkRq5+2iWQsBdoO/4gT0vGY=
Output for 7.0.25
Dped5bIMjS0NP199xBnVRWWmBHnq7bBrdsAAD66qois=
Output for 7.0.24
RdyWqYmAgOwmRd+d94vDmkbc7rmxKkikx1Zful+z0cM=
Output for 7.0.23
vqEjyybufzGgkXP2IeI60EagRYbzxPEXgKpAVEfvz+I=
Output for 7.0.22
wdE1jY/GTrQWj7hMCGuDq9W6VPwiUrgKKWMl2fYgvmo=
Output for 7.0.21
aleb8Rw4oJqNLHOyQPodYDOWXf+hZSKh5Fc7T7taDNo=
Output for 7.0.20
ERguSEc97H36Q4XQj8fRz2AfDbQLf8my7xmtF3Un3gA=
Output for 7.0.19
5bxu5MK/31WHRegi5VcqarVSkBjUQJ9x1T2d2ss4CMA=
Output for 7.0.18
73otdjO080gdVqa1L/9o8vGlW2YVrIqTnAOmfaAB9dw=
Output for 7.0.17
gd6necL+/QgavddW2HhkETIV7a4RS48D2cWAigDF+tE=
Output for 7.0.16
ie4gMVA0j/q7ud4FvF76OiPGTv6rTUvhRwBQbJf4g2U=
Output for 7.0.15
cA7Zzh6p9R8s1iRotevKDedRt+Ei2xf7y+r2VliVe+0=
Output for 7.0.14
lULm2gUJPlBnSCZx0pfZ5dB7p0m2odyLiEEr7QTJ8io=
Output for 7.0.13
/bYlEkHt1ZxmnoxMNShR2r987MUkA1wGS9t3CT1jG0o=
Output for 7.0.12
cq4xKVWVJscEkb6nitEe5Nz6D0BD1JL5UaPjKaFRhXA=
Output for 7.0.11
RVmSgHcrF9vS5bTIcboAEdbiIFpxe+D4+tuQy/+2Vuw=
Output for 7.0.10
sgYg6UfLxJUUNo5O5Cmnd0oyGji0O7vtotLCiVMBnr0=
Output for 7.0.9
0alKX3SylNOnB/1Pg1jh5rYxqKrpvvJdt+amY2PeyjI=
Output for 7.0.8
oGLecQ9IBfcZtIOzi6aiw/2DYvx0DSk7O3GmN/tgcZ8=
Output for 7.0.7
6YgX9CwV5VExcv/sRb1QOeJGck2dXVjCrfCtY3pxcs4=
Output for 7.0.6
Fo9tcoR2MXcIQvNdOTeuWDdjU/C3JcLwbd9+Nvjg7xU=
Output for 7.0.5
hfIsvul0r76kxn/9c/0X3dTzM+zzNIempoVg0uQGlC0=
Output for 7.0.4
naT8wpdIxg4ZJQuQ0Pj5rHlCk35CH7Ohpl3TQ/eqFNQ=
Output for 7.0.3
Wv/A8r+gGwKJ0dSqUu9RKnCpV8/sVu4DSrvgXAzc67g=
Output for 7.0.2
r/2PhIOxSg4pAh/FyxD2oLCd6Midli6D2xRWoFRkQZM=
Output for 7.0.1
58z2JiinJYY/RJFhF2EawzCOWQROo+ZeyuAJcF+GgdQ=
Output for 7.0.0
u4JLbeUlUoR/yd2KhIKPi1+5tZFufBRehVQc4RlxmHw=
Output for hhvm-3.22.0
w2U9Zjz71bE2+wReKj31CosvQcEmBwTsAEF1PAOUX9Y=
Output for hhvm-3.21.3
wakGBnQHmr74sFjvIp9GLW4N+ZT+O9lb5YRdoQwEI+8=
Output for hhvm-3.21.0
fJvimTgp/qY8oMR/a2X/a+bbDI5jonccJItlvD54S/c=
Output for hhvm-3.20.2
VQtUP0aszB4unYz8WYOfjRZTzuYB4bGtozu1uef/ZzQ=
Output for hhvm-3.19.2
qNuYP4+V5rVJYY5qBgb0vBEVT6DgoFxLw7Mo8OjmB6g=
Output for hhvm-3.18.5
vemiT2Rw/ea3v/TXpReLOlC2f8K9MXI/vNEUHXUJ+KY=
Output for hhvm-3.18.4
9JzRnjYRmwLLRtY3KT85rfapX5TCiJTSxjh0OwGOeNo=
Output for hhvm-3.15.4
4zCyQLmvdfBDpuAlIJ17ZrQ+Xss9NfNaD+Bhle4+DdI=
Output for 5.6.0 - 5.6.30
Fatal error: Call to undefined function random_bytes() in /in/k81Z3 on line 3
Process exited with code 255.