<?php
$string = '[]';
for ($i = 0; $i < 50000; $i++)
$string = '[' . $string . ']';
$s = microtime(true);
$result = json_decode($string);
var_dump($result, json_last_error(), JSON_ERROR_DEPTH, round(microtime(true) - $s, 5));
var_dump(microtime(true) - $s);
- Output for 7.3.1
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00010395050048828)
- Output for 7.0.21, 7.2.13, 7.3.0
- NULL
int(1)
int(1)
float(6.0E-5)
float(9.7990036010742E-5)
- Output for 7.2.12
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00012493133544922)
- Output for 7.2.11
- NULL
int(1)
int(1)
float(9.0E-5)
float(0.00014019012451172)
- Output for 7.2.10
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00012302398681641)
- Output for 7.0.30, 7.2.9
- NULL
int(1)
int(1)
float(6.0E-5)
float(9.0122222900391E-5)
- Output for 7.2.8
- NULL
int(1)
int(1)
float(5.0E-5)
float(9.1075897216797E-5)
- Output for 7.0.10, 7.0.23, 7.2.7
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00012397766113281)
- Output for 7.2.6
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.0001370906829834)
- Output for 7.0.13, 7.0.31, 7.1.17, 7.2.5
- NULL
int(1)
int(1)
float(7.0E-5)
float(9.7036361694336E-5)
- Output for 7.2.4
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00012588500976562)
- Output for 7.2.3
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00013494491577148)
- Output for 7.2.2
- NULL
int(1)
int(1)
float(6.0E-5)
float(9.918212890625E-5)
- Output for 7.2.1
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00011682510375977)
- Output for 7.2.0
- NULL
int(1)
int(1)
float(6.0E-5)
float(9.5844268798828E-5)
- Output for 7.1.25
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.0001060962677002)
- Output for 7.1.24
- NULL
int(1)
int(1)
float(0.02755)
float(0.027601957321167)
- Output for 7.1.23
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00011515617370605)
- Output for 7.1.22
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00012016296386719)
- Output for 7.1.21
- NULL
int(1)
int(1)
float(7.0E-5)
float(9.608268737793E-5)
- Output for 7.1.20
- NULL
int(1)
int(1)
float(7.0E-5)
float(9.9897384643555E-5)
- Output for 7.1.12, 7.1.19
- NULL
int(1)
int(1)
float(0.0001)
float(0.00013899803161621)
- Output for 7.1.18
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00011110305786133)
- Output for 7.1.16
- NULL
int(1)
int(1)
float(0.00455)
float(0.0045838356018066)
- Output for 7.0.19, 7.1.4, 7.1.15
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00011301040649414)
- Output for 7.0.2, 7.1.14
- NULL
int(1)
int(1)
float(6.0E-5)
float(8.392333984375E-5)
- Output for 7.0.15, 7.1.13
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00011205673217773)
- Output for 7.1.11
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00010490417480469)
- Output for 7.1.6, 7.1.10
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00010895729064941)
- Output for 7.0.4, 7.0.25, 7.1.9
- NULL
int(1)
int(1)
float(7.0E-5)
float(9.8943710327148E-5)
- Output for 7.1.8
- NULL
int(1)
int(1)
float(0.00011)
float(0.00014901161193848)
- Output for 7.0.28, 7.1.7
- NULL
int(1)
int(1)
float(6.0E-5)
float(9.3936920166016E-5)
- Output for 7.1.5
- NULL
int(1)
int(1)
float(9.0E-5)
float(0.00012898445129395)
- Output for 7.1.3
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00010299682617188)
- Output for 7.1.2
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00010514259338379)
- Output for 7.1.1
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00010204315185547)
- Output for 7.1.0
- NULL
int(1)
int(1)
float(9.0E-5)
float(0.0001368522644043)
- Output for 7.0.20, 7.0.33
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00010299682617188)
- Output for 7.0.32
- NULL
int(1)
int(1)
float(6.0E-5)
float(8.7976455688477E-5)
- Output for 7.0.29
- NULL
int(1)
int(1)
float(6.0E-5)
float(8.2969665527344E-5)
- Output for 7.0.27
- NULL
int(1)
int(1)
float(6.0E-5)
float(9.8943710327148E-5)
- Output for 7.0.26
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00010991096496582)
- Output for 7.0.24
- NULL
int(1)
int(1)
float(6.0E-5)
float(8.8930130004883E-5)
- Output for 7.0.22
- NULL
int(1)
int(1)
float(6.0E-5)
float(9.2983245849609E-5)
- Output for 7.0.18
- NULL
int(1)
int(1)
float(0.0001)
float(0.0001370906829834)
- Output for 7.0.17
- NULL
int(1)
int(1)
float(7.0E-5)
float(9.6797943115234E-5)
- Output for 7.0.16
- NULL
int(1)
int(1)
float(8.0E-5)
float(0.00011706352233887)
- Output for 7.0.14
- NULL
int(1)
int(1)
float(7.0E-5)
float(9.7990036010742E-5)
- Output for 7.0.12
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00010013580322266)
- Output for 7.0.11
- NULL
int(1)
int(1)
float(9.0E-5)
float(0.00013518333435059)
- Output for 7.0.9
- NULL
int(1)
int(1)
float(0.01577)
float(0.015806913375854)
- Output for 7.0.8
- NULL
int(1)
int(1)
float(7.0E-5)
float(0.00011205673217773)
- Output for 7.0.7
- NULL
int(1)
int(1)
float(6.0E-5)
float(8.9883804321289E-5)
- Output for 7.0.6
- NULL
int(1)
int(1)
float(9.0E-5)
float(0.00012493133544922)
- Output for 7.0.5
- NULL
int(1)
int(1)
float(0.01493)
float(0.01496696472168)
- Output for 7.0.3
- NULL
int(1)
int(1)
float(0.03147)
float(0.031519889831543)
- Output for 7.0.1
- NULL
int(1)
int(1)
float(0.01004)
float(0.010075092315674)
- Output for 7.0.0
- NULL
int(1)
int(1)
float(0.00628)
float(0.0063049793243408)
- Output for 5.6.2, 5.6.38
- NULL
int(1)
int(1)
float(0.00033)
float(0.00036978721618652)
- Output for 5.6.37
- NULL
int(1)
int(1)
float(0.00036)
float(0.00040197372436523)
- Output for 5.6.36
- NULL
int(1)
int(1)
float(0.00031)
float(0.00034499168395996)
- Output for 5.6.35
- NULL
int(1)
int(1)
float(0.00031)
float(0.00034117698669434)
- Output for 5.4.43, 5.4.45, 5.6.12, 5.6.34
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035190582275391)
- Output for 5.6.33
- NULL
int(1)
int(1)
float(0.00032)
float(0.00034785270690918)
- Output for 5.4.17, 5.6.7, 5.6.32
- NULL
int(1)
int(1)
float(0.00032)
float(0.00034904479980469)
- Output for 5.6.31
- NULL
int(1)
int(1)
float(0.00033)
float(0.00035691261291504)
- Output for 5.6.30
- NULL
int(1)
int(1)
float(0.00034)
float(0.00036883354187012)
- Output for 5.6.29
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035595893859863)
- Output for 5.6.28
- NULL
int(1)
int(1)
float(0.00037)
float(0.00040817260742188)
- Output for 5.5.24, 5.6.27
- NULL
int(1)
int(1)
float(0.00032)
float(0.00034809112548828)
- Output for 5.6.26
- NULL
int(1)
int(1)
float(0.00051)
float(0.00055217742919922)
- Output for 5.6.25
- NULL
int(1)
int(1)
float(0.00035)
float(0.0003819465637207)
- Output for 5.5.12, 5.6.24
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035214424133301)
- Output for 5.6.23
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035285949707031)
- Output for 5.4.16, 5.4.24, 5.5.17, 5.6.22
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035500526428223)
- Output for 5.6.21
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035381317138672)
- Output for 5.6.20
- NULL
int(1)
int(1)
float(0.00057)
float(0.00062203407287598)
- Output for 5.6.19
- NULL
int(1)
int(1)
float(0.00043)
float(0.00047206878662109)
- Output for 5.4.39, 5.6.18
- NULL
int(1)
int(1)
float(0.00032)
float(0.00034499168395996)
- Output for 5.6.17
- NULL
int(1)
int(1)
float(0.00031)
float(0.00033903121948242)
- Output for 5.6.16
- NULL
int(1)
int(1)
float(0.00031)
float(0.00033783912658691)
- Output for 5.5.14, 5.6.15
- NULL
int(1)
int(1)
float(0.00032)
float(0.0003509521484375)
- Output for 5.6.14
- NULL
int(1)
int(1)
float(0.00033)
float(0.00036287307739258)
- Output for 5.6.13
- NULL
int(1)
int(1)
float(0.00049)
float(0.00052404403686523)
- Output for 5.6.11
- NULL
int(1)
int(1)
float(0.00032)
float(0.00034213066101074)
- Output for 5.4.29, 5.6.10
- NULL
int(1)
int(1)
float(0.00033)
float(0.00036501884460449)
- Output for 5.6.9
- NULL
int(1)
int(1)
float(0.00034)
float(0.00037884712219238)
- Output for 5.6.8
- NULL
int(1)
int(1)
float(0.00031)
float(0.0003349781036377)
- Output for 5.6.6
- NULL
int(1)
int(1)
float(0.00032)
float(0.00036001205444336)
- Output for 5.6.0, 5.6.5
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035405158996582)
- Output for 5.6.4
- NULL
int(1)
int(1)
float(0.00035)
float(0.00038003921508789)
- Output for 5.6.3
- NULL
int(1)
int(1)
float(0.00031)
float(0.00034785270690918)
- Output for 5.6.1
- NULL
int(1)
int(1)
float(0.00046)
float(0.00051021575927734)
- Output for 5.3.1, 5.5.22, 5.5.38
- NULL
int(1)
int(1)
float(0.00033)
float(0.00036716461181641)
- Output for 5.5.37
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035619735717773)
- Output for 5.5.36
- NULL
int(1)
int(1)
float(0.00035)
float(0.00037884712219238)
- Output for 5.5.35
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035810470581055)
- Output for 5.3.28, 5.5.34
- NULL
int(1)
int(1)
float(0.00036)
float(0.00038909912109375)
- Output for 5.4.38, 5.5.33
- NULL
int(1)
int(1)
float(0.00034)
float(0.0003669261932373)
- Output for 5.5.32
- NULL
int(1)
int(1)
float(0.00033)
float(0.00036215782165527)
- Output for 5.5.31
- NULL
int(1)
int(1)
float(0.00047)
float(0.00051307678222656)
- Output for 5.5.30
- NULL
int(1)
int(1)
float(0.00053)
float(0.00057291984558105)
- Output for 5.5.29
- NULL
int(1)
int(1)
float(0.00032)
float(0.0003511905670166)
- Output for 5.5.28
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035309791564941)
- Output for 5.5.27
- NULL
int(1)
int(1)
float(0.00031)
float(0.00033402442932129)
- Output for 5.5.26
- NULL
int(1)
int(1)
float(0.00031)
float(0.00034189224243164)
- Output for 5.5.25
- NULL
int(1)
int(1)
float(0.00053)
float(0.00057101249694824)
- Output for 5.5.23
- NULL
int(1)
int(1)
float(0.00031)
float(0.00034308433532715)
- Output for 5.5.21
- NULL
int(1)
int(1)
float(0.00061)
float(0.00065398216247559)
- Output for 5.5.20
- NULL
int(1)
int(1)
float(0.00048)
float(0.00051617622375488)
- Output for 5.5.19
- NULL
int(1)
int(1)
float(0.00035)
float(0.00037693977355957)
- Output for 5.5.18
- NULL
int(1)
int(1)
float(0.00052)
float(0.00055313110351562)
- Output for 5.5.16
- NULL
int(1)
int(1)
float(0.00033)
float(0.00037407875061035)
- Output for 5.5.15
- NULL
int(1)
int(1)
float(0.00032)
float(0.00035881996154785)
- Output for 5.5.13
- NULL
int(1)
int(1)
float(0.00032)
float(0.00036191940307617)
- Output for 5.5.11
- NULL
int(1)
int(1)
float(0.00032)
float(0.00034999847412109)
- Output for 5.5.8, 5.5.10
- NULL
int(1)
int(1)
float(0.00031)
float(0.00033807754516602)
- Output for 5.5.9
- NULL
int(1)
int(1)
float(0.00032)
float(0.0003669261932373)
- Output for 5.5.7
- NULL
int(1)
int(1)
float(0.00032)
float(0.00036716461181641)
- Output for 5.5.6
- NULL
int(1)
int(1)
float(0.00048)
float(0.00050997734069824)
- Output for 5.3.6, 5.5.5
- NULL
int(1)
int(1)
float(0.00033)
float(0.00035810470581055)
- Output for 5.5.4
- NULL
int(1)
int(1)
float(0.00045)
float(0.00048589706420898)
- Output for 5.5.3
- NULL
int(1)
int(1)
float(0.00035)
float(0.00038599967956543)
- Output for 5.5.2
- NULL
int(1)
int(1)
float(0.00036)
float(0.00039196014404297)
- Output for 5.5.1
- NULL
int(1)
int(1)
float(0.00252)
float(0.0025668144226074)
- Output for 5.5.0
- NULL
int(1)
int(1)
float(0.00031)
float(0.00034809112548828)
- Output for 5.4.44
- NULL
int(1)
int(1)
float(0.00049)
float(0.0005340576171875)
- Output for 5.4.42
- NULL
int(1)
int(1)
float(0.00061)
float(0.00065088272094727)
- Output for 5.4.41
- NULL
int(1)
int(1)
float(0.00051)
float(0.0123610496521)
- Output for 5.4.40
- NULL
int(1)
int(1)
float(0.00055)
float(0.00059986114501953)
- Output for 5.4.37
- NULL
int(1)
int(1)
float(0.00036)
float(0.00038599967956543)
- Output for 5.4.36
- NULL
int(1)
int(1)
float(0.00032)
float(0.00034594535827637)
- Output for 5.4.35
- NULL
int(1)
int(1)
float(0.00052)
float(0.00055980682373047)
- Output for 5.4.34
- NULL
int(1)
int(1)
float(0.00049)
float(0.00052809715270996)
- Output for 5.4.33
- NULL
int(1)
int(1)
float(0.00035)
float(0.00039005279541016)
- Output for 5.4.32
- NULL
int(1)
int(1)
float(0.00056)
float(0.00060701370239258)
- Output for 5.4.31
- NULL
int(1)
int(1)
float(0.00034)
float(0.00037598609924316)
- Output for 5.4.30
- NULL
int(1)
int(1)
float(0.0005)
float(0.00054812431335449)
- Output for 5.4.28
- NULL
int(1)
int(1)
float(0.00053)
float(0.00056910514831543)
- Output for 5.4.11, 5.4.21, 5.4.27
- NULL
int(1)
int(1)
float(0.00033)
float(0.00036096572875977)
- Output for 5.4.26
- NULL
int(1)
int(1)
float(0.00031)
float(0.00033998489379883)
- Output for 5.4.25
- NULL
int(1)
int(1)
float(0.00033)
float(0.00036001205444336)
- Output for 5.4.22 - 5.4.23
- NULL
int(1)
int(1)
float(0.00033)
float(0.00035595893859863)
- Output for 5.4.20
- NULL
int(1)
int(1)
float(0.00042)
float(0.00045108795166016)
- Output for 5.4.19
- NULL
int(1)
int(1)
float(0.00055)
float(0.00058698654174805)
- Output for 5.4.18
- NULL
int(1)
int(1)
float(0.00031)
float(0.019874811172485)
- Output for 5.4.15
- NULL
int(1)
int(1)
float(0.00034)
float(0.00037193298339844)
- Output for 5.4.14
- NULL
int(1)
int(1)
float(0.00046)
float(0.00050878524780273)
- Output for 5.4.13
- NULL
int(1)
int(1)
float(0.00032)
float(0.00036406517028809)
- Output for 5.4.12
- NULL
int(1)
int(1)
float(0.00041)
float(0.0004580020904541)
- Output for 5.4.10
- NULL
int(1)
int(1)
float(0.00034)
float(0.00038003921508789)
- Output for 5.4.9
- NULL
int(1)
int(1)
float(0.0006)
float(0.00064492225646973)
- Output for 5.3.21, 5.4.8
- NULL
int(1)
int(1)
float(0.00038)
float(0.00041604042053223)
- Output for 5.4.7
- NULL
int(1)
int(1)
float(0.0004)
float(0.00042986869812012)
- Output for 5.4.6
- NULL
int(1)
int(1)
float(0.00041)
float(0.00044488906860352)
- Output for 5.4.5
- NULL
int(1)
int(1)
float(0.00061)
float(0.00065898895263672)
- Output for 5.4.4
- NULL
int(1)
int(1)
float(0.00039)
float(0.0004279613494873)
- Output for 5.4.3
- NULL
int(1)
int(1)
float(0.00039)
float(0.00042390823364258)
- Output for 5.4.2
- NULL
int(1)
int(1)
float(0.00038)
float(0.00040698051452637)
- Output for 5.4.1
- NULL
int(1)
int(1)
float(0.00038)
float(0.00042104721069336)
- Output for 5.4.0
- NULL
int(1)
int(1)
float(0.00039)
float(0.00041890144348145)
- Output for 5.3.29
- NULL
int(1)
int(1)
float(0.00039)
float(0.00043320655822754)
- Output for 5.3.27
- NULL
int(1)
int(1)
float(0.0006)
float(0.00063610076904297)
- Output for 5.3.26
- NULL
int(1)
int(1)
float(0.00064)
float(0.00068902969360352)
- Output for 5.3.25
- NULL
int(1)
int(1)
float(0.00045)
float(0.00049805641174316)
- Output for 5.3.24
- NULL
int(1)
int(1)
float(0.00144)
float(0.00148606300354)
- Output for 5.3.23
- NULL
int(1)
int(1)
float(0.00037)
float(0.00040221214294434)
- Output for 5.3.22
- NULL
int(1)
int(1)
float(0.00074)
float(0.00078701972961426)
- Output for 5.3.20
- NULL
int(1)
int(1)
float(0.0004)
float(0.00042819976806641)
- Output for 5.3.19
- NULL
int(1)
int(1)
float(0.00039)
float(0.00043010711669922)
- Output for 5.3.18
- NULL
int(1)
int(1)
float(0.00059)
float(0.00064921379089355)
- Output for 5.3.17
- NULL
int(1)
int(1)
float(0.00041)
float(0.00044918060302734)
- Output for 5.3.16
- NULL
int(1)
int(1)
float(0.0004)
float(0.0004432201385498)
- Output for 5.3.15
- NULL
int(1)
int(1)
float(0.00374)
float(0.0037841796875)
- Output for 5.3.14
- NULL
int(1)
int(1)
float(0.0004)
float(0.00043916702270508)
- Output for 5.3.13
- NULL
int(1)
int(1)
float(0.00042)
float(0.00046706199645996)
- Output for 5.3.12
- NULL
int(1)
int(1)
float(0.00038)
float(0.00042200088500977)
- Output for 5.3.11
- NULL
int(1)
int(1)
float(0.00039)
float(0.00043106079101562)
- Output for 5.3.10
- NULL
int(1)
int(1)
float(0.0003)
float(0.00033712387084961)
- Output for 5.3.9
- NULL
int(1)
int(1)
float(0.00034)
float(0.0003821849822998)
- Output for 5.3.8
- NULL
int(1)
int(1)
float(0.00066)
float(0.00071620941162109)
- Output for 5.3.7
- NULL
int(1)
int(1)
float(0.00061)
float(0.00065803527832031)
- Output for 5.3.5
- NULL
int(1)
int(1)
float(0.00033)
float(0.00037121772766113)
- Output for 5.3.4
- NULL
int(1)
int(1)
float(0.00033)
float(0.00037002563476562)
- Output for 5.3.3
- NULL
int(1)
int(1)
float(0.00034)
float(0.00037717819213867)
- Output for 5.3.2
- NULL
int(1)
int(1)
float(0.00034)
float(0.0003809928894043)
- Output for 5.3.0
- NULL
int(1)
int(1)
float(0.00057)
float(0.00062012672424316)
- Output for 5.2.0 - 5.2.17
- Fatal error: Call to undefined function json_last_error() in /in/YbVHe on line 12
Process exited with code 255. - Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
- Fatal error: Call to undefined function json_decode() in /in/YbVHe on line 10
Process exited with code 255. - Output for 4.4.5 - 4.4.9
- Fatal error: Call to undefined function: json_decode() in /in/YbVHe on line 10
Process exited with code 255. - Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
- Fatal error: Call to undefined function: json_decode() in /in/YbVHe on line 10
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Call to undefined function: json_decode() in /in/YbVHe on line 10
preferences:
184.31 ms | 401 KiB | 288 Q