3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = 0; for($i = 50000; $i--; ) { $s = microtime(true); glob("*.php"); $d = microtime(true) - $s; $t += $d; } echo $t / 50000;
Output for 7.1.0
1.3873291015625E-6
Output for 7.0.14
1.2779855728149E-6
Output for 7.0.10
9.2951774597168E-7
Output for 7.0.9
1.5552282333374E-6
Output for 7.0.8
9.1311454772949E-7
Output for 7.0.7
1.0490226745605E-6
Output for 7.0.6
9.2494487762451E-7
Output for 7.0.5
9.4654560089111E-7
Output for 7.0.4
9.6528053283691E-7
Output for 7.0.3
9.438943862915E-7
Output for 7.0.2
8.914041519165E-7
Output for 7.0.1
1.2388324737549E-6
Output for 7.0.0
1.1706447601318E-6
Output for 5.6.28
1.4989423751831E-6
Output for 5.6.25
1.029224395752E-6
Output for 5.6.24
1.0543298721313E-6
Output for 5.6.23
1.1273288726807E-6
Output for 5.6.22
1.1313772201538E-6
Output for 5.6.21
1.3714551925659E-6
Output for 5.6.20
1.0519790649414E-6
Output for 5.6.19
1.2277221679688E-6
Output for 5.6.18
1.1960411071777E-6
Output for 5.6.17
1.7776775360107E-6
Output for 5.6.16
1.2051963806152E-6
Output for 5.6.15
1.0895490646362E-6
Output for 5.6.14
1.0115432739258E-6
Output for 5.6.13
1.1227989196777E-6
Output for 5.6.12
1.004319190979E-6
Output for 5.6.11
1.1019372940063E-6
Output for 5.6.10
1.0073566436768E-6
Output for 5.6.9
9.917688369751E-7
Output for 5.6.8
1.0254573822021E-6
Output for 5.6.7
1.1129903793335E-6
Output for 5.6.6
1.2547779083252E-6
Output for 5.6.5
1.1662101745605E-6
Output for 5.6.4
1.3022375106812E-6
Output for 5.6.3
1.4602327346802E-6
Output for 5.6.2
1.000337600708E-6
Output for 5.6.1
1.000714302063E-6
Output for 5.6.0
1.0613536834717E-6
Output for 5.5.38
1.0926246643066E-6
Output for 5.5.37
1.0881519317627E-6
Output for 5.5.36
1.3102149963379E-6
Output for 5.5.35
1.277756690979E-6
Output for 5.5.34
1.0205793380737E-6
Output for 5.5.33
1.1386632919312E-6
Output for 5.5.32
1.164755821228E-6
Output for 5.5.31
1.2187480926514E-6
Output for 5.5.30
1.0478925704956E-6
Output for 5.5.29
1.0173845291138E-6
Output for 5.5.28
1.2733507156372E-6
Output for 5.5.27
1.2856960296631E-6
Output for 5.5.26
1.1568546295166E-6
Output for 5.5.25
1.0364532470703E-6
Output for 5.5.24
1.0517883300781E-6
Output for 5.5.23
1.3903999328613E-6
Output for 5.5.22
9.8952293395996E-7
Output for 5.5.21
1.0943365097046E-6
Output for 5.5.20
1.2435436248779E-6
Output for 5.5.19
1.3190937042236E-6
Output for 5.5.18
1.0132265090942E-6
Output for 5.5.16
1.0188627243042E-6
Output for 5.5.15
1.0075521469116E-6
Output for 5.5.14
1.0394191741943E-6
Output for 5.5.13
1.2592744827271E-6
Output for 5.5.12
1.0305833816528E-6
Output for 5.5.11
1.0870885848999E-6
Output for 5.5.10
1.0445642471313E-6
Output for 5.5.9
9.9496841430664E-7
Output for 5.5.8
1.347336769104E-6
Output for 5.5.7
1.1796522140503E-6
Output for 5.5.6
1.1732339859009E-6
Output for 5.5.5
9.9338531494141E-7
Output for 5.5.4
1.2532711029053E-6
Output for 5.5.3
1.1690378189087E-6
Output for 5.5.2
1.5147304534912E-6
Output for 5.5.1
1.3111114501953E-6
Output for 5.5.0
1.2708711624146E-6
Output for 5.4.45
1.4142227172852E-6
Output for 5.4.44
9.9848747253418E-7
Output for 5.4.43
1.2495040893555E-6
Output for 5.4.42
1.1231803894043E-6
Output for 5.4.41
1.4012575149536E-6
Output for 5.4.40
1.2900066375732E-6
Output for 5.4.39
1.1928653717041E-6
Output for 5.4.38
1.30455493927E-6
Output for 5.4.37
1.1911582946777E-6
Output for 5.4.36
1.2840604782104E-6
Output for 5.4.35
1.2757349014282E-6
Output for 5.4.34
1.085376739502E-6
Output for 5.4.32
1.0175943374634E-6
Output for 5.4.31
1.0447120666504E-6
Output for 5.4.30
1.0141134262085E-6
Output for 5.4.29
1.0724067687988E-6
Output for 5.4.28
1.0170125961304E-6
Output for 5.4.27
1.0059213638306E-6
Output for 5.4.26
1.0716867446899E-6
Output for 5.4.25
1.2350559234619E-6
Output for 5.4.24
1.0031986236572E-6
Output for 5.4.23
1.2958574295044E-6
Output for 5.4.22
1.0856485366821E-6
Output for 5.4.21
1.3604593276978E-6
Output for 5.4.20
1.1091089248657E-6
Output for 5.4.19
9.9941253662109E-7
Output for 5.4.18
1.178822517395E-6
Output for 5.4.17
1.4386987686157E-6
Output for 5.4.16
1.1505556106567E-6
Output for 5.4.15
9.9813461303711E-7
Output for 5.4.14
1.21413230896E-6
Output for 5.4.13
1.3194608688354E-6
Output for 5.4.12
1.2484693527222E-6
Output for 5.4.11
1.0954332351685E-6
Output for 5.4.10
1.021842956543E-6
Output for 5.4.9
9.8770618438721E-7
Output for 5.4.8
1.3126134872437E-6
Output for 5.4.7
1.2346601486206E-6
Output for 5.4.6
1.3765048980713E-6
Output for 5.4.5
1.2191104888916E-6
Output for 5.4.4
1.0245943069458E-6
Output for 5.4.3
1.3650703430176E-6
Output for 5.4.2
1.2560224533081E-6
Output for 5.4.1
1.015567779541E-6
Output for 5.4.0
1.3764619827271E-6
Output for 5.3.29
1.3136291503906E-6
Output for 5.3.28
1.2485647201538E-6
Output for 5.3.27
1.144437789917E-6
Output for 5.3.26
1.3275814056396E-6
Output for 5.3.25
1.4483070373535E-6
Output for 5.3.24
2.0425176620483E-6
Output for 5.3.23
1.297812461853E-6
Output for 5.3.22
1.4664030075073E-6
Output for 5.3.21
1.1144018173218E-6
Output for 5.3.20
1.1101245880127E-6
Output for 5.3.19
1.3602256774902E-6
Output for 5.3.18
1.1374664306641E-6
Output for 5.3.17
1.3862562179565E-6
Output for 5.3.16
1.173267364502E-6
Output for 5.3.15
1.4573526382446E-6
Output for 5.3.14
1.2713766098022E-6
Output for 5.3.13
1.4250516891479E-6
Output for 5.3.12
1.1360836029053E-6
Output for 5.3.11
1.259446144104E-6
Output for 5.3.10
1.3055276870728E-6
Output for 5.3.9
1.5142440795898E-6
Output for 5.3.8
1.2176275253296E-6
Output for 5.3.7
1.3104724884033E-6
Output for 5.3.6
1.5718078613281E-6
Output for 5.3.5
1.1486148834229E-6
Output for 5.3.4
1.2548875808716E-6
Output for 5.3.3
1.179141998291E-6
Output for 5.3.2
1.2521171569824E-6
Output for 5.3.1
1.2951564788818E-6
Output for 5.3.0
1.5942144393921E-6
Output for 5.2.17
1.1194705963135E-6
Output for 5.2.16
1.1322402954102E-6
Output for 5.2.15
1.3457632064819E-6
Output for 5.2.14
1.5697288513184E-6
Output for 5.2.13
1.6892576217651E-6
Output for 5.2.12
1.7531681060791E-6
Output for 5.2.11
1.2431478500366E-6
Output for 5.2.10
1.3833618164063E-6
Output for 5.2.9
1.2653493881226E-6
Output for 5.2.8
1.3664150238037E-6
Output for 5.2.7
1.2775135040283E-6
Output for 5.2.6
1.1332702636719E-6
Output for 5.2.5
1.2511873245239E-6
Output for 5.2.4
1.3429117202759E-6
Output for 5.2.3
1.4642477035522E-6
Output for 5.2.2
1.364574432373E-6
Output for 5.2.1
1.2900304794312E-06
Output for 5.2.0
1.2143325805664E-06
Output for 5.1.6
1.2574100494385E-06
Output for 5.1.5
1.3779878616333E-06
Output for 5.1.4
1.2119626998901E-06
Output for 5.1.3
1.1085844039917E-06
Output for 5.1.2
1.1305809020996E-06
Output for 5.1.1
1.0886096954346E-06
Output for 5.1.0
1.3534069061279E-06
Output for 5.0.5
1.2708806991577E-06
Output for 5.0.4
1.1928844451904E-06
Output for 5.0.3
1.2354278564453E-06
Output for 5.0.2
1.0259914398193E-06
Output for 5.0.1
1.0358810424805E-06
Output for 5.0.0
1.1020231246948E-06
Output for 4.4.9
1.94472E-06
Output for 4.4.8
1.63348E-06
Output for 4.4.7
1.97438E-06
Output for 4.4.6
1.45904E-06
Output for 4.4.5
1.40292E-06
Output for 4.4.4
1.65238E-06
Output for 4.4.3
1.83344E-06
Output for 4.4.2
1.32698E-06
Output for 4.4.1
1.62088E-06
Output for 4.4.0
1.58742E-06
Output for 4.3.11
1.43948E-06
Output for 4.3.10
1.41508E-06
Output for 4.3.9
1.59788E-06
Output for 4.3.8
1.26756E-06
Output for 4.3.7
1.29874E-06
Output for 4.3.6
1.45136E-06
Output for 4.3.5
1.42466E-06
Output for 4.3.4
1.61738E-06
Output for 4.3.3
1.43198E-06
Output for 4.3.2
1.33304E-06
Output for 4.3.1
1.3749E-06
Output for 4.3.0
1.31972E-06