3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = bin2hex(openssl_random_pseudo_bytes(1)); echo $string;
based on N9IQA
Output for 7.2.6
Fatal error: Uncaught Error: Call to undefined function openssl_random_pseudo_bytes() in /in/lh0Ee:2 Stack trace: #0 {main} thrown in /in/lh0Ee on line 2
Process exited with code 255.
Output for 5.6.12, 7.2.0
e7
Output for 7.1.10
41
Output for 7.1.7
a4
Output for 7.1.6
80
Output for 7.1.5
fa
Output for 7.1.4
71
Output for 7.1.3
53
Output for 5.6.16, 7.1.2
42
Output for 7.1.1
c7
Output for 7.1.0
92
Output for 7.0.20
7b
Output for 5.6.27, 7.0.19
e3
Output for 7.0.18
8b
Output for 7.0.17
a6
Output for 7.0.16
78
Output for 5.6.18, 7.0.15
b9
Output for 5.6.25, 7.0.14
ca
Output for 7.0.13
e9
Output for 7.0.12
1e
Output for 7.0.11
73
Output for 7.0.10
22
Output for 7.0.9
63
Output for 7.0.8
5c
Output for 5.6.6, 7.0.7
2f
Output for 7.0.6
f9
Output for 5.6.8, 7.0.5
b1
Output for 7.0.4
ac
Output for 7.0.3
e1
Output for 7.0.2
96
Output for 7.0.1
c2
Output for 7.0.0
34
Output for 5.6.26, hhvm-3.15.4
f3
Output for 5.6.30
6e
Output for 5.6.29
f8
Output for 5.6.28
6a
Output for 5.6.24
ff
Output for 5.6.23
f6
Output for 5.6.22
99
Output for 5.6.21
e5
Output for 5.6.20
06
Output for 5.6.19
39
Output for 5.6.17
57
Output for 5.6.15
08
Output for 5.6.14
1d
Output for 5.6.13
81
Output for 5.6.11
db
Output for 5.6.10
44
Output for 5.6.5, 5.6.9
c5
Output for 5.6.7
aa
Output for 5.6.4
f5
Output for 5.6.3
b4
Output for 5.6.2
0a
Output for 5.6.1
13
Output for 5.6.0
4d