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); $node = $x->xpath("match[@type='ExactMatches']"); var_dump( $node[0]->establishedForm);

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)
8.3.40.0070.01119.22
8.3.30.0160.00020.46
8.3.20.0040.00420.50
8.3.10.0000.00821.08
8.3.00.0040.00422.80
8.2.170.0120.00322.96
8.2.160.0100.00320.90
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00021.10
8.2.110.0070.00320.80
8.2.100.0090.00318.16
8.2.90.0000.00819.60
8.2.80.0080.00017.97
8.2.70.0040.00417.88
8.2.60.0040.00418.30
8.2.50.0000.00818.07
8.2.40.0060.00318.44
8.2.30.0000.00719.84
8.2.20.0000.00818.05
8.2.10.0040.00418.13
8.2.00.0040.00418.16
8.1.270.0000.00823.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00022.50
8.1.230.0110.00017.95
8.1.220.0000.00818.05
8.1.210.0050.00318.77
8.1.200.0000.00917.50
8.1.190.0040.00417.91
8.1.180.0050.00518.10
8.1.170.0080.00018.95
8.1.160.0000.00719.19
8.1.150.0040.00418.91
8.1.140.0040.00417.81
8.1.130.0030.00318.29
8.1.120.0050.00217.81
8.1.110.0080.00317.66
8.1.100.0040.00417.58
8.1.90.0030.00617.66
8.1.80.0000.00717.85
8.1.70.0070.00017.70
8.1.60.0000.00817.70
8.1.50.0050.00317.91
8.1.40.0000.00717.89
8.1.30.0080.00017.95
8.1.20.0040.00417.98
8.1.10.0070.00017.77
8.1.00.0040.00417.96
8.0.300.0040.00418.77
8.0.290.0040.00417.13
8.0.280.0070.00018.84
8.0.270.0040.00417.66
8.0.260.0000.00617.23
8.0.250.0000.00717.23
8.0.240.0000.00817.36
8.0.230.0050.00217.32
8.0.220.0050.00217.35
8.0.210.0070.00017.20
8.0.200.0070.00017.36
8.0.190.0000.00717.20
8.0.180.0000.00717.11
8.0.170.0050.00317.16
8.0.160.0070.00017.41
8.0.150.0030.00517.07
8.0.140.0000.00717.08
8.0.130.0000.00613.57
8.0.120.0000.00817.15
8.0.110.0060.00317.24
8.0.100.0040.00417.10
8.0.90.0000.00717.16
8.0.80.0090.00617.39
8.0.70.0000.00717.20
8.0.60.0040.00417.27
8.0.50.0040.00417.16
8.0.30.0120.00917.30
8.0.20.0150.00717.51
8.0.10.0000.00717.29
8.0.00.0100.00617.08
7.4.330.0000.00517.06
7.4.320.0030.00317.02
7.4.300.0040.00416.94
7.4.290.0030.00316.81
7.4.280.0000.00716.93
7.4.270.0030.00317.01
7.4.260.0000.00513.66
7.4.250.0070.00016.87
7.4.240.0030.00516.88
7.4.230.0000.00716.71
7.4.220.0170.01016.98
7.4.210.0110.00816.95
7.4.200.0000.00716.99
7.4.190.0080.00017.18
7.4.160.0110.00716.96
7.4.150.0120.00617.40
7.4.140.0140.00717.86
7.4.130.0100.00917.06
7.4.120.0120.00516.92
7.4.110.0110.00717.02
7.4.100.0090.00916.91
7.4.90.0090.01316.84
7.4.80.0030.01419.39
7.4.70.0110.00516.84
7.4.60.0100.00717.11
7.4.50.0060.00316.93
7.4.40.0040.01222.77
7.4.30.0080.00816.97
7.4.00.0040.00814.95
7.3.330.0030.00313.48
7.3.320.0000.00513.26
7.3.310.0040.00416.74
7.3.300.0000.00716.49
7.3.290.0140.00016.74
7.3.280.0090.00716.62
7.3.270.0090.00917.40
7.3.260.0100.01018.24
7.3.250.0150.01016.72
7.3.240.0100.01016.62
7.3.230.0070.01116.52
7.3.210.0080.00816.75
7.3.200.0140.00419.39
7.3.190.0090.01316.69
7.3.180.0080.00816.73
7.3.170.0130.00316.84
7.3.160.0100.01016.71
7.3.120.0040.01215.18
7.2.330.0060.01516.79
7.2.320.0140.00716.95
7.2.310.0140.00317.14
7.2.300.0130.00617.10
7.2.290.0120.00416.86
7.2.00.0040.01119.22
7.1.100.0080.00418.28
7.1.70.0030.00717.30
7.1.60.0090.01519.17
7.1.50.0060.01816.92
7.1.00.0070.03022.79
7.0.200.0060.00316.63
7.0.140.0000.07722.14
7.0.60.0300.08320.13
7.0.50.0000.05318.07
7.0.40.0100.07320.12
7.0.30.0270.03320.41
7.0.20.0230.05020.37
7.0.10.0100.03720.28
7.0.00.0000.04320.38
5.6.280.0030.07321.23
5.6.210.0100.07720.77
5.6.200.0000.06718.28
5.6.190.0130.08720.82
5.6.180.0300.04020.64
5.6.170.0330.08020.55
5.6.160.0100.09020.54
5.6.150.0070.03718.32
5.6.140.0030.05318.36
5.6.130.0100.08018.27
5.6.120.0030.04721.09
5.6.110.0100.06321.21
5.6.100.0030.06721.27
5.6.90.0200.07321.10
5.6.80.0230.06320.59
5.5.350.0070.09320.53
5.5.340.0100.08318.18
5.5.330.0070.04020.34
5.5.320.0000.05020.35
5.5.310.0200.04720.58
5.5.300.0070.05018.10
5.5.290.0070.04018.10
5.5.280.0100.07720.84
5.5.270.0100.03320.98
5.5.260.0200.05321.10
5.5.250.0170.06320.84
5.5.240.0100.07020.31
5.4.450.0330.07019.48
5.4.440.0300.03319.69
5.4.430.0200.04019.52
5.4.420.0230.04019.68
5.4.410.0300.03719.23
5.4.400.0230.05319.34
5.4.390.0170.04719.02
5.4.380.0230.05019.00
5.4.370.0370.03719.21
5.4.360.0330.07019.35
5.4.350.0270.04719.33
5.4.340.0270.07319.35
5.4.320.0270.04319.28
5.4.310.0270.06019.35
5.4.300.0270.07719.30
5.4.290.0270.07019.37
5.4.280.0300.04719.02
5.4.270.0300.03719.03
5.4.260.0300.05019.02
5.4.250.0230.04719.19
5.4.240.0300.07319.25
5.4.230.0230.04719.02
5.4.220.0330.06319.38
5.4.210.0370.04019.18
5.4.200.0300.07719.27
5.4.190.0370.03719.02
5.4.180.0230.06019.19
5.4.170.0200.03719.13
5.4.160.0230.07019.18
5.4.150.0230.06719.39
5.4.140.0270.04016.61
5.4.130.0200.07016.57
5.4.120.0270.05316.61
5.4.110.0230.04716.49
5.4.100.0370.05716.66
5.4.90.0370.05016.49
5.4.80.0200.07316.63
5.4.70.0270.06016.47
5.4.60.0270.07016.41
5.4.50.0230.04016.49
5.4.40.0330.04716.60
5.4.30.0370.04016.63
5.4.20.0330.06716.64
5.4.10.0300.05316.30
5.4.00.0170.05015.99
5.3.290.0300.06314.80
5.3.280.0230.06014.59
5.3.270.0200.05314.68
5.3.260.0270.07714.68
5.3.250.0300.04014.75
5.3.240.0200.07714.61
5.3.230.0230.07314.81
5.3.220.0270.05314.71
5.3.210.0200.08314.69
5.3.200.0270.07014.64
5.3.190.0370.06014.63
5.3.180.0330.07014.72
5.3.170.0370.06014.76
5.3.160.0300.06314.65
5.3.150.0430.06014.67
5.3.140.0330.06014.61
5.3.130.0300.07314.61
5.3.120.0230.04314.58
5.3.110.0300.07014.61
5.3.100.0300.07014.08
5.3.90.0300.03014.08
5.3.80.0230.04713.98
5.3.70.0370.06313.98
5.3.60.0270.07014.08
5.3.50.0270.04013.97
5.3.40.0200.03713.93
5.3.30.0330.06014.05
5.3.20.0330.06313.77
5.3.10.0330.05713.64
5.3.00.0270.04313.77
5.2.170.0200.03011.30
5.2.160.0170.03011.20
5.2.150.0200.03011.20
5.2.140.0200.05711.21
5.2.130.0200.04011.15
5.2.120.0270.03311.31
5.2.110.0330.05011.12
5.2.100.0130.03711.21
5.2.90.0170.03711.30
5.2.80.0130.04011.24
5.2.70.0130.03311.16
5.2.60.0230.03011.11
5.2.50.0370.03011.15
5.2.40.0170.03011.05
5.2.30.0130.05711.15
5.2.20.0200.03311.04
5.2.10.0170.06010.95
5.2.00.0170.04710.88
5.1.60.0230.05310.19
5.1.50.0130.03010.30
5.1.40.0170.04710.22
5.1.30.0230.04710.49
5.1.20.0170.05710.60
5.1.10.0170.05310.23
5.1.00.0200.03310.37
5.0.50.0070.0209.26
5.0.40.0100.0239.26
5.0.30.0070.0409.26
5.0.20.0100.0409.26
5.0.10.0100.0479.26
5.0.00.0100.0639.26
4.4.90.0030.0179.26
4.4.80.0100.0139.26
4.4.70.0070.0309.26
4.4.60.0100.0109.26
4.4.50.0100.0139.26
4.4.40.0130.0279.26
4.4.30.0170.0309.26
4.4.20.0130.0239.26
4.4.10.0030.0209.26
4.4.00.0100.0279.26
4.3.110.0070.0379.26
4.3.100.0130.0309.26
4.3.90.0100.0339.26
4.3.80.0100.0279.26
4.3.70.0130.0209.26
4.3.60.0100.0239.26
4.3.50.0100.0279.26
4.3.40.0100.0509.26
4.3.30.0000.0339.26
4.3.20.0030.0239.26
4.3.10.0070.0339.26
4.3.00.0070.0379.26

preferences:
43.78 ms | 400 KiB | 5 Q