3v4l.org

run code in 300+ PHP versions simultaneously
<?php $writer = new SimpleXMLElement('<?xml version="1.0"?><dsr: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>'); ?>

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.0090.00619.16
8.3.30.0110.00419.46
8.3.20.0030.00620.57
8.3.10.0040.00423.91
8.3.00.0000.00821.05
8.2.170.0170.00322.96
8.2.160.0140.00020.60
8.2.150.0080.00024.18
8.2.140.0080.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00821.50
8.2.110.0030.00622.48
8.2.100.0040.00717.97
8.2.90.0030.00519.30
8.2.80.0080.00017.97
8.2.70.0070.00317.88
8.2.60.0110.00018.03
8.2.50.0040.00418.07
8.2.40.0030.00520.22
8.2.30.0000.00818.34
8.2.20.0000.00817.84
8.2.10.0050.00318.19
8.2.00.0080.00017.85
8.1.270.0080.00024.24
8.1.260.0080.00026.35
8.1.250.0030.01028.09
8.1.240.0040.00424.21
8.1.230.0080.00319.27
8.1.220.0080.00017.91
8.1.210.0040.00418.77
8.1.200.0090.00017.47
8.1.190.0040.00417.60
8.1.180.0040.00418.10
8.1.170.0060.00318.71
8.1.160.0040.00422.31
8.1.150.0000.00718.82
8.1.140.0040.00417.42
8.1.130.0030.00317.86
8.1.120.0040.00417.64
8.1.110.0000.00817.61
8.1.100.0000.00817.60
8.1.90.0070.00017.55
8.1.80.0030.00617.67
8.1.70.0040.00417.51
8.1.60.0060.00317.64
8.1.50.0000.00917.71
8.1.40.0000.00817.70
8.1.30.0000.00817.94
8.1.20.0080.00017.96
8.1.10.0050.00317.72
8.1.00.0000.00817.53
8.0.300.0080.00018.77
8.0.290.0030.00617.30
8.0.280.0030.00318.48
8.0.270.0030.00317.38
8.0.260.0000.00917.28
8.0.250.0000.00817.18
8.0.240.0000.00817.29
8.0.230.0000.00717.20
8.0.220.0000.00717.05
8.0.210.0040.00417.16
8.0.200.0000.00717.22
8.0.190.0030.00517.29
8.0.180.0000.00717.18
8.0.170.0030.00517.12
8.0.160.0000.00717.04
8.0.150.0000.00717.02
8.0.140.0030.00517.10
8.0.130.0000.00513.74
8.0.120.0000.00816.99
8.0.110.0060.00317.20
8.0.100.0070.00017.09
8.0.90.0020.00517.07
8.0.80.0090.01316.98
8.0.70.0000.00816.91
8.0.60.0040.00417.14
8.0.50.0050.00217.02
8.0.30.0090.01317.25
8.0.20.0100.01017.40
8.0.10.0080.00016.94
8.0.00.0120.00817.03
7.4.330.0000.00615.39
7.4.320.0060.00016.65
7.4.300.0000.00616.55
7.4.290.0040.00416.55
7.4.280.0040.00416.79
7.4.270.0070.00016.59
7.4.260.0000.00716.82
7.4.250.0000.00816.61
7.4.240.0020.00516.73
7.4.230.0070.00016.53
7.4.220.0070.01116.79
7.4.210.0100.00616.70
7.4.200.0030.00516.73
7.4.190.0030.00516.71
7.4.160.0170.00016.82
7.4.150.0170.00717.40
7.4.140.0150.00617.86
7.4.130.0080.00816.56
7.4.120.0110.00816.79
7.4.110.0060.01716.70
7.4.100.0170.01316.83
7.4.90.0110.00716.71
7.4.80.0140.00319.39
7.4.70.0060.01316.57
7.4.60.0090.00916.73
7.4.50.0000.00916.74
7.4.40.0030.01216.53
7.4.30.0040.01316.59
7.4.10.0100.01015.34
7.4.00.0090.00914.86
7.3.330.0000.00513.26
7.3.320.0030.00513.24
7.3.310.0000.00716.30
7.3.300.0030.00316.50
7.3.290.0070.01016.49
7.3.280.0110.00716.49
7.3.270.0060.01217.40
7.3.260.0110.00816.72
7.3.250.0040.01516.54
7.3.240.0100.00616.54
7.3.230.0090.01216.60
7.3.210.0100.00716.75
7.3.200.0140.00319.39
7.3.190.0130.00516.50
7.3.180.0130.00816.56
7.3.170.0060.01216.66
7.3.160.0150.00616.74
7.3.130.0070.01014.92
7.3.120.0060.01014.92
7.3.110.0100.00814.98
7.3.100.0060.00814.67
7.3.90.0050.00714.82
7.3.80.0070.00814.88
7.3.70.0050.00614.85
7.3.60.0030.00714.70
7.3.50.0110.00414.84
7.3.40.0060.00614.78
7.3.30.0090.00714.86
7.3.20.0030.00916.54
7.3.10.0050.00916.68
7.3.00.0070.00916.75
7.2.330.0090.00916.73
7.2.320.0060.01316.83
7.2.310.0040.01416.43
7.2.300.0050.01116.68
7.2.290.0060.01316.96
7.2.260.0070.00714.64
7.2.250.0090.00915.09
7.2.240.0100.00715.03
7.2.230.0050.00914.94
7.2.220.0050.00914.87
7.2.210.0070.00814.83
7.2.200.0100.00215.01
7.2.190.0030.01015.01
7.2.180.0070.00714.98
7.2.170.0050.00815.15
7.2.160.0030.01215.11
7.2.150.0060.00816.88
7.2.140.0110.00516.81
7.2.130.0050.00916.78
7.2.120.0150.00516.62
7.2.110.0050.00616.84
7.2.100.0130.00616.68
7.2.90.0130.00716.68
7.2.80.0090.00816.75
7.2.70.0090.01116.88
7.2.60.0070.00916.73
7.2.50.0070.00916.76
7.2.40.0190.00416.75
7.2.30.0090.00716.78
7.2.20.0080.00816.88
7.2.10.0140.00516.77
7.2.00.0080.00717.46
7.1.330.0080.00815.58
7.1.320.0080.00815.79
7.1.310.0090.00915.76
7.1.300.0030.01015.71
7.1.290.0040.00815.60
7.1.280.0030.00815.70
7.1.270.0050.00915.73
7.1.260.0070.00515.65
7.1.250.0070.00815.65
7.1.240.0070.00515.63
7.1.230.0110.00915.68
7.1.220.0050.00615.61
7.1.210.0100.00615.69
7.1.200.0090.00515.66
7.1.190.0120.00515.64
7.1.180.0060.01215.75
7.1.170.0100.00515.70
7.1.160.0060.00715.69
7.1.150.0070.00815.89
7.1.140.0050.00915.84
7.1.130.0100.00315.65
7.1.120.0100.00515.45
7.1.110.0090.00615.74
7.1.100.0140.00616.31
7.1.90.0170.00715.66
7.1.80.0090.00715.65
7.1.70.0080.00516.01
7.1.60.0090.00816.70
7.1.50.0060.00916.01
7.1.40.0110.00515.84
7.1.30.0070.00715.63
7.1.20.0070.00615.69
7.1.10.0160.00715.73
7.1.00.0090.02217.27
7.0.330.0050.01015.37
7.0.320.0090.00715.26
7.0.310.0070.00715.42
7.0.300.0100.00615.36
7.0.290.0100.00515.43
7.0.280.0090.01015.43
7.0.270.0130.00415.28
7.0.260.0130.00515.26
7.0.250.0070.00815.31
7.0.240.0080.00615.39
7.0.230.0100.00715.42
7.0.220.0090.00715.60
7.0.210.0110.00415.33
7.0.200.0070.00715.12
7.0.190.0070.00815.46
7.0.180.0090.00815.57
7.0.170.0080.00615.32
7.0.160.0090.00715.31
7.0.150.0100.00715.45
7.0.140.0090.02117.04
7.0.130.0030.00815.32
7.0.120.0070.00515.41
7.0.110.0080.00915.32
7.0.100.0130.01616.59
7.0.90.0100.02416.53
7.0.80.0120.02216.48
7.0.70.0100.01716.55
7.0.60.0110.02516.57
7.0.50.0100.01816.64
7.0.40.0100.02615.07
7.0.30.0070.02415.12
7.0.20.0090.02215.11
7.0.10.0070.01715.03
7.0.00.0100.02615.15
5.6.400.0020.01214.26
5.6.390.0060.00714.19
5.6.380.0100.00714.45
5.6.370.0140.00414.31
5.6.360.0070.00914.30
5.6.350.0110.00514.36
5.6.340.0070.00714.29
5.6.330.0060.00914.39
5.6.320.0060.00614.42
5.6.310.0090.00714.39
5.6.300.0100.00414.31
5.6.290.0060.00814.25
5.6.280.0090.02316.00
5.6.270.0040.01114.26
5.6.260.0060.00714.11
5.6.250.0090.02415.83
5.6.240.0090.02715.79
5.6.230.0100.02415.93
5.6.220.0090.01515.95
5.6.210.0050.01715.94
5.6.200.0080.01715.93
5.6.190.0100.02216.06
5.6.180.0060.01715.93
5.6.170.0100.02715.97
5.6.160.0070.02416.06
5.6.150.0070.02015.88
5.6.140.0050.02715.89
5.6.130.0100.02216.01
5.6.120.0100.02215.97
5.6.110.0060.02416.08
5.6.100.0080.02216.08
5.6.90.0080.02515.90
5.6.80.0100.01915.87
5.6.70.0080.02515.66
5.6.60.0070.02315.79
5.6.50.0050.02815.76
5.6.40.0070.02515.86
5.6.30.0060.02515.94
5.6.20.0100.02015.89
5.6.10.0090.02415.77
5.6.00.0080.02415.70
5.5.380.0070.02415.21
5.5.370.0030.02715.14
5.5.360.0080.02415.07
5.5.350.0060.02415.08
5.5.340.0060.02615.22
5.5.330.0070.02215.12
5.5.320.0070.02415.29
5.5.310.0040.02715.21
5.5.300.0060.02515.18
5.5.290.0070.02015.32
5.5.280.0040.02115.16
5.5.270.0030.01915.20
5.5.260.0050.02615.39
5.5.250.0050.02715.26
5.5.240.0050.02415.10
5.5.230.0070.02515.15
5.5.220.0090.02315.12
5.5.210.0060.02315.11
5.5.200.0060.02415.09
5.5.190.0070.02515.05
5.5.180.0070.02415.01
5.5.170.0050.01014.07
5.5.160.0070.02115.10
5.5.150.0090.02515.06
5.5.140.0060.02515.00
5.5.130.0080.02315.12
5.5.120.0060.02215.14
5.5.110.0090.01515.10
5.5.100.0050.01814.84
5.5.90.0080.02514.93
5.5.80.0080.02414.94
5.5.70.0090.02214.99
5.5.60.0070.01414.92
5.5.50.0050.01714.94
5.5.40.0070.01715.06
5.5.30.0050.01615.08
5.5.20.0050.02515.01
5.5.10.0070.02514.98
5.5.00.0050.02814.96
5.4.450.0040.01714.25
5.4.440.0050.02414.27
5.4.430.0070.02014.24
5.4.420.0050.02114.30
5.4.410.0040.02414.21
5.4.400.0040.02214.19
5.4.390.0080.01414.12
5.4.380.0050.02414.16
5.4.370.0090.01314.16
5.4.360.0040.02414.16
5.4.350.0070.01914.22
5.4.340.0050.02214.19
5.4.330.0010.01012.51
5.4.320.0040.02414.19
5.4.310.0070.02114.16
5.4.300.0050.01514.12
5.4.290.0070.01414.16
5.4.280.0040.01714.12
5.4.270.0070.02114.13
5.4.260.0030.02514.12
5.4.250.0050.02414.12
5.4.240.0080.01914.17
5.4.230.0030.02714.20
5.4.220.0060.02014.18
5.4.210.0050.02414.13
5.4.200.0050.02314.20
5.4.190.0080.01414.20
5.4.180.0040.01714.16
5.4.170.0070.01414.19
5.4.160.0050.02414.13
5.4.150.0040.01914.19
5.4.140.0050.01713.52
5.4.130.0050.02113.52
5.4.120.0040.01613.51
5.4.110.0070.01813.53
5.4.100.0050.02313.54
5.4.90.0060.02213.55
5.4.80.0050.02113.50
5.4.70.0070.01913.51
5.4.60.0040.02513.55
5.4.50.0030.02313.54
5.4.40.0070.01913.52
5.4.30.0070.02013.54
5.4.20.0060.01913.52
5.4.10.0040.01413.52
5.4.00.0050.02313.38
5.3.290.0080.04313.24
5.3.280.0100.03713.19
5.3.270.0050.02513.16
5.3.260.0020.04313.12
5.3.250.0110.03513.20
5.3.240.0090.03813.21
5.3.230.0060.04113.12
5.3.220.0050.04013.15
5.3.210.0030.02513.15
5.3.200.0070.03613.20
5.3.190.0050.04313.10
5.3.180.0120.02213.18
5.3.170.0090.03313.14
5.3.160.0080.03813.20
5.3.150.0020.04113.15
5.3.140.0040.04213.17
5.3.130.0030.04213.17
5.3.120.0070.02513.14
5.3.110.0060.02413.06
5.3.100.0050.03612.87
5.3.90.0100.03512.90
5.3.80.0060.02012.88
5.3.70.0120.02812.93
5.3.60.0090.03012.86
5.3.50.0000.04312.89
5.3.40.0070.03712.82
5.3.30.0050.02212.72
5.3.20.0090.03812.63
5.3.10.0100.03512.68
5.3.00.0090.02012.73
5.2.170.0030.02311.86
5.2.160.0080.03111.86
5.2.150.0000.02611.86
5.2.140.0080.02211.86
5.2.130.0020.02111.86
5.2.120.0040.04011.86
5.2.110.0050.03311.86
5.2.100.0080.01711.86
5.2.90.0040.03411.86
5.2.80.0000.02011.86
5.2.70.0060.03411.86
5.2.60.0080.01611.86
5.2.50.0050.03311.86
5.2.40.0020.03211.86
5.2.30.0070.03111.86
5.2.20.0040.02111.86
5.2.10.0080.01311.86
5.2.00.0050.01511.86
5.1.60.0080.01011.86
5.1.50.0010.01911.86
5.1.40.0050.01311.86
5.1.30.0030.01611.86
5.1.20.0050.01511.86
5.1.10.0050.01311.86
5.1.00.0030.01511.86
5.0.50.0020.01411.86
5.0.40.0050.01011.86
5.0.30.0040.01711.86
5.0.20.0040.00811.86
5.0.10.0040.01011.86
5.0.00.0020.02011.86
4.4.90.0050.00811.86
4.4.80.0040.01811.86
4.4.70.0010.01511.86
4.4.60.0030.01011.86
4.4.50.0020.01511.86
4.4.40.0000.03211.86
4.4.30.0010.01011.86
4.4.20.0020.00811.86
4.4.10.0030.00811.86
4.4.00.0000.01611.86
4.3.110.0030.01011.86
4.3.100.0040.00711.86
4.3.90.0010.00811.86
4.3.80.0030.01411.86
4.3.70.0040.00711.86
4.3.60.0010.01011.86
4.3.50.0000.01111.86
4.3.40.0030.01311.86
4.3.30.0000.01211.86
4.3.20.0020.00911.86
4.3.10.0030.00711.86
4.3.00.0020.00711.86

preferences:
41.58 ms | 400 KiB | 5 Q