3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo base64_encode( random_bytes(9) ); echo strtr( base64_encode( random_bytes(9) ), '+/', '-_' );
based on 9ndkk
Output for 7.3.1
WgQYDevoEg3xIdk_XSZfXmSc
Output for 7.3.0
2B2ELYScl244Tqs3b2hWtelW
Output for 7.2.13
YVQ3zV+pFgb/ogTPCJq0Sy5s
Output for 7.2.12
R4/ZuT23qk5QaXW4-3PHzeOi
Output for 7.2.11
BcPH1COgIv9PBt-1Lxw65x0G
Output for 7.2.10
tsQbaVRerpQHVUsuiFwUDO7c
Output for 7.2.9
lv7DvYjp/s6l4LVuCtFD5TTT
Output for 7.2.8
882NG3rmxn09rkQjSBdZshzB
Output for 7.2.7
d+Wc3JGlpLnjGaCzlCXf676K
Output for 7.2.6
HbXjcsjr1R0Vl-kg6_zscrc-
Output for 7.2.5
Lk4w2b28wpprdtx6RNkooNE8
Output for 7.2.4
GztVBuUXRQmhq_7F82msaEy5
Output for 7.2.3
NPeYUQHLZnCZZpJ2xYyXnkbi
Output for 7.2.2
dMBXyWBXitJwbBK-_fxB7606
Output for 7.2.1
vKnPIfg0wb1Mp08LKSlxAaj3
Output for 7.2.0
naCivSs9BZd73sesGDL7mAxQ
Output for 7.1.25
5N3mKPfVyPeU6C-a2NWOYnm4
Output for 7.1.20
XZ1xAA7QdrPUdcWHiZrEVDap
Output for 7.1.10
TjVoQrp2aqXOEYnlE-W1s0vt
Output for 7.1.7
LtIxnZocaOcafViRqMRuzMkb
Output for 7.1.6
EN207G7uGECyFLh0kCgxWzTx
Output for 7.1.5
7IdAROKuP3BhlYbKe7b1yiHQ
Output for 7.1.0
T15doGt6q5v0TO463a3lPS25
Output for 7.0.20
8gm+xpe7xnFhr8L33u1fchXX
Output for 7.0.6
ZGtjDUIRehXJsDkYpES_0od5
Output for 7.0.5
BOGxI/klb737xubRBGl0zWRI
Output for 7.0.4
ZU0ePgJWV0FiawzbhJn2bXCW
Output for 7.0.3
GlmxAEH/1zLCoTBME_Q_vDH-
Output for 7.0.2
e6Fgk21fRmVEwOk1oXCekCc4
Output for 7.0.1
iUAcCIOBf5Z70sg1U5HqXR4h
Output for 7.0.0
7xD63LqGtAzPOQXyzpzWsKqt
Output for 5.3.19 - 5.6.28
Fatal error: Call to undefined function random_bytes() in /in/pjmiU on line 4
Process exited with code 255.