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']"); print_r( $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.60.0140.00316.88
8.3.50.0160.00322.31
8.3.40.0120.00319.13
8.3.30.0140.00019.47
8.3.20.0040.00420.71
8.3.10.0030.00523.98
8.3.00.0000.00822.76
8.2.180.0100.00716.63
8.2.170.0120.00322.96
8.2.160.0030.01020.61
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0070.01126.16
8.2.120.0080.00022.57
8.2.110.0100.00022.62
8.2.100.0170.00018.22
8.2.90.0000.00818.00
8.2.80.0040.00418.18
8.2.70.0040.00418.26
8.2.60.0000.00818.29
8.2.50.0090.00018.10
8.2.40.0040.00420.89
8.2.30.0000.00818.57
8.2.20.0020.00518.19
8.2.10.0050.00318.03
8.2.00.0030.00518.07
8.1.280.0140.00725.92
8.1.270.0000.00824.20
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0050.00521.14
8.1.230.0130.00319.46
8.1.220.0060.00318.16
8.1.210.0040.00418.77
8.1.200.0000.00917.72
8.1.190.0000.01017.60
8.1.180.0040.00418.10
8.1.170.0030.00519.10
8.1.160.0030.00622.46
8.1.150.0040.00418.99
8.1.140.0000.00717.66
8.1.130.0030.00318.12
8.1.120.0000.00717.89
8.1.110.0040.00417.77
8.1.100.0080.00017.59
8.1.90.0040.00417.82
8.1.80.0070.00017.89
8.1.70.0080.00017.63
8.1.60.0080.00017.96
8.1.50.0040.00417.70
8.1.40.0030.00617.70
8.1.30.0040.00417.96
8.1.20.0020.00517.78
8.1.10.0050.00317.99
8.1.00.0080.00017.70
8.0.300.0040.00420.27
8.0.290.0060.00316.88
8.0.280.0000.00618.75
8.0.270.0000.00817.52
8.0.260.0000.00617.20
8.0.250.0070.00017.40
8.0.240.0030.00317.43
8.0.230.0040.00417.43
8.0.220.0000.00717.16
8.0.210.0040.00417.17
8.0.200.0000.00717.14
8.0.190.0030.00617.42
8.0.180.0120.00017.21
8.0.170.0000.00917.40
8.0.160.0000.00817.39
8.0.150.0000.00717.28
8.0.140.0020.00517.27
8.0.130.0000.00613.75
8.0.120.0000.00717.09
8.0.110.0000.00717.11
8.0.100.0040.00417.25
8.0.90.0060.00317.20
8.0.80.0100.00717.21
8.0.70.0040.00417.32
8.0.60.0040.00417.23
8.0.50.0070.00017.19
8.0.30.0130.01017.38
8.0.20.0100.00817.54
8.0.10.0080.00017.24
8.0.00.0070.01617.31
7.4.330.0050.00015.56
7.4.320.0040.00416.95
7.4.300.0060.00016.79
7.4.290.0040.00416.78
7.4.280.0040.00417.01
7.4.270.0000.00716.93
7.4.260.0080.00016.96
7.4.250.0070.00016.87
7.4.240.0000.00716.93
7.4.230.0040.00416.87
7.4.220.0060.01316.88
7.4.210.0050.01116.90
7.4.200.0040.00416.98
7.4.190.0000.00816.87
7.4.160.0030.01316.80
7.4.150.0130.01317.40
7.4.140.0100.01417.86
7.4.130.0070.01116.91
7.4.120.0170.00816.86
7.4.110.0150.00317.00
7.4.100.0090.01216.89
7.4.90.0120.00916.89
7.4.80.0090.01219.39
7.4.70.0070.01016.76
7.4.60.0150.00616.84
7.4.50.0060.00316.79
7.4.40.0130.00322.77
7.4.30.0120.00916.79
7.4.00.0060.00615.27
7.3.330.0030.00313.43
7.3.320.0040.00413.53
7.3.310.0030.00716.66
7.3.300.0050.00216.60
7.3.290.0130.00616.66
7.3.280.0070.00916.62
7.3.270.0000.01617.40
7.3.260.0100.01016.76
7.3.250.0070.01316.86
7.3.240.0140.00716.87
7.3.230.0100.00716.71
7.3.210.0100.00716.83
7.3.200.0150.00319.39
7.3.190.0120.00916.59
7.3.180.0110.01116.79
7.3.170.0110.01116.64
7.3.160.0090.00616.86
7.3.120.0130.00315.14
7.2.330.0000.01716.83
7.2.320.0130.00316.49
7.2.310.0130.01017.10
7.2.300.0100.01416.70
7.2.290.0170.00316.95
7.2.00.0040.01119.17
7.1.100.0040.00417.84
7.1.70.0040.00417.29
7.1.60.0090.01519.29
7.1.50.0070.01816.81
7.1.00.0100.07022.78
7.0.200.0000.00816.98
7.0.140.0000.07722.22
7.0.60.0200.08320.21
7.0.50.0100.08318.14
7.0.40.0130.07720.49
7.0.30.0400.06720.40
7.0.20.0270.05320.45
7.0.10.0030.04320.45
7.0.00.0030.06720.25
5.6.280.0000.07721.17
5.6.210.0130.07320.73
5.6.200.0100.06718.47
5.6.190.0100.08020.63
5.6.180.0430.07720.93
5.6.170.0200.04020.76
5.6.160.0100.04720.75
5.6.150.0070.08318.44
5.6.140.0170.03018.39
5.6.130.0100.05018.29
5.6.120.0100.03321.15
5.6.110.0030.06721.30
5.6.100.0130.08721.23
5.6.90.0100.07021.23
5.6.80.0170.07320.64
5.5.350.0270.07720.61
5.5.340.0100.07018.18
5.5.330.0000.05720.60
5.5.320.0370.07320.48
5.5.310.0200.05320.57
5.5.300.0030.05018.18
5.5.290.0070.07018.29
5.5.280.0070.07720.95
5.5.270.0200.07320.92
5.5.260.0100.07020.80
5.5.250.0130.04720.82
5.5.240.0230.06320.39
5.4.450.1300.03719.46
5.4.440.0500.05319.45
5.4.430.0900.04019.45
5.4.420.0200.04319.54
5.4.410.0100.02319.34
5.4.400.0770.04019.13
5.4.390.1230.03719.14
5.4.380.0600.04318.86
5.4.370.0630.04718.68
5.4.360.0330.05718.94
5.4.350.0300.07019.00
5.4.340.0400.05018.93
5.4.320.0080.03512.79
5.4.310.0060.03812.79
5.4.300.0080.04312.79
5.4.290.0080.03712.79
5.4.280.0060.04312.66
5.4.270.0080.04312.66
5.4.260.0110.04712.66
5.4.250.0030.04312.66
5.4.240.0060.04312.66
5.4.230.0080.03712.65
5.4.220.0080.03612.65
5.4.210.0040.03912.65
5.4.200.0070.03812.65
5.4.190.0020.04012.65
5.4.180.0050.03812.65
5.4.170.0060.03912.66
5.4.160.0090.03512.66
5.4.150.0050.03712.66
5.4.140.0050.03912.34
5.4.130.0070.03512.33
5.4.120.0050.03712.29
5.4.110.0070.03512.28
5.4.100.0030.03912.29
5.4.90.0030.04112.29
5.4.80.0060.03712.28
5.4.70.0060.03512.28
5.4.60.0040.04412.28
5.4.50.0090.03212.27
5.4.40.0060.03912.26
5.4.30.0100.04412.26
5.4.20.0090.04612.26
5.4.10.0080.04712.26
5.4.00.0080.05211.75
5.3.290.0100.03613.04
5.3.280.0090.04412.95
5.3.270.0110.05212.96
5.3.260.0140.04812.96
5.3.250.0120.06212.97
5.3.240.0060.04612.97
5.3.230.0070.03912.95
5.3.220.0090.04512.93
5.3.210.0090.05012.93
5.3.200.0090.04912.93
5.3.190.0060.04512.93
5.3.180.0120.04812.92
5.3.170.0140.05012.92
5.3.160.0060.05212.93
5.3.150.0070.04712.92
5.3.140.0080.04212.91
5.3.130.0160.04612.91
5.3.120.0100.04812.91
5.3.110.0120.03812.91
5.3.100.0050.04812.39
5.3.90.0160.05312.38
5.3.80.0120.04712.36
5.3.70.0080.05112.36
5.3.60.0080.05112.35
5.3.50.0100.04912.29
5.3.40.0080.05212.29
5.3.30.0080.05112.25
5.3.20.0080.04912.04
5.3.10.0060.05312.00
5.3.00.0080.05111.99
5.2.170.0060.0439.49
5.2.160.0040.0449.49
5.2.150.0020.0349.49
5.2.140.0060.0319.48
5.2.130.0060.0289.45
5.2.120.0050.0299.45
5.2.110.0050.0309.45
5.2.100.0040.0309.45
5.2.90.0050.0329.45
5.2.80.0040.0339.44
5.2.70.0020.0349.44
5.2.60.0070.0299.39
5.2.50.0050.0329.37
5.2.40.0060.0299.34
5.2.30.0040.0359.31
5.2.20.0060.0379.35
5.2.10.0090.0289.27
5.2.00.0060.0299.13
5.1.60.0060.0238.41
5.1.50.0020.0288.40
5.1.40.0030.0268.39
5.1.30.0010.0308.74
5.1.20.0050.0308.75
5.1.10.0050.0268.48
5.1.00.0040.0378.48
5.0.50.0040.0296.96
5.0.40.0030.0266.81
5.0.30.0010.0356.64
5.0.20.0030.0226.61
5.0.10.0040.0306.58
5.0.00.0080.0366.57
4.4.90.0050.0204.78
4.4.80.0090.0164.75
4.4.70.0060.0164.76
4.4.60.0020.0234.76
4.4.50.0020.0164.77
4.4.40.0040.0244.70
4.4.30.0040.0154.76
4.4.20.0050.0184.84
4.4.10.0080.0214.85
4.4.00.0060.0244.76
4.3.110.0030.0164.67
4.3.100.0050.0164.66
4.3.90.0050.0194.63
4.3.80.0050.0314.59
4.3.70.0050.0214.63
4.3.60.0070.0194.63
4.3.50.0030.0264.63
4.3.40.0050.0354.54
4.3.30.0090.0163.35
4.3.20.0110.0143.33
4.3.10.0030.0223.25
4.3.00.0230.01313.14

preferences:
46.11 ms | 401 KiB | 5 Q