3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<EOF <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="/identities/xsl/NameFinderResults.xsl"?> <nameAuthorities query="boulanger, christian" maxList="25" hitCount="39"> <match type="ExactMatches" usage="1263" score="2000"> <establishedForm> Boulanger, Christian </establishedForm> <uri> /identities/lccn-nr00010024 </uri> <key> lccn-nr00010024 </key> <lccn> nr00-10024 </lccn> <citation> The cultural lives of capital punishment : comparative perspectives </citation> <genre> Cross-cultural studies </genre> <pubDates> 1978-2013 </pubDates> <nameType> personal </nameType> </match> <match type="FuzzyFirstName" usage="98" score="1986"> <establishedForm> Boulanger, Christiane </establishedForm> <uri> /identities/viaf-54184065 </uri> <key> viaf-54184065 </key> <citation> Analyse 1 : [nouveau programme 1995] : [cours et exercices reĢsolus] </citation> <pubDates> 1956-1998 </pubDates> <nameType> personal </nameType> </match> <targetURL> <host> www.worldcat.org </host> <port> -1 </port> <path> /identities/find </path> <query> fullName=Christian%20Boulanger&amp;callback=test </query> </targetURL> </nameAuthorities> EOF; $x = simplexml_load_string( $xml); echo((string) $x->xpath("match[@type='ExactMatches']");

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.280.0060.04712.38
5.4.270.0100.04512.38
5.4.260.0070.04912.38
5.4.250.0080.04712.38
5.4.240.0090.04512.38
5.4.230.0070.04812.37
5.4.220.0060.05012.37
5.4.210.0090.05512.37
5.4.200.0090.04612.37
5.4.190.0060.05412.37
5.4.180.0110.03812.37
5.4.170.0080.04312.38
5.4.160.0080.04212.37
5.4.150.0070.04512.37
5.4.140.0110.04612.06
5.4.130.0090.04012.04
5.4.120.0120.04812.01
5.4.110.0070.04312.00
5.4.100.0120.04312.00
5.4.90.0090.05012.00
5.4.80.0110.04912.00
5.4.70.0080.04612.00
5.4.60.0090.04712.00
5.4.50.0110.03912.00
5.4.40.0090.04311.98
5.4.30.0070.04611.98
5.4.20.0080.04111.98
5.4.10.0090.04111.98
5.4.00.0070.04211.47
5.3.280.0080.04312.71
5.3.270.0090.04512.72
5.3.260.0090.04512.72
5.3.250.0100.04212.72
5.3.240.0070.04512.72
5.3.230.0080.04312.71
5.3.220.0080.04912.68
5.3.210.0070.04812.68
5.3.200.0100.04212.68
5.3.190.0090.04912.68
5.3.180.0070.04412.67
5.3.170.0070.04012.67
5.3.160.0070.03912.67
5.3.150.0080.04112.67
5.3.140.0100.03912.66
5.3.130.0090.04512.66
5.3.120.0080.04512.66
5.3.110.0070.04512.65
5.3.100.0080.04512.12
5.3.90.0080.04212.09
5.3.80.0090.03812.08
5.3.70.0070.04112.08
5.3.60.0070.04312.06
5.3.50.0090.03812.00
5.3.40.0090.04912.00
5.3.30.0070.04211.94
5.3.20.0090.03811.71
5.3.10.0050.04111.68
5.3.00.0070.04511.68

preferences:
141.56 ms | 1394 KiB | 7 Q