3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = microtime();list($us, $s) = explode(' ', $t);$us *= 1000000;$f = sprintf('%d.%d', $s, $us);var_dump($t, $f);
based on m9fZ5
Output for 7.1.0
string(21) "0.00397300 1413781554" string(15) "1413781554.3973"
Output for 7.0.14
string(21) "0.00355900 1413781554" string(15) "1413781554.3559"
Output for 7.0.6
string(21) "0.87893300 1462255124" string(17) "1462255124.878933"
Output for 7.0.5
string(21) "0.18835200 1459623374" string(17) "1459623374.188352"
Output for 7.0.4
string(21) "0.63852500 1457590307" string(17) "1457590307.638525"
Output for 7.0.3
string(21) "0.56333000 1458283405" string(17) "1458283405.563330"
Output for 7.0.2
string(21) "0.64263100 1458649732" string(17) "1458649732.642631"
Output for 7.0.1
string(21) "0.28209500 1458754261" string(17) "1458754261.282095"
Output for 7.0.0
string(21) "0.70803700 1459019516" string(17) "1459019516.708037"
Output for hhvm-3.12.0
string(21) "0.83668600 1459014124" string(17) "1459014124.836686"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
string(21) "0.00450100 1413781554" string(15) "1413781554.4501"
Output for 5.6.21
string(21) "0.19581900 1462151871" string(17) "1462151871.195819"
Output for 5.6.20
string(21) "0.61901200 1460223935" string(17) "1460223935.619012"
Output for 5.6.19
string(21) "0.80951100 1457360228" string(17) "1457360228.809511"
Output for 5.6.18
string(21) "0.12939600 1457992881" string(17) "1457992881.129396"
Output for 5.6.17
string(21) "0.19096700 1458385322" string(17) "1458385322.190967"
Output for 5.6.16
string(21) "0.39804300 1459108623" string(17) "1459108623.398043"
Output for 5.6.15
string(21) "0.08000500 1459198224" string(16) "1459198224.80005"
Output for 5.6.14
string(21) "0.15657500 1459553088" string(17) "1459553088.156575"
Output for 5.6.13
string(21) "0.13888600 1460690406" string(17) "1460690406.138886"
Output for 5.6.12
string(21) "0.77791200 1461084969" string(17) "1461084969.777912"
Output for 5.6.11
string(21) "0.66903300 1461369312" string(17) "1461369312.669033"
Output for 5.6.10
string(21) "0.48347500 1461548797" string(17) "1461548797.483475"
Output for 5.6.9
string(21) "0.23135100 1461739428" string(17) "1461739428.231351"
Output for 5.6.8
string(21) "0.86080500 1461940943" string(17) "1461940943.860805"
Output for 5.6.7
string(21) "0.63459500 1464165728" string(17) "1464165728.634595"
Output for 5.5.35
string(21) "0.62414800 1463893158" string(17) "1463893158.624148"
Output for 5.5.34
string(21) "0.72498600 1460319154" string(17) "1460319154.724986"
Output for 5.5.33
string(21) "0.73598000 1457456838" string(17) "1457456838.735980"
Output for 5.5.32
string(21) "0.76826200 1458172385" string(17) "1458172385.768262"
Output for 5.5.31
string(21) "0.03955800 1458481758" string(16) "1458481758.39558"
Output for 5.5.30
string(21) "0.14037400 1459465102" string(17) "1459465102.140374"
Output for 5.5.29
string(21) "0.67990600 1460827511" string(17) "1460827511.679906"
Output for 5.5.28
string(21) "0.02922400 1461182501" string(16) "1461182501.29224"
Output for 5.5.27
string(21) "0.96413600 1461277933" string(17) "1461277933.964136"
Output for 5.5.26
string(21) "0.52420200 1461643945" string(17) "1461643945.524201"
Output for 5.5.25
string(21) "0.28768900 1461838520" string(17) "1461838520.287689"
Output for 5.5.24
string(21) "0.20689700 1464023441" string(17) "1464023441.206897"
Output for 5.4.45
string(21) "0.55719900 1442756304" string(17) "1442756304.557199"
Output for 5.4.44
string(21) "0.81148700 1442756300" string(17) "1442756300.811487"
Output for 5.4.43
string(21) "0.45185700 1442756296" string(17) "1442756296.451857"
Output for 5.4.42
string(21) "0.71984600 1436433953" string(17) "1436433953.719846"
Output for 5.4.41
string(21) "0.78518200 1436433951" string(17) "1436433951.785182"
Output for 5.4.40
string(21) "0.74355400 1436433946" string(17) "1436433946.743554"
Output for 5.4.39
string(21) "0.35004100 1436433946" string(17) "1436433946.350041"
Output for 5.4.38
string(21) "0.93490500 1436433944" string(17) "1436433944.934905"
Output for 5.4.37
string(21) "0.76255400 1436433942" string(17) "1436433942.762554"
Output for 5.4.36
string(21) "0.41529300 1436433942" string(17) "1436433942.415293"
Output for 5.4.35
string(21) "0.05997100 1436433942" string(16) "1436433942.59971"
Output for 5.4.34
string(21) "0.28808800 1413781559" string(17) "1413781559.288088"
Output for 5.4.32
string(21) "0.33954200 1413781559" string(17) "1413781559.339542"
Output for 5.4.31
string(21) "0.38610200 1413781559" string(17) "1413781559.386102"
Output for 5.4.30
string(21) "0.43862700 1413781559" string(17) "1413781559.438627"
Output for 5.4.29
string(21) "0.48898400 1413781559" string(17) "1413781559.488984"
Output for 5.4.28
string(21) "0.53559100 1413781559" string(17) "1413781559.535591"
Output for 5.4.27
string(21) "0.58611700 1413781559" string(17) "1413781559.586117"
Output for 5.4.26
string(21) "0.64060600 1413781559" string(17) "1413781559.640606"
Output for 5.4.25
string(21) "0.68828900 1413781559" string(17) "1413781559.688289"
Output for 5.4.24
string(21) "0.73576500 1413781559" string(17) "1413781559.735765"
Output for 5.4.23
string(21) "0.79144200 1413781559" string(17) "1413781559.791442"
Output for 5.4.22
string(21) "0.84136100 1413781559" string(17) "1413781559.841361"
Output for 5.4.21
string(21) "0.88512800 1413781559" string(17) "1413781559.885128"
Output for 5.4.20
string(21) "0.93709100 1413781559" string(17) "1413781559.937091"
Output for 5.4.19
string(21) "0.98339400 1413781559" string(17) "1413781559.983394"
Output for 5.4.18
string(21) "0.02787200 1413781560" string(16) "1413781560.27872"
Output for 5.4.17
string(21) "0.07322700 1413781560" string(16) "1413781560.73227"
Output for 5.4.16
string(21) "0.11850100 1413781560" string(17) "1413781560.118501"
Output for 5.4.15
string(21) "0.16825600 1413781560" string(17) "1413781560.168256"
Output for 5.4.14
string(21) "0.21326600 1413781560" string(17) "1413781560.213266"
Output for 5.4.13
string(21) "0.26393300 1413781560" string(17) "1413781560.263933"
Output for 5.4.12
string(21) "0.31177200 1413781560" string(17) "1413781560.311772"
Output for 5.4.11
string(21) "0.35953300 1413781560" string(17) "1413781560.359533"
Output for 5.4.10
string(21) "0.40659200 1413781560" string(17) "1413781560.406592"
Output for 5.4.9
string(21) "0.46010700 1413781560" string(17) "1413781560.460107"
Output for 5.4.8
string(21) "0.50926000 1413781560" string(17) "1413781560.509260"
Output for 5.4.7
string(21) "0.56171400 1413781560" string(17) "1413781560.561714"
Output for 5.4.6
string(21) "0.60569100 1413781560" string(17) "1413781560.605691"
Output for 5.4.5
string(21) "0.65026500 1413781560" string(17) "1413781560.650265"
Output for 5.4.4
string(21) "0.69871500 1413781560" string(17) "1413781560.698715"
Output for 5.4.3
string(21) "0.74711300 1413781560" string(17) "1413781560.747113"
Output for 5.4.2
string(21) "0.79447800 1413781560" string(17) "1413781560.794478"
Output for 5.4.1
string(21) "0.85057300 1413781560" string(17) "1413781560.850573"
Output for 5.4.0
string(21) "0.90597800 1413781560" string(17) "1413781560.905978"
Output for 5.3.29
string(21) "0.95903300 1413781560" string(17) "1413781560.959033"
Output for 5.3.28
string(21) "0.00817500 1413781561" string(15) "1413781561.8175"
Output for 5.3.27
string(21) "0.06393400 1413781561" string(16) "1413781561.63934"
Output for 5.3.26
string(21) "0.11435100 1413781561" string(17) "1413781561.114351"
Output for 5.3.25
string(21) "0.16365100 1413781561" string(17) "1413781561.163651"
Output for 5.3.24
string(21) "0.21538200 1413781561" string(17) "1413781561.215382"
Output for 5.3.23
string(21) "0.26427700 1413781561" string(17) "1413781561.264277"
Output for 5.3.22
string(21) "0.31108700 1413781561" string(17) "1413781561.311087"
Output for 5.3.21
string(21) "0.35978600 1413781561" string(17) "1413781561.359786"
Output for 5.3.20
string(21) "0.40460100 1413781561" string(17) "1413781561.404601"
Output for 5.3.19
string(21) "0.45449700 1413781561" string(17) "1413781561.454497"
Output for 5.3.18
string(21) "0.50529700 1413781561" string(17) "1413781561.505297"
Output for 5.3.17
string(21) "0.55206200 1413781561" string(17) "1413781561.552062"
Output for 5.3.16
string(21) "0.60039500 1413781561" string(17) "1413781561.600395"
Output for 5.3.15
string(21) "0.66503900 1413781561" string(17) "1413781561.665039"
Output for 5.3.14
string(21) "0.71970500 1413781561" string(17) "1413781561.719705"
Output for 5.3.13
string(21) "0.77014200 1413781561" string(17) "1413781561.770142"
Output for 5.3.12
string(21) "0.81916400 1413781561" string(17) "1413781561.819164"
Output for 5.3.11
string(21) "0.86944300 1413781561" string(17) "1413781561.869443"
Output for 5.3.10
string(21) "0.91655600 1413781561" string(17) "1413781561.916556"
Output for 5.3.9
string(21) "0.97792600 1413781561" string(17) "1413781561.977926"
Output for 5.3.8
string(21) "0.02439000 1413781562" string(16) "1413781562.24390"
Output for 5.3.7
string(21) "0.07074100 1413781562" string(16) "1413781562.70741"
Output for 5.3.6
string(21) "0.11876900 1413781562" string(17) "1413781562.118769"
Output for 5.3.5
string(21) "0.17267500 1413781562" string(17) "1413781562.172675"
Output for 5.3.4
string(21) "0.22062400 1413781562" string(17) "1413781562.220624"
Output for 5.3.3
string(21) "0.26572400 1413781562" string(17) "1413781562.265724"
Output for 5.3.2
string(21) "0.31044200 1413781562" string(17) "1413781562.310442"
Output for 5.3.1
string(21) "0.35636200 1413781562" string(17) "1413781562.356362"
Output for 5.3.0
string(21) "0.40195900 1413781562" string(17) "1413781562.401959"
Output for 5.2.17
string(21) "0.44205400 1413781562" string(17) "1413781562.442054"
Output for 5.2.16
string(21) "0.47969400 1413781562" string(17) "1413781562.479694"
Output for 5.2.15
string(21) "0.51793200 1413781562" string(17) "1413781562.517931"
Output for 5.2.14
string(21) "0.56288800 1413781562" string(17) "1413781562.562888"
Output for 5.2.13
string(21) "0.61200800 1413781562" string(17) "1413781562.612008"
Output for 5.2.12
string(21) "0.65431200 1413781562" string(17) "1413781562.654312"
Output for 5.2.11
string(21) "0.70322200 1413781562" string(17) "1413781562.703222"
Output for 5.2.10
string(21) "0.74528200 1413781562" string(17) "1413781562.745282"
Output for 5.2.9
string(21) "0.78204100 1413781562" string(17) "1413781562.782041"
Output for 5.2.8
string(21) "0.82191900 1413781562" string(17) "1413781562.821919"
Output for 5.2.7
string(21) "0.85902200 1413781562" string(17) "1413781562.859022"
Output for 5.2.6
string(21) "0.89703600 1413781562" string(17) "1413781562.897036"
Output for 5.2.5
string(21) "0.94018600 1413781562" string(17) "1413781562.940186"
Output for 5.2.4
string(21) "0.97979400 1413781562" string(17) "1413781562.979794"
Output for 5.2.3
string(21) "0.01763300 1413781563" string(16) "1413781563.17633"
Output for 5.2.2
string(21) "0.05690700 1413781563" string(16) "1413781563.56907"
Output for 5.2.1
string(21) "0.10435100 1413781563" string(17) "1413781563.104351"
Output for 5.2.0
string(21) "0.14769600 1413781563" string(17) "1413781563.147696"
Output for 5.1.6
string(21) "0.18599900 1413781563" string(17) "1413781563.185999"
Output for 5.1.5
string(21) "0.21776300 1413781563" string(17) "1413781563.217763"
Output for 5.1.4
string(21) "0.25899500 1413781563" string(17) "1413781563.258994"
Output for 5.1.3
string(21) "0.29974700 1413781563" string(17) "1413781563.299747"
Output for 5.1.2
string(21) "0.33550400 1413781563" string(17) "1413781563.335504"
Output for 5.1.1
string(21) "0.36859800 1413781563" string(17) "1413781563.368598"
Output for 5.1.0
string(21) "0.40093700 1413781563" string(17) "1413781563.400937"
Output for 5.0.5
string(21) "0.42769500 1413781563" string(17) "1413781563.427695"
Output for 5.0.4
string(21) "0.45330400 1413781563" string(17) "1413781563.453304"
Output for 5.0.3
string(21) "0.49245000 1413781563" string(17) "1413781563.492450"
Output for 5.0.2
string(21) "0.52617200 1413781563" string(17) "1413781563.526172"
Output for 5.0.1
string(21) "0.55874300 1413781563" string(17) "1413781563.558743"
Output for 5.0.0
string(21) "0.59647700 1413781563" string(17) "1413781563.596477"
Output for 4.4.9
string(21) "0.62521100 1413781563" string(17) "1413781563.625211"
Output for 4.4.8
string(21) "0.64955300 1413781563" string(17) "1413781563.649553"
Output for 4.4.7
string(21) "0.67210400 1413781563" string(17) "1413781563.672104"
Output for 4.4.6
string(21) "0.69603700 1413781563" string(17) "1413781563.696037"
Output for 4.4.5
string(21) "0.72968800 1413781563" string(17) "1413781563.729688"
Output for 4.4.4
string(21) "0.76240400 1413781563" string(17) "1413781563.762404"
Output for 4.4.3
string(21) "0.79335300 1413781563" string(17) "1413781563.793353"
Output for 4.4.2
string(21) "0.81865800 1413781563" string(17) "1413781563.818658"
Output for 4.4.1
string(21) "0.84651700 1413781563" string(17) "1413781563.846517"
Output for 4.4.0
string(21) "0.87746200 1413781563" string(17) "1413781563.877462"
Output for 4.3.11
string(21) "0.90700300 1413781563" string(17) "1413781563.907003"
Output for 4.3.10
string(21) "0.92879600 1413781563" string(17) "1413781563.928796"
Output for 4.3.9
string(21) "0.95092800 1413781563" string(17) "1413781563.950928"
Output for 4.3.8
string(21) "0.98258100 1413781563" string(17) "1413781563.982581"
Output for 4.3.7
string(21) "0.00493200 1413781564" string(15) "1413781564.4932"
Output for 4.3.6
string(21) "0.02821500 1413781564" string(16) "1413781564.28215"
Output for 4.3.5
string(21) "0.05541200 1413781564" string(16) "1413781564.55412"
Output for 4.3.4
string(21) "0.09057600 1413781564" string(16) "1413781564.90576"
Output for 4.3.3
string(21) "0.11683100 1413781564" string(17) "1413781564.116831"
Output for 4.3.2
string(21) "0.13811100 1413781564" string(17) "1413781564.138111"
Output for 4.3.1
string(21) "0.16059800 1413781564" string(17) "1413781564.160598"
Output for 4.3.0
string(21) "0.00679000 1442756296" string(15) "1442756296.6790"