3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( microtime()); $array = array(); for($i=0;$i<10000;$i++){ $array['good'] = 2; } var_dump( microtime()); ?>
Output for 7.1.0
string(21) "0.00634900 1364761782" string(21) "0.00665500 1364761782"
Output for 7.0.14
string(21) "0.00380700 1364761782" string(21) "0.00415400 1364761782"
Output for 7.0.12
string(21) "0.00308600 1364761782" string(21) "0.00334400 1364761782"
Output for 7.0.6
string(21) "0.76985800 1463828623" string(21) "0.77014500 1463828623"
Output for 7.0.5
string(21) "0.50356200 1459667271" string(21) "0.50379400 1459667271"
Output for 7.0.4
string(21) "0.75667300 1457640812" string(21) "0.75686000 1457640812"
Output for 7.0.3
string(21) "0.96662600 1458336907" string(21) "0.96681500 1458336907"
Output for 7.0.2
string(21) "0.45730000 1458704923" string(21) "0.45755600 1458704923"
Output for 7.0.1
string(21) "0.55110200 1458802664" string(21) "0.55129100 1458802664"
Output for 7.0.0
string(21) "0.08631900 1459065077" string(21) "0.08663300 1459065077"
Output for hhvm-3.12.0
string(21) "0.58460900 1457892104" string(21) "0.58526900 1457892104"
Output for hhvm-3.10.0
string(21) "0.14506800 1459402096" string(21) "0.14582500 1459402096"
Output for 5.6.28
string(21) "0.00450400 1364761782" string(21) "0.00547500 1364761782"
Output for 5.6.21
string(21) "0.64456300 1462197603" string(21) "0.64504700 1462197603"
Output for 5.6.20
string(21) "0.62512000 1460268580" string(21) "0.62570900 1460268580"
Output for 5.6.19
string(21) "0.81468800 1457410852" string(21) "0.81513100 1457410852"
Output for 5.6.18
string(21) "0.50356200 1458047778" string(21) "0.50415500 1458047778"
Output for 5.6.17
string(21) "0.97108400 1458434931" string(21) "0.97163200 1458434931"
Output for 5.6.16
string(21) "0.90236300 1459154437" string(21) "0.90279100 1459154437"
Output for 5.6.15
string(21) "0.46169700 1459243784" string(21) "0.46241500 1459243784"
Output for 5.6.14
string(21) "0.07967900 1460646722" string(21) "0.08011200 1460646722"
Output for 5.6.13
string(21) "0.00105000 1460735470" string(21) "0.00164700 1460735470"
Output for 5.6.12
string(21) "0.52990000 1461133192" string(21) "0.53047800 1461133192"
Output for 5.6.11
string(21) "0.43646200 1461501942" string(21) "0.43711700 1461501942"
Output for 5.6.10
string(21) "0.78009800 1461595867" string(21) "0.78051800 1461595867"
Output for 5.6.9
string(21) "0.30774300 1461787151" string(21) "0.30834300 1461787151"
Output for 5.6.8
string(21) "0.63669000 1461991700" string(21) "0.63743700 1461991700"
Output for 5.5.35
string(21) "0.40137100 1463960115" string(21) "0.40191200 1463960115"
Output for 5.5.34
string(21) "0.51931100 1460362986" string(21) "0.51975000 1460362986"
Output for 5.5.33
string(21) "0.33891800 1457507997" string(21) "0.33949200 1457507997"
Output for 5.5.32
string(21) "0.78552500 1458234736" string(21) "0.78600100 1458234736"
Output for 5.5.31
string(21) "0.44321100 1458532634" string(21) "0.44364500 1458532634"
Output for 5.5.30
string(21) "0.74203200 1459509732" string(21) "0.74273900 1459509732"
Output for 5.5.29
string(21) "0.06138400 1460873336" string(21) "0.06196600 1460873336"
Output for 5.5.28
string(21) "0.55413500 1461231480" string(21) "0.55523500 1461231480"
Output for 5.5.27
string(21) "0.73281800 1461323855" string(21) "0.73347300 1461323855"
Output for 5.5.26
string(21) "0.92905700 1461691813" string(21) "0.92958600 1461691813"
Output for 5.5.25
string(21) "0.92453100 1461891366" string(21) "0.92495200 1461891366"
Output for 5.5.24
string(21) "0.48898000 1464074480" string(21) "0.48969700 1464074480"
Output for 5.4.45
string(21) "0.50975400 1451190971" string(21) "0.51019200 1451190971"
Output for 5.4.44
string(21) "0.36197500 1451190972" string(21) "0.36245100 1451190972"
Output for 5.4.43
string(21) "0.94606800 1451190973" string(21) "0.94655400 1451190973"
Output for 5.4.42
string(21) "0.66651400 1451190974" string(21) "0.66717000 1451190974"
Output for 5.4.41
string(21) "0.02631500 1451190975" string(21) "0.02700400 1451190975"
Output for 5.4.40
string(21) "0.11639400 1451190976" string(21) "0.11698100 1451190976"
Output for 5.4.39
string(21) "0.59408200 1451190976" string(21) "0.59467000 1451190976"
Output for 5.4.38
string(21) "0.32794100 1451190977" string(21) "0.32838200 1451190977"
Output for 5.4.37
string(21) "0.87036900 1451190977" string(21) "0.87108800 1451190977"
Output for 5.4.36
string(21) "0.46264100 1451190978" string(21) "0.46334200 1451190978"
Output for 5.4.35
string(21) "0.01438900 1451190979" string(21) "0.01503000 1451190979"
Output for 5.4.34
string(21) "0.69370700 1451190979" string(21) "0.69431800 1451190979"
Output for 5.4.32
string(21) "0.66662300 1451190980" string(21) "0.66728200 1451190980"
Output for 5.4.31
string(21) "0.05222600 1451190981" string(21) "0.05287000 1451190981"
Output for 5.4.30
string(21) "0.61151600 1451190981" string(21) "0.61219500 1451190981"
Output for 5.4.29
string(21) "0.78545600 1451190981" string(21) "0.78602600 1451190981"
Output for 5.4.28
string(21) "0.13200700 1451190982" string(21) "0.13264000 1451190982"
Output for 5.4.27
string(21) "0.44288400 1451190982" string(21) "0.44331900 1451190982"
Output for 5.4.26
string(21) "0.75602000 1451190982" string(21) "0.75651000 1451190982"
Output for 5.4.25
string(21) "0.10240500 1451190983" string(21) "0.10287600 1451190983"
Output for 5.4.24
string(21) "0.65683900 1451190983" string(21) "0.65749100 1451190983"
Output for 5.4.23
string(21) "0.83636300 1451190983" string(21) "0.83696100 1451190983"
Output for 5.4.22
string(21) "0.58257900 1451190984" string(21) "0.58302900 1451190984"
Output for 5.4.21
string(21) "0.73521700 1451190984" string(21) "0.73564000 1451190984"
Output for 5.4.20
string(21) "0.11393600 1451190985" string(21) "0.11459100 1451190985"
Output for 5.4.19
string(21) "0.66170800 1451190985" string(21) "0.66222000 1451190985"
Output for 5.4.18
string(21) "0.01583800 1451190986" string(21) "0.01626400 1451190986"
Output for 5.4.17
string(21) "0.55980300 1451190986" string(21) "0.56050600 1451190986"
Output for 5.4.16
string(21) "0.09110800 1451190987" string(21) "0.09177000 1451190987"
Output for 5.4.15
string(21) "0.47070300 1451190987" string(21) "0.47137500 1451190987"
Output for 5.4.14
string(21) "0.62774500 1451190987" string(21) "0.62818500 1451190987"
Output for 5.4.13
string(21) "0.96546600 1451190987" string(21) "0.96594900 1451190987"
Output for 5.4.12
string(21) "0.30847200 1451190988" string(21) "0.30904400 1451190988"
Output for 5.4.11
string(21) "0.83034600 1451190988" string(21) "0.83101100 1451190988"
Output for 5.4.10
string(21) "0.19654900 1451190989" string(21) "0.19702800 1451190989"
Output for 5.4.9
string(21) "0.36068500 1451190989" string(21) "0.36124900 1451190989"
Output for 5.4.8
string(21) "0.96041700 1451190989" string(21) "0.96114000 1451190989"
Output for 5.4.7
string(21) "0.31252100 1451190990" string(21) "0.31305800 1451190990"
Output for 5.4.6
string(21) "0.57166700 1451190990" string(21) "0.57229900 1451190990"
Output for 5.4.5
string(21) "0.18026800 1451190991" string(21) "0.18087500 1451190991"
Output for 5.4.4
string(21) "0.52064500 1451190991" string(21) "0.52124800 1451190991"
Output for 5.4.3
string(21) "0.68968000 1451190991" string(21) "0.69023200 1451190991"
Output for 5.4.2
string(21) "0.28506400 1451190992" string(21) "0.28565800 1451190992"
Output for 5.4.1
string(21) "0.66201200 1451190992" string(21) "0.66266900 1451190992"
Output for 5.4.0
string(21) "0.82655600 1451190992" string(21) "0.82733800 1451190992"
Output for 5.3.29
string(21) "0.86285400 1451190980" string(21) "0.86366800 1451190980"
Output for 5.3.28
string(21) "0.18937100 1451190984" string(21) "0.19003800 1451190984"
Output for 5.3.27
string(21) "0.36489800 1451190986" string(21) "0.36564900 1451190986"
Output for 5.3.26
string(21) "0.88728800 1451190986" string(21) "0.88788000 1451190986"
Output for 5.3.25
string(21) "0.27722500 1451190987" string(21) "0.27808600 1451190987"
Output for 5.3.24
string(21) "0.81292200 1451190987" string(21) "0.81379700 1451190987"
Output for 5.3.23
string(21) "0.12866900 1451190988" string(21) "0.12926500 1451190988"
Output for 5.3.22
string(21) "0.49105600 1451190988" string(21) "0.49196800 1451190988"
Output for 5.3.21
string(21) "0.64419700 1451190988" string(21) "0.64494000 1451190988"
Output for 5.3.20
string(21) "0.03067600 1451190989" string(21) "0.03135500 1451190989"
Output for 5.3.19
string(21) "0.57723200 1451190989" string(21) "0.57783700 1451190989"
Output for 5.3.18
string(21) "0.76654000 1451190989" string(21) "0.76744300 1451190989"
Output for 5.3.17
string(21) "0.14964100 1451190990" string(21) "0.15056900 1451190990"
Output for 5.3.16
string(21) "0.76832600 1451190990" string(21) "0.76927000 1451190990"
Output for 5.3.15
string(21) "0.00706400 1451190991" string(21) "0.00776800 1451190991"
Output for 5.3.14
string(21) "0.35492400 1451190991" string(21) "0.35585000 1451190991"
Output for 5.3.13
string(21) "0.85934300 1451190991" string(21) "0.86005000 1451190991"
Output for 5.3.12
string(21) "0.10860900 1451190992" string(21) "0.10963800 1451190992"
Output for 5.3.11
string(21) "0.47244600 1451190992" string(21) "0.47336500 1451190992"
Output for 5.3.10
string(21) "0.01213100 1451190993" string(21) "0.01305400 1451190993"
Output for 5.3.9
string(21) "0.19682300 1451190993" string(21) "0.19741500 1451190993"
Output for 5.3.8
string(21) "0.37332200 1451190993" string(21) "0.37418200 1451190993"
Output for 5.3.7
string(21) "0.54259000 1451190993" string(21) "0.54341600 1451190993"
Output for 5.3.6
string(21) "0.72783700 1451190993" string(21) "0.72873900 1451190993"
Output for 5.3.5
string(21) "0.91633600 1451190993" string(21) "0.91738400 1451190993"
Output for 5.3.4
string(21) "0.42657200 1451190994" string(21) "0.42745100 1451190994"
Output for 5.3.3
string(21) "0.75821200 1451190994" string(21) "0.75886700 1451190994"
Output for 5.3.2
string(21) "0.15705900 1451190995" string(21) "0.15797000 1451190995"
Output for 5.3.1
string(21) "0.65070200 1451190995" string(21) "0.65157400 1451190995"
Output for 5.3.0
string(21) "0.00594900 1451190996" string(21) "0.00687000 1451190996"
Output for 5.2.17
string(21) "0.06962100 1451190994" string(21) "0.07051400 1451190994"
Output for 5.2.16
string(21) "0.24209500 1451190994" string(21) "0.24326500 1451190994"
Output for 5.2.15
string(21) "0.59737100 1451190994" string(21) "0.59855200 1451190994"
Output for 5.2.14
string(21) "0.96718000 1451190994" string(21) "0.96837500 1451190994"
Output for 5.2.13
string(21) "0.33899800 1451190995" string(21) "0.34015000 1451190995"
Output for 5.2.12
string(21) "0.48047900 1451190995" string(21) "0.48130400 1451190995"
Output for 5.2.11
string(21) "0.81990000 1451190995" string(21) "0.82104600 1451190995"
Output for 5.2.10
string(21) "0.16885100 1451190996" string(21) "0.17057500 1451190996"
Output for 5.2.9
string(21) "0.33338500 1451190996" string(21) "0.33454800 1451190996"
Output for 5.2.8
string(21) "0.51245900 1451190996" string(21) "0.51362500 1451190996"
Output for 5.2.7
string(21) "0.73143700 1451190996" string(21) "0.73247400 1451190996"
Output for 5.2.6
string(21) "0.14416300 1451190997" string(21) "0.14502800 1451190997"
Output for 5.2.5
string(21) "0.51422600 1451190997" string(21) "0.51563200 1451190997"
Output for 5.2.4
string(21) "0.67378400 1451190997" string(21) "0.67486500 1451190997"
Output for 5.2.3
string(21) "0.84926800 1451190997" string(21) "0.85057000 1451190997"
Output for 5.2.2
string(21) "0.02663000 1451190998" string(21) "0.02782900 1451190998"
Output for 5.2.1
string(21) "0.61037800 1451190998" string(21) "0.61126000 1451190998"
Output for 5.2.0
string(21) "0.75388200 1451190998" string(21) "0.75467200 1451190998"
Output for 5.1.6
string(21) "0.88911700 1451190998" string(21) "0.88990600 1451190998"
Output for 5.1.5
string(21) "0.18654300 1451190999" string(21) "0.18733300 1451190999"
Output for 5.1.4
string(21) "0.44363600 1451190999" string(21) "0.44460600 1451190999"
Output for 5.1.3
string(21) "0.58101800 1451190999" string(21) "0.58172700 1451190999"
Output for 5.1.2
string(21) "0.71486300 1451190999" string(21) "0.71559500 1451190999"
Output for 5.1.1
string(21) "0.04470000 1451191000" string(21) "0.04716100 1451191000"
Output for 5.1.0
string(21) "0.23115600 1451191000" string(21) "0.23279600 1451191000"
Output for 5.0.5
string(21) "0.52327400 1451191000" string(21) "0.52607400 1451191000"
Output for 5.0.4
string(21) "0.80456000 1451191000" string(21) "0.80690600 1451191000"
Output for 5.0.3
string(21) "0.07013800 1451191001" string(21) "0.07159800 1451191001"
Output for 5.0.2
string(21) "0.32403700 1451191001" string(21) "0.32566000 1451191001"
Output for 5.0.1
string(21) "0.64576400 1451191001" string(21) "0.64869500 1451191001"
Output for 5.0.0
string(21) "0.80112700 1451191001" string(21) "0.80325000 1451191001"
Output for 4.4.9
string(21) "0.93537700 1451190996" string(21) "0.93812800 1451190996"
Output for 4.4.8
string(21) "0.32905400 1451190997" string(21) "0.33199600 1451190997"
Output for 4.4.7
string(21) "0.16923000 1451190998" string(21) "0.17211500 1451190998"
Output for 4.4.6
string(21) "0.31555500 1451190998" string(21) "0.31898600 1451190998"
Output for 4.4.5
string(21) "0.45996800 1451190998" string(21) "0.46286300 1451190998"
Output for 4.4.4
string(21) "0.04209700 1451190999" string(21) "0.04439100 1451190999"
Output for 4.4.3
string(21) "0.30419500 1451190999" string(21) "0.30578500 1451190999"
Output for 4.4.2
string(21) "0.86414500 1451190999" string(21) "0.86837100 1451190999"
Output for 4.4.1
string(21) "0.37204200 1451191000" string(21) "0.37529600 1451191000"
Output for 4.4.0
string(21) "0.66433100 1451191000" string(21) "0.66619300 1451191000"
Output for 4.3.11
string(21) "0.93046300 1451191000" string(21) "0.93245000 1451191000"
Output for 4.3.10
string(21) "0.19816000 1451191001" string(21) "0.20020000 1451191001"
Output for 4.3.9
string(21) "0.49240700 1451191001" string(21) "0.49489100 1451191001"
Output for 4.3.8
string(21) "0.96239200 1451191001" string(21) "0.96503000 1451191001"
Output for 4.3.7
string(21) "0.10278100 1451191002" string(21) "0.10604300 1451191002"
Output for 4.3.6
string(21) "0.24860000 1451191002" string(21) "0.25079400 1451191002"
Output for 4.3.5
string(21) "0.37990800 1451191002" string(21) "0.38235300 1451191002"
Output for 4.3.4
string(21) "0.52387500 1451191002" string(21) "0.52593000 1451191002"
Output for 4.3.3
string(21) "0.64310800 1451191002" string(21) "0.64538900 1451191002"
Output for 4.3.2
string(21) "0.76268600 1451191002" string(21) "0.76431000 1451191002"
Output for 4.3.1
string(21) "0.88677400 1451191002" string(21) "0.88958000 1451191002"
Output for 4.3.0
string(21) "0.02184800 1451191003" string(21) "0.02464900 1451191003"