3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = mt_rand ( 0, 0xffffff ); // trust the library, love the library... $output = sprintf ( "%06x" , $num ); // muchas smoochas to you, PHP! echo $output;
Output for 7.1.0
e742ce
Output for 7.0.14
44de10
Output for 7.0.6
803070
Output for 7.0.5
1dea6f
Output for 7.0.4
635391
Output for 7.0.3
e003a3
Output for 7.0.2
db1bd3
Output for 7.0.1
868b16
Output for 7.0.0
503664
Output for hhvm-3.12.0
c7625d
Output for hhvm-3.10.0
94adc1
Output for 5.6.28
9d0f14
Output for 5.6.21
940d82
Output for 5.6.20
318e65
Output for 5.6.19
15b2d8
Output for 5.6.18
4865da
Output for 5.6.17
619728
Output for 5.6.16
f02e69
Output for 5.6.15
9cba80
Output for 5.6.14
c16576
Output for 5.6.13
32f3cc
Output for 5.6.12
a063a6
Output for 5.6.11
21498e
Output for 5.6.10
552b4e
Output for 5.6.9
362b9a
Output for 5.6.8
bd4d3c
Output for 5.5.35
6370ec
Output for 5.5.34
028d95
Output for 5.5.33
8177e6
Output for 5.5.32
9ec1fe
Output for 5.5.31
535b5b
Output for 5.5.30
811170
Output for 5.5.29
bda9ab
Output for 5.5.28
65df8d
Output for 5.5.27
d04584
Output for 5.5.26
4b512a
Output for 5.5.25
cff226
Output for 5.5.24
bcdbef
Output for 5.4.45
4b18db
Output for 5.4.44
3882c3
Output for 5.4.43
ec771b
Output for 5.4.42
25f012
Output for 5.4.41
8ee8cc
Output for 5.4.40
eff0e7
Output for 5.4.39
8d376a
Output for 5.4.38
601dc9
Output for 5.4.37
f87c04
Output for 5.4.36
aeae27
Output for 5.4.35
c16b20
Output for 5.4.34
2e139d
Output for 5.4.32
33eb38
Output for 5.4.31
04b278
Output for 5.4.30
9610ad
Output for 5.4.29
c231e9
Output for 5.4.28
b005c1
Output for 5.4.27
a1a39b
Output for 5.4.26
a8ed74
Output for 5.4.25
1990f4
Output for 5.4.24
d042dc
Output for 5.4.23
33734f
Output for 5.4.22
1a51af
Output for 5.4.21
4bafcf
Output for 5.4.20
a831eb
Output for 5.4.19
449678
Output for 5.4.18
13fe81
Output for 5.4.17
b9da12
Output for 5.4.16
50eb2d
Output for 5.4.15
33aa4e
Output for 5.4.14
51b2d5
Output for 5.4.13
473bed
Output for 5.4.12
f10faa
Output for 5.4.11
76923b
Output for 5.4.10
c20cf6
Output for 5.4.9
be43c6
Output for 5.4.8
24ed6c
Output for 5.4.7
72afdb
Output for 5.4.6
443e4a
Output for 5.4.5
ce6681
Output for 5.4.4
62d3b7
Output for 5.4.3
0e2b47
Output for 5.4.2
868403
Output for 5.4.1
72f589
Output for 5.4.0
ec7940
Output for 5.3.29
b8fb04
Output for 5.3.28
75903d
Output for 5.3.27
48444b
Output for 5.3.26
650229
Output for 5.3.25
f20a40
Output for 5.3.24
224058
Output for 5.3.23
88220d
Output for 5.3.22
5f16e4
Output for 5.3.21
672acf
Output for 5.3.20
4b0ce8
Output for 5.3.19
946678
Output for 5.3.18
b1b860
Output for 5.3.17
cdf563
Output for 5.3.16
c9c792
Output for 5.3.15
0a8f4e
Output for 5.3.14
4eb9bf
Output for 5.3.13
121e7b
Output for 5.3.12
d1485d
Output for 5.3.11
a1c627
Output for 5.3.10
e2bf65
Output for 5.3.9
9972e0
Output for 5.3.8
3aa55a
Output for 5.3.7
b1a193
Output for 5.3.6
953423
Output for 5.3.5
0ab718
Output for 5.3.4
ba69ca
Output for 5.3.3
c5cb18
Output for 5.3.2
c1a8f9
Output for 5.3.1
556c83
Output for 5.3.0
ffdf3b
Output for 5.2.17
54e71d
Output for 5.2.16
83b791
Output for 5.2.15
8b053a
Output for 5.2.14
3dfb9e
Output for 5.2.13
8a7ea8
Output for 5.2.12
a860a1
Output for 5.2.11
e6017d
Output for 5.2.10
c33703
Output for 5.2.9
e2b20f
Output for 5.2.8
98e73b
Output for 5.2.7
bcffa6
Output for 5.2.6
d5a7b7
Output for 5.2.5
70ea66
Output for 5.2.4
9739d9
Output for 5.2.3
0caefe
Output for 5.2.2
8005ba
Output for 5.2.1
8d381c
Output for 5.2.0
3bdc5e
Output for 5.1.6
917f1c
Output for 5.1.5
502130
Output for 5.1.4
a2bf39
Output for 5.1.3
1e154c
Output for 5.1.2
fb48af
Output for 5.1.1
0b158b
Output for 5.1.0
df647f
Output for 5.0.5
65bd2f
Output for 5.0.4
e95c81
Output for 5.0.3
2395d9
Output for 5.0.2
fa1834
Output for 5.0.1
2f79e1
Output for 5.0.0
7ff128
Output for 4.4.9
092ed0
Output for 4.4.8
1798c0
Output for 4.4.7
4c4037
Output for 4.4.6
891c51
Output for 4.4.5
bc7f84
Output for 4.4.4
ef15b2
Output for 4.4.3
119d2b
Output for 4.4.2
38d313
Output for 4.4.1
a7e95b
Output for 4.4.0
f25ada
Output for 4.3.11
2c02b5
Output for 4.3.10
960f12
Output for 4.3.9
ab3768
Output for 4.3.8
5a21f7
Output for 4.3.7
9dffcb
Output for 4.3.6
d5ce85
Output for 4.3.5
c85969
Output for 4.3.4
254058
Output for 4.3.3
7588dc
Output for 4.3.2
8f1477
Output for 4.3.1
b93a1f
Output for 4.3.0
72f1e4