3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo bin2hex(random_bytes(10));
based on KBRR2
Output for 7.2.10
fbe9742ac6e5c89c4274
Output for 7.2.9
2b55a85838e7e574479a
Output for 7.2.8
79d14b52faa3527ac735
Output for 7.2.7
bb7709b60d2bfd894878
Output for 7.2.6
e0d1fb95db0e006ade7d
Output for 7.2.5
b4a4284015e9d7a6fb2b
Output for 7.2.4
aa59ee11aa5921e21f00
Output for 7.2.3
edc54dcfb5be93675a6c
Output for 7.2.2
5dcf7237076ef5da9717
Output for 7.2.1
fbab514498b7b1fc0a93
Output for 7.2.0
e12da1b7531e428f129e
Output for 7.1.22
31dcace450b08daaf2d7
Output for 7.1.21
cddcf5e4f81aa71d9f4c
Output for 7.1.20
796eb689f7ebae6a11b0
Output for 7.1.19
8136c1fb3af44b39ee00
Output for 7.1.18
30734c92f079c3c6abb0
Output for 7.1.17
1a0db8cbcb07be842094
Output for 7.1.16
38732cdec5eda1871bff
Output for 7.1.15
e069602c6c7da184b865
Output for 7.1.14
5f45393823e591d092c0
Output for 7.1.13
684e9d652df72863831a
Output for 7.1.12
8aed95a2838ae94c8017
Output for 7.1.11
cceceea8dec9a44f3564
Output for 7.1.10
478c1e47d76f2b7bfa13
Output for 7.1.9
8c6689168f14fc413942
Output for 7.1.8
a0b8fcab58d9d66f443f
Output for 7.1.7
8801001487c566d96762
Output for 7.1.6
8a5d3bbf9d8832ea2f3d
Output for 7.1.5
e43fd49d04da39d24730
Output for 7.1.4
4064fb4e9f004b671d18
Output for 7.1.3
8c834e60de5b2cb18e73
Output for 7.1.2
97e6ad0f80b167eb600e
Output for 7.1.1
e0fdf9056114e5912615
Output for 7.1.0
4f8ac3cc9f432078150b
Output for 7.0.31
066e9733bdb9f1c47147
Output for 7.0.30
f6f4a38e3d749c8d334a
Output for 7.0.29
8a7cf7126305ff8f0aba
Output for 7.0.28
3c07d16d3e1c20160dc9
Output for 7.0.27
7dc6496177abed16acd6
Output for 7.0.26
7d6a812c42314dd08bb4
Output for 7.0.25
6582678fd32ace742d38
Output for 7.0.24
a614c8ff28a2bf1e8cf1
Output for 7.0.23
7c0b7f7b3a2a7cfc4f76
Output for 7.0.22
29771460b3adfbc171d9
Output for 7.0.21
6cd51f922516412f22b8
Output for 7.0.20
edb0713e43575a4fda82
Output for 7.0.19
376b57c7f822a8ecd4e7
Output for 7.0.18
0542d2005a26aeb563d8
Output for 7.0.17
0d3fecd2fda85bc56feb
Output for 7.0.16
14aa39abf71d3ecb438b
Output for 7.0.15
00fd30f57faa1f139d59
Output for 7.0.14
dbd1d506b7aa70801df6
Output for 7.0.13
69e087e3d34f34ffeebe
Output for 7.0.12
21ccbd72a626910e341b
Output for 7.0.11
9f75d10e233bed089c0d
Output for 7.0.10
b10b58739e8723a0ab03
Output for 7.0.9
5e819c5358e5bda1d315
Output for 7.0.8
aa8d24c4c5a8e5aff9ba
Output for 7.0.7
c5bc9d06403f5bf56eac
Output for 7.0.6
b63a70c2ba31f59300a0
Output for 7.0.5
00d8bf9f4a44f387ec03
Output for 7.0.4
f5504f1a7b4ca56271e2
Output for 7.0.3
e7936a7ce41d8f799800
Output for 7.0.2
2eb0e424392b0262bdf2
Output for 7.0.1
c7bdd86c7e6f4b94d88d
Output for 7.0.0
129e22b154c496acda85
Output for hhvm-3.22.0
0a2b8328c3a7c04150c6
Output for hhvm-3.21.3
c3b3b857c9694e31ef2e
Output for hhvm-3.21.0
241cc382f89bd21bc555
Output for hhvm-3.20.2
b5fcb62a303a2bcb38dc
Output for hhvm-3.19.2
1636f8f894dbf5645f30
Output for hhvm-3.18.5
a23638c4e7849897fc4a
Output for hhvm-3.18.4
edf0b727548662410c6d
Output for hhvm-3.17.3
d2dff22b54963eff4919
Output for hhvm-3.15.4
03dfa4ef614f1032ab86
Output for hhvm-3.13.2
79bbadd530ae6a0f5bc4
Output for hhvm-3.12.14
9a9eb13250546e51c3f6
Output for hhvm-3.11.1
cc3f152047ae21546bb1
Output for 5.5.0 - 5.6.38, hhvm-3.10.1
Fatal error: Call to undefined function random_bytes() in /in/3pnZX on line 2
Process exited with code 255.