3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo sprintf('%03d', mt_rand(0, 999));
Output for 7.1.0
096
Output for 7.0.14
874
Output for 7.0.6
201
Output for 7.0.5
277
Output for 7.0.4
270
Output for 7.0.3
643
Output for 7.0.2
188
Output for 7.0.1
334
Output for 5.4.40, 7.0.0
754
Output for hhvm-3.12.0
904
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
758
Output for 5.6.21
291
Output for 5.6.20
410
Output for 5.6.19
505
Output for 5.6.18
743
Output for 5.6.17
787
Output for 5.6.16
087
Output for 5.6.15
867
Output for 5.4.16, 5.6.14
938
Output for 5.6.13
858
Output for 5.6.12
941
Output for 5.6.11
482
Output for 5.6.10
797
Output for 5.6.9
759
Output for 5.6.8
649
Output for 5.6.7
511
Output for 5.5.35
178
Output for 5.5.34
262
Output for 5.5.33
564
Output for 5.5.32
432
Output for 5.5.31
060
Output for 5.5.30
352
Output for 5.5.29
198
Output for 5.5.28
931
Output for 5.5.27
061
Output for 5.5.26
376
Output for 5.5.25
731
Output for 5.5.24
789
Output for 5.4.45
903
Output for 5.4.44
402
Output for 5.4.43
992
Output for 5.1.5, 5.4.42
406
Output for 5.4.41
747
Output for 5.4.39
007
Output for 5.4.38
751
Output for 5.4.37
397
Output for 5.4.36
978
Output for 5.4.35
820
Output for 5.3.11, 5.4.34
015
Output for 5.4.32
164
Output for 5.4.31
834
Output for 5.4.30
969
Output for 5.4.29
415
Output for 4.3.6, 5.4.28
687
Output for 5.4.27
279
Output for 5.2.9, 5.4.26
266
Output for 5.4.25
493
Output for 5.4.24
691
Output for 5.4.23
118
Output for 5.4.22
316
Output for 5.4.21
617
Output for 5.4.20
818
Output for 5.3.12, 5.4.19
665
Output for 5.4.18
333
Output for 5.4.17
470
Output for 5.4.15
267
Output for 5.4.14
536
Output for 5.4.13
699
Output for 5.4.12
367
Output for 5.4.11
500
Output for 5.4.10
072
Output for 5.4.9
701
Output for 5.4.8
608
Output for 5.4.7
933
Output for 5.4.6
143
Output for 5.4.5
651
Output for 5.4.4
028
Output for 5.2.12, 5.4.3
157
Output for 5.4.2
653
Output for 5.4.1
409
Output for 5.4.0
703
Output for 5.3.29
069
Output for 5.3.28
627
Output for 5.3.27
744
Output for 5.3.26
318
Output for 5.2.2, 5.3.25
582
Output for 4.4.6, 5.3.24
110
Output for 5.3.23
414
Output for 5.3.22
635
Output for 5.3.21
709
Output for 4.3.1, 5.3.20
002
Output for 5.2.5, 5.3.19
239
Output for 5.3.18
325
Output for 5.3.17
538
Output for 5.3.16
952
Output for 5.3.15
092
Output for 5.3.14
916
Output for 5.3.13
684
Output for 5.3.10
211
Output for 5.3.9
613
Output for 5.3.8
160
Output for 5.3.7
852
Output for 5.3.6
123
Output for 5.3.5
528
Output for 5.3.4
827
Output for 5.3.3
907
Output for 5.3.2
475
Output for 5.3.1
663
Output for 5.3.0
739
Output for 5.2.17
929
Output for 5.2.16
574
Output for 5.2.15
100
Output for 5.2.14
841
Output for 5.2.13
194
Output for 5.2.11
958
Output for 5.2.10
585
Output for 5.2.8
258
Output for 5.2.7
517
Output for 5.2.6
328
Output for 5.2.4
005
Output for 5.2.3
358
Output for 5.2.1
088
Output for 5.2.0
012
Output for 5.1.6
217
Output for 5.1.4
890
Output for 5.1.3
026
Output for 5.1.2
695
Output for 5.1.1
936
Output for 5.1.0
516
Output for 5.0.5
206
Output for 5.0.4
020
Output for 5.0.3
853
Output for 5.0.2
089
Output for 5.0.1
669
Output for 5.0.0
567
Output for 4.4.9
583
Output for 4.4.8
283
Output for 4.4.7
843
Output for 4.4.5
816
Output for 4.4.4
846
Output for 4.4.3
030
Output for 4.4.2
483
Output for 4.4.1
254
Output for 4.4.0
920
Output for 4.3.11
782
Output for 4.3.10
954
Output for 4.3.9
819
Output for 4.3.8
430
Output for 4.3.7
734
Output for 4.3.5
103
Output for 4.3.4
463
Output for 4.3.3
549
Output for 4.3.2
342
Output for 4.3.0
756