3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $digits = 3; echo rand(pow(10, $digits-1), pow(10, $digits)-1);
Output for 7.2.0
571
Output for 5.0.4, 5.2.8, 7.1.7
483
Output for 7.1.6
180
Output for 7.1.5
915
Output for 7.1.4
129
Output for 5.6.3, 7.1.3
106
Output for 7.1.2
636
Output for 7.1.1
208
Output for 7.1.0
108
Output for 7.0.20
869
Output for 7.0.19
887
Output for 7.0.18
655
Output for 4.3.11, 7.0.17
178
Output for 7.0.16
161
Output for 7.0.15
373
Output for 7.0.14
879
Output for 7.0.13
333
Output for 7.0.12
498
Output for 7.0.11
512
Output for 7.0.10
203
Output for 4.4.0, 7.0.9
438
Output for 7.0.8
621
Output for 5.3.5, 5.4.37, 7.0.7
727
Output for 7.0.6
627
Output for 7.0.5
207
Output for 5.2.17, 5.6.14, 7.0.4
834
Output for 7.0.3
239
Output for 7.0.2
313
Output for 7.0.1
446
Output for 7.0.0
566
Output for hhvm-3.17.3
369
Output for hhvm-3.15.4
478
Output for hhvm-3.13.2
669
Output for hhvm-3.12.14
146
Output for 5.5.4, hhvm-3.11.1
288
Output for hhvm-3.10.1
472
Output for 5.6.30
997
Output for 5.6.29
579
Output for 5.4.29, 5.6.28
654
Output for 5.5.37, 5.6.27
382
Output for 5.6.26
543
Output for 5.6.25
890
Output for 5.6.24
455
Output for 5.4.28, 5.6.23
937
Output for 5.6.22
620
Output for 5.6.21
477
Output for 5.0.1, 5.6.20
535
Output for 5.6.19
987
Output for 5.6.18
945
Output for 5.6.17
899
Output for 5.4.8, 5.6.16
248
Output for 5.6.0, 5.6.15
882
Output for 5.6.13
175
Output for 5.6.12
718
Output for 5.6.11
360
Output for 5.3.26, 5.6.10
680
Output for 5.6.9
960
Output for 5.6.8
383
Output for 5.6.7
306
Output for 5.4.12, 5.6.6
814
Output for 5.6.5
378
Output for 5.6.4
381
Output for 5.6.2
540
Output for 5.2.7, 5.6.1
523
Output for 5.5.38
790
Output for 5.5.36
730
Output for 5.5.35
855
Output for 4.4.6, 5.5.34
218
Output for 5.5.18, 5.5.33
617
Output for 5.5.32
221
Output for 5.5.31
739
Output for 5.5.30
644
Output for 5.5.29
800
Output for 5.5.28
466
Output for 5.5.27
210
Output for 5.5.26
601
Output for 5.5.25
671
Output for 5.5.24
168
Output for 4.4.2, 5.5.23
738
Output for 5.5.22
185
Output for 5.5.21
780
Output for 5.5.20
479
Output for 5.5.19
795
Output for 5.5.16
134
Output for 5.4.21, 5.5.15
234
Output for 5.5.14
982
Output for 5.5.13
482
Output for 5.5.12
562
Output for 5.5.11
686
Output for 4.4.8, 5.5.10
334
Output for 5.5.9
342
Output for 5.5.8
458
Output for 5.5.7
160
Output for 5.5.6
283
Output for 5.5.5
973
Output for 5.5.3
273
Output for 5.5.2
593
Output for 5.2.3, 5.5.1
167
Output for 5.5.0
861
Output for 5.2.1, 5.4.45
740
Output for 5.4.44
567
Output for 5.4.43
182
Output for 5.4.42
135
Output for 5.4.41
637
Output for 5.4.40
629
Output for 5.4.39
596
Output for 5.4.38
112
Output for 4.3.3, 5.4.36
191
Output for 5.4.35
880
Output for 5.4.34
853
Output for 5.4.32
469
Output for 5.4.31
905
Output for 5.4.30
140
Output for 5.4.27
276
Output for 5.4.26
777
Output for 5.4.16, 5.4.25
734
Output for 5.0.5, 5.4.24
729
Output for 5.4.23
148
Output for 5.4.22
837
Output for 5.4.20
395
Output for 5.4.19
109
Output for 5.4.18
604
Output for 5.4.17
932
Output for 5.4.15
388
Output for 5.4.14
387
Output for 5.4.13
159
Output for 5.4.11
561
Output for 5.4.10
314
Output for 5.4.9
851
Output for 5.4.7
766
Output for 5.4.6
151
Output for 5.4.5
876
Output for 5.4.4
450
Output for 5.4.3
968
Output for 5.4.2
682
Output for 5.4.1
484
Output for 5.4.0
504
Output for 5.3.29
480
Output for 5.3.28
628
Output for 5.3.27
992
Output for 5.3.25
518
Output for 5.3.24
157
Output for 5.3.23
539
Output for 5.3.22
850
Output for 5.3.21
307
Output for 5.3.20
891
Output for 5.3.19
962
Output for 5.3.18
852
Output for 5.3.17
787
Output for 5.3.16
978
Output for 5.3.15
797
Output for 5.3.14
863
Output for 5.3.13
254
Output for 4.4.1, 5.3.12
542
Output for 5.3.11
365
Output for 5.3.10
563
Output for 5.3.9
353
Output for 5.3.8
440
Output for 5.3.7
439
Output for 5.3.6
652
Output for 5.3.4
808
Output for 5.3.3
142
Output for 5.3.2
417
Output for 5.3.1
246
Output for 5.3.0
520
Output for 5.2.16
639
Output for 5.2.15
885
Output for 5.2.4, 5.2.14
701
Output for 5.2.13
577
Output for 5.2.12
711
Output for 5.2.11
105
Output for 5.2.10
705
Output for 5.2.9
156
Output for 5.2.6
460
Output for 5.2.5
503
Output for 5.2.2
513
Output for 5.2.0
436
Output for 5.1.6
526
Output for 5.1.5
133
Output for 5.1.4
220
Output for 5.1.3
359
Output for 5.1.2
227
Output for 5.1.1
807
Output for 5.1.0
329
Output for 5.0.3
379
Output for 4.3.9, 5.0.2
179
Output for 5.0.0
318
Output for 4.4.9
613
Output for 4.4.7
291
Output for 4.4.5
764
Output for 4.4.4
827
Output for 4.4.3
325
Output for 4.3.10
270
Output for 4.3.8
696
Output for 4.3.7
121
Output for 4.3.6
846
Output for 4.3.5
605
Output for 4.3.4
555
Output for 4.3.2
833
Output for 4.3.1
261
Output for 4.3.0
599