3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo '<pre>'; $r = rand(0,230022); print_r($r);
Output for 7.1.0
<pre>67592
Output for 7.0.14
<pre>75260
Output for 7.0.12
<pre>158094
Output for 7.0.6
<pre>229670
Output for 7.0.5
<pre>28491
Output for 7.0.4
<pre>168914
Output for 7.0.3
<pre>72125
Output for 7.0.2
<pre>136967
Output for 7.0.1
<pre>215423
Output for 7.0.0
<pre>130088
Output for hhvm-3.12.0
<pre>175346
Output for hhvm-3.10.0
<pre>131181
Output for 5.6.28
<pre>216767
Output for 5.6.21
<pre>131236
Output for 5.6.20
<pre>12395
Output for 5.6.19
<pre>164372
Output for 5.6.18
<pre>158149
Output for 5.6.17
<pre>161673
Output for 5.6.16
<pre>82584
Output for 5.6.15
<pre>20310
Output for 5.6.14
<pre>117923
Output for 5.6.13
<pre>164543
Output for 5.6.12
<pre>71908
Output for 5.6.11
<pre>139153
Output for 5.6.10
<pre>125621
Output for 5.6.9
<pre>18126
Output for 5.6.8
<pre>211182
Output for 5.6.7
<pre>186946
Output for 5.6.6
<pre>226957
Output for 5.6.5
<pre>20110
Output for 5.6.4
<pre>67109
Output for 5.6.3
<pre>83573
Output for 5.6.2
<pre>69240
Output for 5.6.1
<pre>180437
Output for 5.6.0
<pre>179400
Output for 5.5.35
<pre>183264
Output for 5.5.34
<pre>138871
Output for 5.5.33
<pre>152519
Output for 5.5.32
<pre>167763
Output for 5.5.31
<pre>177274
Output for 5.5.30
<pre>68752
Output for 5.5.29
<pre>135683
Output for 5.5.28
<pre>186278
Output for 5.5.27
<pre>11772
Output for 5.5.26
<pre>70992
Output for 5.5.25
<pre>57022
Output for 5.5.24
<pre>45396
Output for 5.5.23
<pre>176760
Output for 5.5.22
<pre>12448
Output for 5.5.21
<pre>207098
Output for 5.5.20
<pre>111829
Output for 5.5.19
<pre>16165
Output for 5.5.18
<pre>186980
Output for 5.5.16
<pre>87358
Output for 5.5.15
<pre>115480
Output for 5.5.14
<pre>115905
Output for 5.5.13
<pre>47686
Output for 5.5.12
<pre>86727
Output for 5.5.11
<pre>10387
Output for 5.5.10
<pre>20756
Output for 5.5.9
<pre>118603
Output for 5.5.8
<pre>74375
Output for 5.5.7
<pre>208325
Output for 5.5.6
<pre>194583
Output for 5.5.5
<pre>128006
Output for 5.5.4
<pre>62853
Output for 5.5.3
<pre>131518
Output for 5.5.2
<pre>21751
Output for 5.5.1
<pre>30617
Output for 5.5.0
<pre>37841
Output for 5.4.45
<pre>66648
Output for 5.4.44
<pre>144420
Output for 5.4.43
<pre>167559
Output for 5.4.42
<pre>193413
Output for 5.4.41
<pre>222317
Output for 5.4.40
<pre>156401
Output for 5.4.39
<pre>128995
Output for 5.4.38
<pre>26813
Output for 5.4.37
<pre>76507
Output for 5.4.36
<pre>168947
Output for 5.4.35
<pre>212224
Output for 5.4.34
<pre>60134
Output for 5.4.32
<pre>90249
Output for 5.4.31
<pre>201785
Output for 5.4.30
<pre>56716
Output for 5.4.29
<pre>71953
Output for 5.4.28
<pre>33023
Output for 5.4.27
<pre>43319
Output for 5.4.26
<pre>198908
Output for 5.4.25
<pre>11835
Output for 5.4.24
<pre>89352
Output for 5.4.23
<pre>144964
Output for 5.4.22
<pre>48065
Output for 5.4.21
<pre>5313
Output for 5.4.20
<pre>85651
Output for 5.4.19
<pre>3864
Output for 5.4.18
<pre>108520
Output for 5.4.17
<pre>34062
Output for 5.4.16
<pre>191496
Output for 5.4.15
<pre>96397
Output for 5.4.14
<pre>175607
Output for 5.4.13
<pre>7884
Output for 5.4.12
<pre>109446
Output for 5.4.11
<pre>199298
Output for 5.4.10
<pre>202168
Output for 5.4.9
<pre>217825
Output for 5.4.8
<pre>167459
Output for 5.4.7
<pre>226667
Output for 5.4.6
<pre>58984
Output for 5.4.5
<pre>181104
Output for 5.4.4
<pre>66556
Output for 5.4.3
<pre>15755
Output for 5.4.2
<pre>41050
Output for 5.4.1
<pre>104722
Output for 5.4.0
<pre>7167
Output for 5.3.29
<pre>173445
Output for 5.3.28
<pre>201328
Output for 5.3.27
<pre>137400
Output for 5.3.26
<pre>136074
Output for 5.3.25
<pre>12459
Output for 5.3.24
<pre>220328
Output for 5.3.23
<pre>161232
Output for 5.3.22
<pre>117518
Output for 5.3.21
<pre>95604
Output for 5.3.20
<pre>105760
Output for 5.3.19
<pre>178298
Output for 5.3.18
<pre>49439
Output for 5.3.17
<pre>176100
Output for 5.3.16
<pre>40103
Output for 5.3.15
<pre>170939
Output for 5.3.14
<pre>163084
Output for 5.3.13
<pre>1887
Output for 5.3.12
<pre>82729
Output for 5.3.11
<pre>198483
Output for 5.3.10
<pre>199672
Output for 5.3.9
<pre>128262
Output for 5.3.8
<pre>126615
Output for 5.3.7
<pre>46020
Output for 5.3.6
<pre>83339
Output for 5.3.5
<pre>200540
Output for 5.3.4
<pre>40475
Output for 5.3.3
<pre>25759
Output for 5.3.2
<pre>126539
Output for 5.3.1
<pre>191140
Output for 5.3.0
<pre>135519
Output for 5.2.17
<pre>206884
Output for 5.2.16
<pre>138600
Output for 5.2.15
<pre>64717
Output for 5.2.14
<pre>30279
Output for 5.2.13
<pre>140028
Output for 5.2.12
<pre>171425
Output for 5.2.11
<pre>141059
Output for 5.2.10
<pre>168335
Output for 5.2.9
<pre>24498
Output for 5.2.8
<pre>220473
Output for 5.2.7
<pre>212712
Output for 5.2.6
<pre>152013
Output for 5.2.5
<pre>109839
Output for 5.2.4
<pre>207638
Output for 5.2.3
<pre>187918
Output for 5.2.2
<pre>130180
Output for 5.2.1
<pre>196
Output for 5.2.0
<pre>122406
Output for 5.1.6
<pre>51596
Output for 5.1.5
<pre>130477
Output for 5.1.4
<pre>179295
Output for 5.1.3
<pre>43424
Output for 5.1.2
<pre>199233
Output for 5.1.1
<pre>158316
Output for 5.1.0
<pre>111708
Output for 5.0.5
<pre>26666
Output for 5.0.4
<pre>161177
Output for 5.0.3
<pre>142895
Output for 5.0.2
<pre>133334
Output for 5.0.1
<pre>165308
Output for 5.0.0
<pre>34709
Output for 4.4.9
<pre>221424
Output for 4.4.8
<pre>89680
Output for 4.4.7
<pre>62993
Output for 4.4.6
<pre>74015
Output for 4.4.5
<pre>165897
Output for 4.4.4
<pre>158845
Output for 4.4.3
<pre>20746
Output for 4.4.2
<pre>215241
Output for 4.4.1
<pre>21106
Output for 4.4.0
<pre>39691
Output for 4.3.11
<pre>151927
Output for 4.3.10
<pre>24227
Output for 4.3.9
<pre>146553
Output for 4.3.8
<pre>110404
Output for 4.3.7
<pre>39245
Output for 4.3.6
<pre>49478
Output for 4.3.5
<pre>214552
Output for 4.3.4
<pre>122313
Output for 4.3.3
<pre>81080
Output for 4.3.2
<pre>190700
Output for 4.3.1
<pre>159761
Output for 4.3.0
<pre>223719