3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new simplexmlelement('<pmc-articleset> <article xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article"> <!--...--> <front> <journal-meta> <journal-id journal-id-type="nlm-ta">Cell Death Differ</journal-id> <journal-id journal-id-type="iso-abbrev">Cell Death Differ</journal-id> <journal-title-group> <journal-title>Cell Death and Differentiation</journal-title> </journal-title-group> <issn pub-type="ppub">1350-9047</issn> <issn pub-type="epub">1476-5403</issn> <publisher>...</publisher> </journal-meta> <article-meta>...</article-meta> </front> </article> </pmc-articleset>'); echo (string)$xml->article->front->{'journal-meta'}->{'journal-title-group'}->{'journal-title'};

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.0040.01118.56
8.3.50.0060.01518.28
8.3.40.0040.01118.91
8.3.30.0090.00618.97
8.3.20.0040.00418.90
8.3.10.0070.00022.01
8.3.00.0040.00423.79
8.2.180.0080.00817.13
8.2.170.0110.00422.96
8.2.160.0170.00320.94
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0080.00019.48
8.2.110.0090.00022.38
8.2.100.0090.00317.91
8.2.90.0000.00817.88
8.2.80.0040.00417.97
8.2.70.0000.00818.05
8.2.60.0030.00618.27
8.2.50.0040.00418.10
8.2.40.0040.00420.84
8.2.30.0000.00820.83
8.2.20.0080.00018.25
8.2.10.0070.00020.02
8.2.00.0040.00418.34
8.1.280.0100.00725.92
8.1.270.0040.00420.50
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0090.00021.01
8.1.230.0080.00418.02
8.1.220.0030.00517.91
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0050.00319.14
8.1.180.0050.00318.10
8.1.170.0040.00418.48
8.1.160.0040.00419.05
8.1.150.0040.00419.11
8.1.140.0040.00418.93
8.1.130.0020.00520.38
8.1.120.0000.00717.55
8.1.110.0000.00717.65
8.1.100.0000.00717.78
8.1.90.0000.00717.74
8.1.80.0040.00417.78
8.1.70.0000.00917.64
8.1.60.0040.00417.67
8.1.50.0040.00417.81
8.1.40.0030.00517.66
8.1.30.0090.00317.76
8.1.20.0030.00517.87
8.1.10.0030.00617.72
8.1.00.0040.00417.74
8.0.300.0060.00318.96
8.0.290.0000.00716.88
8.0.280.0000.00718.55
8.0.270.0000.00717.02
8.0.260.0030.00320.45
8.0.250.0080.00017.11
8.0.240.0060.00017.07
8.0.230.0000.00717.15
8.0.220.0030.00317.02
8.0.210.0000.00716.96
8.0.200.0060.00317.03
8.0.190.0040.00417.02
8.0.180.0040.00417.13
8.0.170.0030.00616.98
8.0.160.0000.00716.99
8.0.150.0070.00017.06
8.0.140.0030.00616.98
8.0.130.0050.00013.54
8.0.120.0040.00417.05
8.0.110.0040.00417.14
8.0.100.0000.00816.82
8.0.90.0070.00016.91
8.0.80.0080.01017.06
8.0.70.0000.00716.85
8.0.60.0040.00417.09
8.0.50.0040.00416.85
8.0.30.0090.01017.39
8.0.20.0140.00717.40
8.0.10.0000.00717.09
8.0.00.0160.00216.83
7.4.330.0000.00515.55
7.4.320.0030.00316.73
7.4.300.0030.00316.73
7.4.290.0070.00016.80
7.4.280.0000.00916.77
7.4.270.0030.00316.91
7.4.260.0000.00816.80
7.4.250.0040.00416.69
7.4.240.0000.00816.57
7.4.230.0040.00416.64
7.4.220.0040.00416.54
7.4.210.0050.01116.74
7.4.200.0000.00716.89
7.4.160.0110.00616.69
7.4.140.0080.00917.86
7.4.130.0150.00916.62
7.4.120.0120.00816.77
7.4.110.0090.01116.84
7.4.100.0080.01016.64
7.4.90.0060.01416.65
7.4.80.0100.01118.04
7.4.70.0120.00716.75
7.4.60.0110.00716.69
7.4.50.0070.00716.69
7.4.40.0070.01116.57
7.4.30.0180.00516.86
7.4.20.0080.01316.50
7.4.10.0170.00616.76
7.4.00.0070.01015.74
7.3.330.0040.00413.28
7.3.320.0000.00713.33
7.3.310.0050.00216.47
7.3.300.0030.00316.43
7.3.290.0070.00016.43
7.3.280.0050.01116.47
7.3.260.0110.00616.57
7.3.240.0110.00616.61
7.3.230.0100.00716.43
7.3.220.0080.00816.56
7.3.210.0120.00416.54
7.3.200.0110.00516.34
7.3.190.0050.01116.63
7.3.180.0100.00916.47
7.3.170.0070.01016.63
7.3.160.0100.00716.59
7.3.150.0110.01116.50
7.3.140.0170.00416.25
7.3.130.0110.00716.49
7.3.120.0110.00715.43
7.3.110.0110.00615.56
7.3.100.0110.00915.53
7.3.90.0080.01115.68
7.3.80.0090.00815.68
7.3.70.0100.00715.61
7.3.60.0080.01115.64
7.3.50.0000.01715.73
7.3.40.0070.01015.49
7.3.30.0140.00315.61
7.3.20.0080.00816.63
7.3.10.0240.00616.47
7.3.00.0080.00816.69
7.2.340.0120.00616.85
7.2.330.0070.01216.76
7.2.320.0090.01116.79
7.2.310.0080.00816.82
7.2.300.0100.00716.71
7.2.290.0060.01316.66
7.2.280.0040.01916.79
7.2.270.0100.01016.80
7.2.260.0090.00916.85
7.2.250.0110.00815.79
7.2.240.0080.01015.94
7.2.230.0100.00615.80
7.2.220.0140.00415.96
7.2.210.0100.00715.71
7.2.200.0100.00515.93
7.2.190.0090.00915.80
7.2.180.0130.00315.83
7.2.170.0070.00915.94
7.2.160.0110.00816.45
7.2.150.0160.00316.74
7.2.140.0130.00616.46
7.2.130.0130.00716.62
7.2.120.0120.00816.78
7.2.110.0040.01216.63
7.2.100.1250.00715.64
7.2.90.0280.00815.93
7.2.80.0160.00715.66
7.2.70.0160.00715.80
7.2.60.0140.00615.79
7.2.50.0100.01015.91
7.2.40.0130.00715.81
7.2.30.0350.00715.95
7.2.20.0180.00615.86
7.2.10.0110.00915.86
7.2.00.2170.00615.88
7.1.330.0140.00915.82
7.1.320.0160.00715.98
7.1.310.0130.00615.82
7.1.300.0210.00615.73
7.1.290.0180.00415.81
7.1.280.0170.00615.63
7.1.270.0100.01215.84
7.1.260.0130.00815.75
7.1.250.0250.00315.66
7.1.240.0200.00615.70
7.1.230.0250.00315.76
7.1.220.0470.00614.90
7.1.210.0300.00614.92
7.1.200.0230.00714.64
7.1.190.0110.01314.89
7.1.180.0360.00514.83
7.1.170.0190.00614.97
7.1.160.2050.00914.74
7.1.150.0510.00814.80
7.1.140.0180.00514.91
7.1.130.1240.00814.92
7.1.120.0410.01114.80
7.1.110.0460.00414.78
7.1.100.2460.00614.81
7.1.90.4120.00914.95
7.1.80.3670.00415.03
7.1.70.3760.01114.78
7.1.60.2860.01423.78
7.1.50.4060.00923.77
7.1.40.4980.00923.86
7.1.30.4620.00823.75
7.1.20.3370.00523.70
7.1.10.3790.00814.90
7.1.00.3050.01014.69
7.0.330.0270.00415.19
7.0.320.0070.01815.47
7.0.310.0220.00815.33
7.0.300.0240.01015.32
7.0.290.0300.01115.47
7.0.280.0200.01015.40
7.0.270.0190.00915.32
7.0.260.0200.00815.43
7.0.250.0150.01215.65
7.0.240.0170.01415.34
7.0.230.0230.01115.51
7.0.220.0260.00415.68
7.0.210.0180.01315.36
7.0.200.0210.00615.27
7.0.190.0250.01415.50
7.0.180.0160.01615.44
7.0.170.0240.00515.48
7.0.160.0190.00915.55
7.0.150.0190.01015.43
7.0.140.0440.00915.57
7.0.130.0350.00315.36
7.0.120.0100.02415.51
7.0.110.0170.01715.49
7.0.100.0220.01215.63
7.0.90.0260.00315.50
7.0.80.0220.00515.68
7.0.70.0210.00815.45
7.0.60.0150.01215.45
7.0.50.0180.01215.47
7.0.40.0180.01115.42
7.0.30.0160.01015.39
7.0.20.0160.01115.29
7.0.10.0120.01515.36
7.0.00.0180.01115.36
5.6.400.0100.02016.05
5.6.390.0260.00716.14
5.6.380.0140.00915.38
5.6.370.0120.02116.10
5.6.360.0230.01416.06
5.6.350.0220.00616.33
5.6.340.0180.01515.97
5.6.330.0180.01116.20
5.6.320.0130.01716.37
5.6.310.0180.01516.21
5.6.300.0300.00816.14
5.6.290.0200.01316.20
5.6.280.0240.00516.04
5.6.270.0200.01416.26
5.6.260.0220.01016.15
5.6.250.0170.01216.14
5.6.240.0140.01416.19
5.6.230.0200.00916.02
5.6.220.0110.01916.21
5.6.210.0190.01116.17
5.6.200.0230.00816.28
5.6.190.0210.00916.11
5.6.180.0160.01616.11
5.6.170.0190.01316.01
5.6.160.0170.01315.91
5.6.150.0230.00915.96
5.6.140.0210.01416.16
5.6.130.0190.01216.16
5.6.120.0240.00715.93
5.6.110.0230.00716.05
5.6.100.0180.01516.00
5.6.90.0190.01316.07
5.6.80.0140.01415.94
5.6.70.0110.01916.07
5.6.60.0150.01516.09
5.6.50.0200.00815.97
5.6.40.0180.01315.91
5.6.30.0100.01715.95
5.6.20.0250.00315.94
5.6.10.0160.01216.06
5.6.00.0210.00916.07

preferences:
63.22 ms | 400 KiB | 5 Q