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>0000000022</MessageThreadId><MessageId>000000002201</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-30T09:35:57</MessageCreatedDateTime></MessageHeader><MessageNotificationPeriod><StartDate>2013-01-01</StartDate><EndDate>2013-03-31</EndDate></MessageNotificationPeriod>'); echo $writer; ?>

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.01019.21
8.3.30.0000.01419.50
8.3.20.0040.00420.66
8.3.10.0060.00324.21
8.3.00.0080.00019.53
8.2.170.0170.00322.96
8.2.160.0100.00320.69
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0080.00021.05
8.2.110.0090.00022.54
8.2.100.0100.00318.16
8.2.90.0050.00319.38
8.2.80.0040.00417.97
8.2.70.0000.00817.73
8.2.60.0000.00818.18
8.2.50.0040.00418.07
8.2.40.0050.00321.24
8.2.30.0090.00018.48
8.2.20.0000.00717.88
8.2.10.0040.00418.13
8.2.00.0000.00717.76
8.1.270.0080.00024.19
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.01024.21
8.1.230.0120.00019.41
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0060.00617.60
8.1.190.0080.00017.25
8.1.180.0040.00418.10
8.1.170.0040.00418.84
8.1.160.0040.00422.18
8.1.150.0000.00818.85
8.1.140.0070.00017.57
8.1.130.0000.00717.93
8.1.120.0040.00417.65
8.1.110.0080.00017.52
8.1.100.0070.00017.53
8.1.90.0000.00717.66
8.1.80.0000.00817.45
8.1.70.0000.00917.47
8.1.60.0060.00317.67
8.1.50.0040.00417.80
8.1.40.0030.00617.60
8.1.30.0060.00317.86
8.1.20.0050.00317.73
8.1.10.0040.00417.77
8.1.00.0040.00417.76
8.0.300.0060.00318.77
8.0.290.0080.00017.16
8.0.280.0040.00418.54
8.0.270.0060.00317.51
8.0.260.0030.00317.47
8.0.250.0000.00717.23
8.0.240.0070.00017.24
8.0.230.0080.00017.27
8.0.220.0030.00516.95
8.0.210.0030.00317.05
8.0.200.0030.00317.24
8.0.190.0000.00717.11
8.0.180.0040.00417.18
8.0.170.0040.00417.16
8.0.160.0030.00317.10
8.0.150.0040.00417.14
8.0.140.0070.00016.94
8.0.130.0030.00313.67
8.0.120.0050.00316.95
8.0.110.0080.00016.92
8.0.100.0030.00517.15
8.0.90.0060.00317.14
8.0.80.0070.01417.04
8.0.70.0000.00817.05
8.0.60.0000.00817.05
8.0.50.0040.00417.17
8.0.30.0130.00817.38
8.0.20.0060.01217.40
8.0.10.0040.00417.08
8.0.00.0090.01216.99
7.4.330.0030.00215.32
7.4.320.0070.00016.59
7.4.300.0030.00616.78
7.4.290.0050.00316.74
7.4.280.0030.00616.80
7.4.270.0080.00016.69
7.4.260.0050.00516.66
7.4.250.0030.00616.59
7.4.240.0030.00316.78
7.4.230.0000.00716.81
7.4.220.0140.00416.76
7.4.210.0100.00416.75
7.4.200.0000.00716.69
7.4.190.0030.00316.90
7.4.160.0080.00816.77
7.4.150.0160.00317.40
7.4.140.0100.00917.86
7.4.130.0080.00816.70
7.4.120.0130.00516.71
7.4.110.0090.00916.69
7.4.100.0100.01016.74
7.4.90.0070.01016.67
7.4.80.0120.00619.39
7.4.70.0100.00716.71
7.4.60.0130.00316.80
7.4.50.0050.00316.58
7.4.40.0060.01016.65
7.4.30.0090.00616.67
7.4.00.0090.00915.15
7.3.330.0000.00613.52
7.3.320.0060.00013.54
7.3.310.0000.00716.37
7.3.300.0040.00316.42
7.3.290.0110.00716.47
7.3.280.0120.00916.50
7.3.270.0200.00317.40
7.3.260.0110.00716.71
7.3.250.0090.00916.73
7.3.240.0070.01116.63
7.3.230.0070.01116.43
7.3.210.0150.00616.68
7.3.200.0070.01319.39
7.3.190.0100.00716.70
7.3.180.0150.00016.63
7.3.170.0030.01316.48
7.3.160.0100.00716.57
7.3.120.0100.00714.86
7.3.110.0020.01614.72
7.3.100.0080.00714.84
7.3.90.0130.00514.97
7.3.80.0060.00814.89
7.3.70.0050.01014.82
7.3.60.0060.00614.88
7.3.50.0090.00514.81
7.3.40.0110.00314.85
7.3.30.0040.00814.88
7.3.20.0090.00316.70
7.3.10.0060.00716.72
7.3.00.0060.00816.70
7.2.330.0080.00916.88
7.2.320.0110.00516.77
7.2.310.0130.00816.49
7.2.300.0100.00616.79
7.2.290.0090.00916.55
7.2.250.0090.00714.82
7.2.240.0060.01314.76
7.2.230.0040.01214.91
7.2.220.0080.00615.11
7.2.210.0090.00714.98
7.2.200.0020.01214.97
7.2.190.0060.00714.80
7.2.180.0050.01015.00
7.2.170.0080.00914.95
7.2.130.0080.00416.78
7.2.120.0060.00616.82
7.2.110.0060.00916.48
7.2.100.0060.00916.80
7.2.90.0080.00416.90
7.2.80.0030.01216.65
7.2.70.0000.01717.01
7.2.60.0030.01016.94
7.2.50.0070.01016.93
7.2.40.0080.00816.96
7.2.30.0120.00016.78
7.2.20.0060.00917.02
7.2.10.0070.00316.90
7.2.00.0090.00518.23
7.1.330.0050.00815.74
7.1.320.0040.01115.80
7.1.310.0000.01415.80
7.1.300.0070.00815.68
7.1.290.0080.00515.81
7.1.280.0050.01115.76
7.1.270.0050.00915.70
7.1.260.0050.00915.83
7.1.250.0030.01015.75
7.1.200.0030.00715.86
7.1.100.0000.01718.14
7.1.70.0000.00717.05
7.1.60.0060.01919.46
7.1.50.0090.01316.89
7.1.00.0100.07022.45
7.0.200.0130.00316.80
7.0.140.0030.07722.06
7.0.60.0030.05320.11
7.0.50.0070.06718.07
7.0.40.0130.06720.13
7.0.30.0300.07720.21
7.0.20.0230.07020.27
7.0.10.0100.08320.26
7.0.00.0000.09020.26
5.6.280.0070.06721.18
5.6.210.0130.06020.66
5.6.200.0000.04318.34
5.6.190.0000.04320.75
5.6.180.0200.06020.57
5.6.170.0030.05320.70
5.6.160.0070.07020.79
5.6.150.0170.07018.36
5.6.140.0100.04718.23
5.6.130.0100.07718.26
5.6.120.0130.06721.18
5.6.110.0100.05020.97
5.6.100.0000.08021.17
5.6.90.0100.06321.13
5.6.80.0030.08720.43
5.5.350.0000.08020.57
5.5.340.0100.03718.12
5.5.330.0000.09020.39
5.5.320.0330.03720.41
5.5.310.0100.04720.38
5.5.300.0100.07018.12
5.5.290.0070.05718.11
5.5.280.0070.08720.93
5.5.270.0030.06720.91
5.5.260.0070.04320.94
5.5.250.0030.05320.69
5.5.240.0100.07020.11
5.4.450.0770.06319.77
5.4.440.0800.05319.77
5.4.430.0100.05319.59
5.4.420.0970.08019.58
5.4.410.1030.06019.42
5.4.400.0500.04319.30
5.4.390.0770.06019.23
5.4.380.0200.06018.83
5.4.370.0400.04018.72
5.4.360.0330.05718.67
5.4.350.0270.05718.58
5.4.340.0300.05318.88
5.4.320.0030.04012.70
5.4.310.0060.04012.69
5.4.300.0070.03712.70
5.4.290.0080.03712.69
5.4.280.0060.04412.59
5.4.270.0090.04912.59
5.4.260.0090.04212.59
5.4.250.0050.04212.59
5.4.240.0090.03912.59
5.4.230.0050.03912.58
5.4.220.0070.04412.58
5.4.210.0100.03412.58
5.4.200.0070.03812.58
5.4.190.0070.03612.58
5.4.180.0100.04612.57
5.4.170.0060.04112.59
5.4.160.0090.03712.59
5.4.150.0100.06912.58
5.4.140.0070.04112.27
5.4.130.0050.04212.25
5.4.120.0060.03712.21
5.4.110.0060.03512.20
5.4.100.0020.04112.20
5.4.90.0050.04012.21
5.4.80.0060.04412.21
5.4.70.0070.05412.20
5.4.60.0120.05012.21
5.4.50.0040.04212.20
5.4.40.0110.04812.19
5.4.30.0060.04012.19
5.4.20.0050.04012.19
5.4.10.0050.03812.19
5.4.00.0050.04011.68
5.3.290.0040.04312.95
5.3.280.0080.05412.88
5.3.270.0090.04712.90
5.3.260.0100.05412.89
5.3.250.0050.03812.89
5.3.240.0050.04012.89
5.3.230.0070.04412.88
5.3.220.0110.06112.85
5.3.210.0110.04812.86
5.3.200.0070.03712.85
5.3.190.0050.03812.85
5.3.180.0040.04012.85
5.3.170.0090.03712.85
5.3.160.0060.05512.85
5.3.150.0090.04612.85
5.3.140.0050.04112.84
5.3.130.0060.03912.83
5.3.120.0050.04212.83
5.3.110.0070.04412.83
5.3.100.0280.12412.32
5.3.90.0130.05512.30
5.3.80.0150.06412.30
5.3.70.0070.05712.29
5.3.60.0070.05512.28
5.3.50.0130.06412.23
5.3.40.0140.07412.23
5.3.30.0080.05212.19
5.3.20.0060.05211.96
5.3.10.0050.05411.93
5.3.00.0080.04011.92
5.2.170.0060.0309.42
5.2.160.0060.0299.42
5.2.150.0040.0339.42
5.2.140.0050.0339.42
5.2.130.0070.0289.38
5.2.120.0060.0289.38
5.2.110.0050.0319.39
5.2.100.0060.0329.38
5.2.90.0070.0439.38
5.2.80.0090.0539.38
5.2.70.0060.0469.38
5.2.60.0110.0559.33
5.2.50.0060.0539.30
5.2.40.0100.0399.27
5.2.30.0050.0479.25
5.2.20.0030.0319.24
5.2.10.0050.0309.15
5.2.00.0050.0329.01
5.1.60.0060.0268.29
5.1.50.0040.0278.28
5.1.40.0040.0278.26
5.1.30.0060.0258.61
5.1.20.0030.0288.63
5.1.10.0060.0258.35
5.1.00.0040.0288.35
5.0.50.0080.0216.83
5.0.40.0060.0186.70
5.0.30.0040.0396.51
5.0.20.0040.0226.48
5.0.10.0060.0226.46
5.0.00.0030.0336.45
4.4.90.0060.0144.78
4.4.80.0050.0234.75
4.4.70.0050.0164.75
4.4.60.0010.0194.75
4.4.50.0010.0224.77
4.4.40.0050.0354.71
4.4.30.0040.0234.76
4.4.20.0040.0234.84
4.4.10.0030.0244.85
4.4.00.0050.0334.76
4.3.110.0100.0214.67
4.3.100.0020.0284.66
4.3.90.0050.0234.63
4.3.80.0020.0364.59
4.3.70.0030.0224.63
4.3.60.0030.0224.63
4.3.50.0030.0254.63
4.3.40.0040.0334.54
4.3.30.0020.0183.28
4.3.20.0030.0173.25
4.3.10.0050.0163.22
4.3.00.0070.0237.36

preferences:
35.66 ms | 400 KiB | 5 Q