3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list($msec, $sec) = explode(' ', microtime()); echo round($msec*1000) . "\n"; sleep(1); list($msec, $sec) = explode(' ', microtime()); echo round($msec*1000);
Output for 5.4.0, 7.1.0
6 6
Output for 5.6.28, 7.0.14
4 4
Output for 7.0.6
162 162
Output for 7.0.5
523 523
Output for 7.0.4
349 349
Output for 7.0.3
927 927
Output for 7.0.2
387 387
Output for 5.3.15, 7.0.1
298 298
Output for 7.0.0
968 968
Output for hhvm-3.12.0
20 21
Output for 5.4.30, hhvm-3.10.0
192 192
Output for 5.6.21
636 636
Output for 5.6.20
46 47
Output for 5.6.19
632 632
Output for 5.6.18
964 964
Output for 5.6.17
856 856
Output for 5.6.16
797 797
Output for 5.6.15
386 386
Output for 5.0.1, 5.6.14
41 41
Output for 5.6.13
896 896
Output for 5.6.12
735 735
Output for 5.6.11
337 337
Output for 5.6.10
813 813
Output for 5.6.9
57 57
Output for 5.6.8
32 33
Output for 5.5.35
37 37
Output for 5.5.34
172 172
Output for 5.5.33
128 128
Output for 5.5.32
5 5
Output for 5.5.31
427 427
Output for 5.5.30
50 50
Output for 5.5.29
617 617
Output for 5.5.28
178 178
Output for 5.5.27
721 721
Output for 5.5.26
720 721
Output for 5.5.25
44 44
Output for 5.5.24
570 571
Output for 5.4.45
881 881
Output for 5.4.44
34 34
Output for 5.3.19, 5.4.43
23 23
Output for 5.4.42
706 706
Output for 5.4.41
599 599
Output for 5.4.40
694 695
Output for 5.4.39
936 939
Output for 5.4.38
262 262
Output for 5.4.37
274 275
Output for 5.4.36
841 842
Output for 5.4.35
483 483
Output for 5.4.34
139 139
Output for 5.4.15, 5.4.32
9 9
Output for 5.4.31
114 115
Output for 5.4.29
120 120
Output for 5.4.28
66 66
Output for 5.3.24, 5.4.27
499 499
Output for 5.4.26
428 428
Output for 5.4.25
309 309
Output for 5.4.24
411 411
Output for 5.4.23
475 475
Output for 5.4.7, 5.4.22
543 544
Output for 5.4.21
609 609
Output for 5.4.20
677 677
Output for 5.4.19
740 741
Output for 5.4.18
807 807
Output for 5.4.17
878 878
Output for 5.4.16
945 945
Output for 5.4.14
79 79
Output for 5.4.13
142 142
Output for 5.4.12
211 211
Output for 5.4.11
281 281
Output for 5.4.10
347 348
Output for 5.4.9
417 417
Output for 5.4.8
480 480
Output for 5.4.6
606 606
Output for 5.4.5
672 672
Output for 5.4.4
737 737
Output for 5.4.3
804 805
Output for 5.4.2
872 872
Output for 5.4.1
933 934
Output for 5.3.29
248 248
Output for 5.3.28
82 83
Output for 5.3.27
158 158
Output for 5.3.26
233 233
Output for 5.3.25
366 366
Output for 5.3.23
574 574
Output for 5.3.22
656 656
Output for 5.3.21
728 728
Output for 5.3.20
860 860
Output for 5.3.18
97 97
Output for 5.3.17
163 163
Output for 5.3.16
234 234
Output for 5.3.14
365 365
Output for 5.3.13
445 445
Output for 5.3.12
519 519
Output for 5.3.11
585 585
Output for 5.3.10
660 660
Output for 5.3.9
729 729
Output for 5.3.8
795 796
Output for 5.3.7
879 879
Output for 5.3.6
949 949
Output for 5.3.5
18 19
Output for 5.3.4
96 96
Output for 5.3.3
160 160
Output for 5.3.2
231 232
Output for 5.3.1
305 306
Output for 5.3.0
377 377
Output for 5.2.17
440 440
Output for 5.2.16
500 500
Output for 5.2.15
556 556
Output for 5.2.14
619 619
Output for 5.2.13
679 679
Output for 5.2.12
740 740
Output for 5.2.11
802 803
Output for 5.2.10
857 857
Output for 5.2.9
915 916
Output for 5.2.8
980 981
Output for 5.2.7
35 36
Output for 5.2.6
99 99
Output for 5.2.5
155 156
Output for 5.2.4
216 216
Output for 5.2.3
276 277
Output for 5.2.2
332 332
Output for 5.2.1
390 390
Output for 5.2.0
441 442
Output for 5.1.6
491 491
Output for 5.1.5
537 537
Output for 5.1.4
589 589
Output for 5.1.3
645 645
Output for 5.1.2
695 696
Output for 5.1.1
749 749
Output for 5.1.0
796 796
Output for 5.0.5
837 837
Output for 5.0.4
886 886
Output for 5.0.3
951 951
Output for 5.0.2
997 997
Output for 5.0.0
94 131
Output for 4.4.9
167 213
Output for 4.4.8
247 265
Output for 4.4.7
445 497
Output for 4.4.6
661 699
Output for 4.4.5
814 871
Output for 4.4.4
928 928
Output for 4.4.3
3 3
Output for 4.4.2
76 76
Output for 4.4.1
114 114
Output for 4.4.0
162 163
Output for 4.3.11
197 197
Output for 4.3.10
229 229
Output for 4.3.9
259 259
Output for 4.3.8
301 301
Output for 4.3.7
331 331
Output for 4.3.6
364 364
Output for 4.3.5
399 400
Output for 4.3.4
444 444
Output for 4.3.3
479 479
Output for 4.3.2
509 509
Output for 4.3.1
539 539
Output for 4.3.0
452 452