3v4l.org

run code in 300+ PHP versions simultaneously
<?php $writer = new SimpleXMLElement('<?xml version="1.0"?><dsr:SalesReportToSocietyMessage xmlns:dsr="http://ddex.net/xml/2010/dsr-main/32" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" MessageSchemaVersionId="2010/dsr-main/32" xsi:schemaLocation="http://ddex.net/xml/2010/dsr-main/32 http://ddex.net/xml/2010/dsr-main/32/dsr-main.xsd"><MessageHeader><MessageThreadId>0000000024</MessageThreadId><MessageId>000000002401</MessageId><MessageSender><PartyId>PADPIDA2010071901R</PartyId><PartyName><FullName>RHAPSODY INTERNATIONAL, INC.</FullName></PartyName><TradingName>Premier Extra</TradingName></MessageSender><MessageRecipient><PartyId>SWAPFORSOCIETYID</PartyId><PartyName><FullName>SWAPFORSOCIETYNAME</FullName></PartyName></MessageRecipient><MessageCreatedDateTime>2014-06-30T14:14:29</MessageCreatedDateTime></MessageHeader><MessageNotificationPeriod><StartDate>2013-01-01</StartDate><EndDate>2013-03-31</EndDate></MessageNotificationPeriod></dsr:SalesReportToSocietyMessage>'); $messagerecipient = $writer->xpath('//MessageRecipient'); $messagerecipient[0]->PartyId = '1234'; //var_dump($messagerecipient); $output = $writer->asXML(); echo $output; ?>

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.0120.00317.13
8.3.50.0130.00822.14
8.3.40.0110.00419.17
8.3.30.0040.01119.46
8.3.20.0030.00620.59
8.3.10.0050.00323.89
8.3.00.0080.00019.44
8.2.180.0100.00716.75
8.2.170.0080.00822.96
8.2.160.0100.00320.76
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00021.42
8.2.110.0090.00022.70
8.2.100.0080.00318.46
8.2.90.0050.00319.73
8.2.80.0090.00018.18
8.2.70.0000.00818.00
8.2.60.0040.00418.43
8.2.50.0040.00418.10
8.2.40.0040.00420.38
8.2.30.0000.00718.77
8.2.20.0040.00418.18
8.2.10.0040.00418.46
8.2.00.0030.00718.12
8.1.280.0110.00325.92
8.1.270.0050.00324.34
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00619.51
8.1.230.0050.00521.35
8.1.220.0080.00018.18
8.1.210.0050.00318.77
8.1.200.0050.00517.73
8.1.190.0050.00517.60
8.1.180.0000.00818.10
8.1.170.0040.00719.03
8.1.160.0040.00422.31
8.1.150.0030.00618.89
8.1.140.0040.00417.83
8.1.130.0040.00418.16
8.1.120.0080.00017.74
8.1.110.0000.00817.91
8.1.100.0040.00417.66
8.1.90.0040.00317.87
8.1.80.0030.00717.89
8.1.70.0000.00717.70
8.1.60.0040.00417.77
8.1.50.0030.00617.95
8.1.40.0000.00817.70
8.1.30.0030.00517.81
8.1.20.0000.00817.82
8.1.10.0000.01118.05
8.1.00.0070.00018.02
8.0.300.0040.00418.77
8.0.290.0000.00817.13
8.0.280.0070.00018.75
8.0.270.0000.00717.69
8.0.260.0000.00717.59
8.0.250.0070.00017.42
8.0.240.0040.00417.19
8.0.230.0000.00717.34
8.0.220.0040.00417.30
8.0.210.0050.00217.05
8.0.200.0000.00617.26
8.0.190.0040.00417.20
8.0.180.0000.00817.10
8.0.170.0060.00317.09
8.0.160.0040.00317.37
8.0.150.0040.00417.25
8.0.140.0000.00717.28
8.0.130.0000.00613.77
8.0.120.0080.00017.28
8.0.110.0050.00317.21
8.0.100.0000.00717.19
8.0.90.0000.00717.09
8.0.80.0100.00717.19
8.0.70.0050.00217.25
8.0.60.0070.00017.16
8.0.50.0000.00717.16
8.0.30.0160.00517.31
8.0.20.0100.00917.40
8.0.10.0000.00817.17
8.0.00.0090.00917.04
7.4.330.0050.00315.00
7.4.320.0060.00016.86
7.4.300.0060.00016.91
7.4.290.0000.00716.91
7.4.280.0000.00716.76
7.4.270.0030.00316.83
7.4.260.0000.00716.88
7.4.250.0070.00016.91
7.4.240.0020.00616.88
7.4.230.0030.00417.06
7.4.220.0030.01516.95
7.4.210.0080.00616.88
7.4.200.0000.00716.66
7.4.190.0000.00717.04
7.4.160.0070.01016.72
7.4.150.0150.00317.40
7.4.140.0110.01317.86
7.4.130.0110.00616.86
7.4.120.0150.00316.78
7.4.110.0160.00016.92
7.4.100.0120.01316.86
7.4.90.0110.00616.90
7.4.80.0030.01419.39
7.4.70.0120.00616.87
7.4.60.0000.01716.97
7.4.50.0000.00816.78
7.4.40.0060.01016.82
7.4.30.0080.01316.90
7.4.00.0060.01015.08
7.3.330.0050.00013.39
7.3.320.0040.00413.63
7.3.310.0040.00416.82
7.3.300.0000.00616.69
7.3.290.0030.01716.70
7.3.280.0130.00516.75
7.3.270.0090.00917.40
7.3.260.0100.01016.98
7.3.250.0110.00916.78
7.3.240.0130.00616.88
7.3.230.0070.01017.03
7.3.210.0120.00616.69
7.3.200.0100.00719.39
7.3.190.0070.01016.80
7.3.180.0040.01316.86
7.3.170.0060.00916.64
7.3.160.0090.01416.81
7.3.120.0020.01314.99
7.3.110.0060.00915.06
7.3.100.0090.00914.86
7.3.90.0030.01315.06
7.3.80.0070.00415.18
7.3.70.0070.00714.77
7.3.60.0000.01415.06
7.3.50.0060.00915.13
7.3.40.0070.00714.72
7.3.30.0030.00514.91
7.3.20.0040.00816.82
7.3.10.0070.00616.83
7.3.00.0100.00416.76
7.2.330.0130.00616.89
7.2.320.0120.00616.85
7.2.310.0120.00916.90
7.2.300.0000.01717.18
7.2.290.0090.00916.86
7.2.250.0100.01015.35
7.2.240.0130.00715.34
7.2.230.0070.01015.13
7.2.220.0120.00314.94
7.2.210.0080.00415.13
7.2.200.0040.01115.42
7.2.190.0070.01015.20
7.2.180.0070.01015.23
7.2.170.0030.00915.32
7.2.160.0060.00614.98
7.2.150.0060.00616.99
7.2.140.0120.00317.02
7.2.130.0030.01017.03
7.2.120.0070.00617.09
7.2.110.0040.00616.99
7.2.100.0050.00817.02
7.2.90.0070.00716.94
7.2.80.0030.00817.11
7.2.70.0050.00517.18
7.2.60.0030.01017.09
7.2.50.0080.00616.91
7.2.40.0100.00316.99
7.2.30.0040.00817.33
7.2.20.0050.00717.14
7.2.10.0060.00516.94
7.2.00.0060.00617.67
7.1.330.0090.00916.07
7.1.320.0030.01016.16
7.1.310.0070.00415.91
7.1.300.0070.00715.92
7.1.290.0070.00715.79
7.1.280.0090.00315.99
7.1.270.0030.00715.80
7.1.260.0000.01015.77
7.1.250.0030.00716.06
7.1.240.0060.00316.04
7.1.230.0040.01115.81
7.1.220.0050.00515.81
7.1.210.0070.00715.97
7.1.200.0030.01016.02
7.1.190.0000.00915.77
7.1.180.0030.00615.78
7.1.170.0090.00615.82
7.1.160.0090.00615.88
7.1.150.0040.00715.89
7.1.140.0060.00616.06
7.1.130.0070.00315.84
7.1.120.0000.00815.88
7.1.110.0030.00615.82
7.1.100.0050.00817.16
7.1.90.0100.00015.96
7.1.80.0030.00616.26
7.1.70.0020.00616.41
7.1.60.0080.01017.81
7.1.50.0060.00816.60
7.1.40.0070.00716.23
7.1.30.0030.00715.84
7.1.20.0070.00715.91
7.1.10.0060.01015.66
7.1.00.0070.03719.22
7.0.330.0060.00915.39
7.0.320.0040.00415.52
7.0.310.0030.00615.52
7.0.300.0000.01115.61
7.0.290.0040.00715.63
7.0.280.0080.00415.68
7.0.270.0040.01115.63
7.0.260.0000.01515.53
7.0.250.0030.00615.71
7.0.240.0070.00715.70
7.0.230.0000.00815.69
7.0.220.0090.00315.45
7.0.210.0030.01015.63
7.0.200.0040.00716.06
7.0.190.0130.00015.60
7.0.180.0050.00515.74
7.0.170.0040.00815.72
7.0.160.0060.00615.64
7.0.150.0060.00915.82
7.0.140.0000.04418.97
7.0.130.0060.00315.67
7.0.120.0110.00015.59
7.0.110.0080.00415.51
7.0.100.0050.02917.89
7.0.90.0030.03017.72
7.0.80.0030.04717.78
7.0.70.0070.03617.85
7.0.60.0160.03117.71
7.0.50.0120.04218.02
7.0.40.0030.03316.95
7.0.30.0110.03716.98
7.0.20.0050.03516.93
7.0.10.0110.03816.98
7.0.00.0070.02917.06
5.6.400.0030.00615.07
5.6.390.0060.00314.67
5.6.380.0060.01014.61
5.6.370.0120.00414.60
5.6.360.0060.00614.54
5.6.350.0030.00914.91
5.6.340.0070.00714.87
5.6.330.0000.01214.77
5.6.320.0080.00614.36
5.6.310.0040.00814.32
5.6.300.0100.00714.67
5.6.290.0060.00614.95
5.6.280.0050.04217.97
5.6.270.0040.00714.97
5.6.260.0060.01314.85
5.6.250.0100.04117.54
5.6.240.0060.04117.58
5.6.230.0070.04817.49
5.6.220.0060.03817.70
5.6.210.0090.04017.55
5.6.200.0100.03818.03
5.6.190.0070.02517.91
5.6.180.0050.04517.87
5.6.170.0080.04318.03
5.6.160.0060.04817.91
5.6.150.0030.03217.93
5.6.140.0120.04018.05
5.6.130.0080.04317.83
5.6.120.0060.02918.08
5.6.110.0050.04517.84
5.6.100.0030.04217.96
5.6.90.0070.02617.88
5.6.80.0100.02017.57
5.6.70.0030.02917.54
5.6.60.0060.02417.44
5.6.50.0050.02417.56
5.6.40.0080.02017.63
5.6.30.0030.02717.57
5.6.20.0020.03017.48
5.6.10.0030.02517.51
5.6.00.0050.02517.55
5.5.380.0050.03217.54
5.5.370.0090.03817.55
5.5.360.0070.03117.67
5.5.350.0080.02117.51
5.5.340.0110.04117.92
5.5.330.0050.04717.86
5.5.320.0020.03017.57
5.5.310.0070.04317.82
5.5.300.0100.04317.69
5.5.290.0070.03017.83
5.5.280.0070.03717.86
5.5.270.0100.02617.64
5.5.260.0090.04417.74
5.5.250.0110.04317.51
5.5.240.0030.03217.43
5.5.230.0050.03117.50
5.5.220.0050.02317.45
5.5.210.0050.02517.48
5.5.200.0070.02217.37
5.5.190.0080.02017.38
5.5.180.0070.02517.29
5.5.170.0030.01414.46
5.5.160.0020.02617.40
5.5.150.0090.02217.46
5.5.140.0030.02817.42
5.5.130.0000.03017.38
5.5.120.0020.02717.41
5.5.110.0030.02317.53
5.5.100.0050.02317.28
5.5.90.0050.04217.44
5.5.80.0030.02217.31
5.5.70.0060.04017.39
5.5.60.0070.02317.32
5.5.50.0050.02517.34
5.5.40.0050.02117.35
5.5.30.0030.02517.29
5.5.20.0060.02817.26
5.5.10.0050.02117.38
5.5.00.0020.02617.38
5.4.450.0030.02615.56
5.4.440.0100.03715.46
5.4.430.0100.03615.60
5.4.420.0080.02015.59
5.4.410.0070.04415.52
5.4.400.0040.02015.42
5.4.390.0020.02715.52
5.4.380.0020.02515.30
5.4.370.0050.02015.42
5.4.360.0050.02415.35
5.4.350.0030.02515.39
5.4.340.0050.02015.30
5.4.330.0110.00411.59
5.4.320.0000.02815.30
5.4.310.0020.02415.39
5.4.300.0050.02215.42
5.4.290.0080.02115.29
5.4.280.0110.02115.41
5.4.270.0000.02215.39
5.4.260.0000.02515.31
5.4.250.0050.03415.44
5.4.240.0080.03615.41
5.4.230.0020.03315.43
5.4.220.0090.01915.41
5.4.210.0020.02315.29
5.4.200.0070.01315.44
5.4.190.0000.02215.41
5.4.180.0020.02015.38
5.4.170.0040.02015.39
5.4.160.0000.02915.41
5.4.150.0030.02215.51
5.4.140.0060.01814.05
5.4.130.0000.02514.05
5.4.120.0050.02314.05
5.4.110.0030.02214.05
5.4.100.0000.02414.15
5.4.90.0000.02314.11
5.4.80.0010.02014.10
5.4.70.0040.02014.09
5.4.60.0020.02014.09
5.4.50.0050.01614.14
5.4.40.0070.01814.13
5.4.30.0040.02314.04
5.4.20.0110.01314.09
5.4.10.0030.02614.07
5.4.00.0000.02513.80
5.3.290.0000.02813.15
5.3.280.0060.03913.16
5.3.270.0000.02413.12
5.3.260.0020.03313.21
5.3.250.0060.01613.18
5.3.240.0030.02213.11
5.3.230.0030.02113.16
5.3.220.0070.01313.18
5.3.210.0030.02013.14
5.3.200.0050.02113.10
5.3.190.0050.01713.19
5.3.180.0020.02013.15
5.3.170.0080.02113.19
5.3.160.0000.02213.18
5.3.150.0110.01813.18
5.3.140.0030.02113.10
5.3.130.0050.02213.17
5.3.120.0050.02313.18
5.3.110.0040.01913.18
5.3.100.0030.02012.90
5.3.90.0050.02012.82
5.3.80.0030.02412.80
5.3.70.0050.02112.81
5.3.60.0020.02112.90
5.3.50.0050.01812.87
5.3.40.0020.02312.87
5.3.30.0050.01812.83
5.3.20.0020.01912.75
5.3.10.0070.01812.63
5.3.00.0050.01612.70
5.2.170.0000.04011.54
5.2.160.0100.02011.54
5.2.150.0000.02711.54
5.2.140.0030.02311.54
5.2.130.0000.02711.54
5.2.120.0030.02711.54
5.2.110.0000.02711.54
5.2.100.0000.02711.54
5.2.90.0030.02311.54
5.2.80.0070.02011.54
5.2.70.0000.02711.54
5.2.60.0070.02011.54
5.2.50.0000.02711.54
5.2.40.0030.02311.54
5.2.30.0000.02711.54
5.2.20.0100.01711.54
5.2.10.0000.02311.54
5.2.00.0000.03011.54
5.1.60.0070.05011.54
5.1.50.0030.02711.54
5.1.40.0000.02311.54
5.1.30.0030.05011.54
5.1.20.0030.05311.54
5.1.10.0030.02711.54
5.1.00.0070.03711.54
5.0.50.0070.01711.54
5.0.40.0030.02011.54
5.0.30.0000.03311.54
5.0.20.0000.02311.54
5.0.10.0030.03711.54
5.0.00.0000.04011.54
4.4.90.0000.01311.54
4.4.80.0000.01311.54
4.4.70.0000.01311.54
4.4.60.0000.01311.54
4.4.50.0000.01311.54
4.4.40.0030.03711.54
4.4.30.0000.01311.54
4.4.20.0030.02711.54
4.4.10.0030.02311.54
4.4.00.0030.02311.54
4.3.110.0000.02011.54
4.3.100.0030.03311.54
4.3.90.0000.01711.54
4.3.80.0030.02311.54
4.3.70.0000.03011.54
4.3.60.0030.01311.54
4.3.50.0000.02011.54
4.3.40.0000.03711.54
4.3.30.0030.02311.54
4.3.20.0000.01711.54
4.3.10.0000.02311.54
4.3.00.0000.03311.54

preferences:
66.39 ms | 401 KiB | 5 Q