3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $digits = 3; echo rand(pow(10, $digits-1), pow(10, $digits)-1);
Output for 7.1.0
438
Output for 7.0.14
870
Output for 7.0.7
409
Output for 7.0.6
309
Output for 7.0.5
903
Output for 7.0.4
692
Output for 7.0.3
517
Output for 7.0.2
630
Output for 7.0.1
345
Output for 7.0.0
315
Output for 5.6.28
342
Output for 5.6.22
569
Output for 5.6.21
803
Output for 5.6.20
727
Output for 5.6.19
952
Output for 5.6.18
931
Output for 5.6.17
363
Output for 5.6.16
874
Output for 5.3.17, 5.6.15
308
Output for 5.6.14
399
Output for 5.6.13
288
Output for 5.6.12
989
Output for 5.6.11
156
Output for 5.6.10
316
Output for 5.6.9
242
Output for 5.6.8
676
Output for 5.6.7
445
Output for 5.6.6
387
Output for 5.6.5
284
Output for 5.6.4
389
Output for 5.6.3
125
Output for 5.5.3, 5.6.2
902
Output for 5.6.1
642
Output for 5.6.0
230
Output for 5.4.12, 5.5.36
463
Output for 5.5.35
464
Output for 5.5.34
865
Output for 5.5.33
741
Output for 5.5.32
107
Output for 5.5.31
863
Output for 5.5.30
891
Output for 5.5.29
949
Output for 5.5.28
798
Output for 5.5.27
708
Output for 5.5.26
534
Output for 5.4.26, 5.5.25
923
Output for 5.3.0, 5.5.24
897
Output for 5.5.23
189
Output for 5.5.22
639
Output for 5.5.21
498
Output for 5.5.20
665
Output for 5.5.19
216
Output for 5.5.18
149
Output for 5.5.16
734
Output for 5.5.15
795
Output for 5.5.14
882
Output for 5.5.13
366
Output for 5.5.12
447
Output for 5.4.42, 5.5.11
174
Output for 5.5.10
454
Output for 5.5.9
838
Output for 5.5.8
544
Output for 4.4.7, 5.5.7
723
Output for 5.5.6
404
Output for 5.5.5
593
Output for 5.5.4
277
Output for 5.5.2
825
Output for 5.5.1
928
Output for 5.5.0
657
Output for 5.4.45
988
Output for 5.4.44
911
Output for 5.1.0, 5.4.43
522
Output for 5.4.41
311
Output for 5.4.40
508
Output for 5.3.14, 5.4.39
424
Output for 5.4.38
218
Output for 5.4.37
152
Output for 5.4.36
852
Output for 5.4.35
748
Output for 5.4.34
644
Output for 5.4.32
290
Output for 5.4.31
235
Output for 5.4.30
204
Output for 5.4.29
719
Output for 5.4.28
742
Output for 5.4.27
655
Output for 5.4.25
234
Output for 5.4.24
186
Output for 5.4.23
515
Output for 5.4.7, 5.4.22
813
Output for 5.4.21
801
Output for 5.4.20
744
Output for 5.4.19
182
Output for 5.4.18
380
Output for 5.4.17
453
Output for 5.4.16
303
Output for 5.4.15
402
Output for 5.4.14
476
Output for 5.1.2, 5.4.13
929
Output for 5.4.11
724
Output for 5.4.10
340
Output for 5.4.9
581
Output for 5.4.8
256
Output for 5.4.6
227
Output for 5.4.5
324
Output for 5.4.4
960
Output for 5.4.3
603
Output for 5.4.2
442
Output for 5.4.1
722
Output for 5.0.2, 5.4.0
895
Output for 5.3.29
668
Output for 5.3.28
781
Output for 5.3.27
762
Output for 5.3.26
497
Output for 5.0.1, 5.3.25
786
Output for 5.3.24
249
Output for 5.3.23
293
Output for 5.3.22
823
Output for 5.3.21
103
Output for 5.3.20
124
Output for 5.3.19
549
Output for 5.3.18
671
Output for 4.3.2, 5.3.16
336
Output for 5.3.15
816
Output for 5.3.13
224
Output for 5.3.12
851
Output for 5.3.11
745
Output for 5.3.10
226
Output for 5.3.9
802
Output for 5.3.8
296
Output for 5.3.7
552
Output for 5.3.6
347
Output for 5.3.5
206
Output for 5.3.4
439
Output for 5.3.3
418
Output for 5.3.2
627
Output for 5.3.1
976
Output for 5.2.17
597
Output for 5.2.16
432
Output for 5.2.15
753
Output for 5.2.14
163
Output for 5.2.13
827
Output for 5.2.12
426
Output for 5.2.11
425
Output for 5.2.10
197
Output for 5.2.9
279
Output for 5.2.8
499
Output for 5.2.7
178
Output for 5.2.6
536
Output for 5.2.5
691
Output for 5.2.4
188
Output for 5.2.3
310
Output for 5.2.2
240
Output for 5.2.1
557
Output for 5.2.0
679
Output for 5.1.6
482
Output for 5.1.5
841
Output for 5.1.4
971
Output for 5.1.3
516
Output for 4.3.11, 5.1.1
236
Output for 5.0.5
907
Output for 5.0.4
526
Output for 5.0.3
661
Output for 5.0.0
420
Output for 4.4.9
961
Output for 4.4.8
868
Output for 4.4.6
737
Output for 4.4.5
791
Output for 4.4.4
584
Output for 4.4.3
731
Output for 4.4.2
768
Output for 4.4.1
570
Output for 4.4.0
541
Output for 4.3.10
473
Output for 4.3.9
784
Output for 4.3.8
158
Output for 4.3.7
693
Output for 4.3.6
106
Output for 4.3.5
919
Output for 4.3.4
414
Output for 4.3.3
589
Output for 4.3.1
151
Output for 4.3.0
560