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>'); ?>

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.0110.00418.84
8.3.30.0100.00319.21
8.3.20.0000.00820.59
8.3.10.0030.00523.84
8.3.00.0060.00321.02
8.2.170.0100.00722.96
8.2.160.0070.00720.60
8.2.150.0070.00024.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0000.00920.96
8.2.110.0040.00422.45
8.2.100.0040.00818.03
8.2.90.0030.00519.12
8.2.80.0040.00417.97
8.2.70.0040.00717.75
8.2.60.0080.00318.05
8.2.50.0050.00318.07
8.2.40.0040.00420.09
8.2.30.0070.00018.43
8.2.20.0000.00717.75
8.2.10.0000.00718.09
8.2.00.0040.00417.76
8.1.270.0030.00624.17
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00624.09
8.1.230.0110.00019.41
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0100.00317.36
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0000.00818.52
8.1.160.0040.00422.05
8.1.150.0040.00418.76
8.1.140.0030.00717.64
8.1.130.0030.00318.07
8.1.120.0040.00417.67
8.1.110.0000.00817.66
8.1.100.0040.00417.54
8.1.90.0040.00317.59
8.1.80.0040.00417.64
8.1.70.0030.00317.48
8.1.60.0040.00417.61
8.1.50.0000.00817.70
8.1.40.0030.00517.66
8.1.30.0030.00617.66
8.1.20.0040.00417.82
8.1.10.0000.00717.72
8.1.00.0040.00417.50
8.0.300.0000.00818.77
8.0.290.0080.00017.16
8.0.280.0030.00318.53
8.0.270.0000.00717.34
8.0.260.0030.00617.39
8.0.250.0000.00717.17
8.0.240.0000.00816.96
8.0.230.0000.00716.95
8.0.220.0040.00416.96
8.0.210.0000.00717.10
8.0.200.0030.00317.14
8.0.190.0000.00817.14
8.0.180.0000.00717.01
8.0.170.0080.00016.95
8.0.160.0040.00417.02
8.0.150.0040.00416.85
8.0.140.0000.00717.05
8.0.130.0030.00313.54
8.0.120.0030.00516.93
8.0.110.0050.00217.09
8.0.100.0040.00417.02
8.0.90.0080.00016.83
8.0.80.0060.01617.01
8.0.70.0040.00417.14
8.0.60.0040.00417.04
8.0.50.0000.00717.12
8.0.30.0090.01417.07
8.0.20.0120.00817.40
8.0.10.0000.00817.04
8.0.00.0110.00716.84
7.4.330.0060.00015.15
7.4.320.0000.00616.72
7.4.300.0000.00616.61
7.4.290.0070.00016.50
7.4.280.0070.00016.74
7.4.270.0000.00716.62
7.4.260.0000.00716.51
7.4.250.0070.00016.58
7.4.240.0020.00516.71
7.4.230.0040.00416.53
7.4.220.0130.01016.77
7.4.210.0070.00716.59
7.4.200.0000.00716.64
7.4.190.0040.00416.89
7.4.160.0030.01216.52
7.4.150.0140.00917.40
7.4.140.0050.01517.86
7.4.130.0080.00816.60
7.4.120.0120.00516.67
7.4.110.0070.01616.49
7.4.100.0110.00716.61
7.4.90.0150.00316.60
7.4.80.0080.00819.39
7.4.70.0110.01116.63
7.4.60.0140.00416.71
7.4.50.0000.00916.72
7.4.40.0070.01016.49
7.4.30.0060.01816.75
7.4.10.0030.01114.92
7.4.00.0070.00814.81
7.3.330.0030.00313.24
7.3.320.0000.00613.16
7.3.310.0000.00716.40
7.3.300.0040.00416.20
7.3.290.0090.00616.32
7.3.280.0090.01016.31
7.3.270.0090.00917.40
7.3.260.0120.01316.59
7.3.250.0080.01116.47
7.3.240.0130.00316.58
7.3.230.0130.00616.39
7.3.210.0030.01316.70
7.3.200.0110.01119.39
7.3.190.0100.00716.52
7.3.180.0140.00216.32
7.3.170.0090.00616.41
7.3.160.0130.00316.39
7.3.130.0030.01414.93
7.3.120.0030.01114.90
7.3.110.0070.01014.72
7.3.100.0110.00314.82
7.3.90.0050.00514.79
7.3.80.0090.00314.59
7.3.70.0100.00314.71
7.3.60.0100.00314.79
7.3.50.0030.00614.64
7.3.40.0050.00314.84
7.3.30.0140.00014.81
7.3.20.0090.00316.53
7.3.10.0040.00416.61
7.3.00.0000.01316.62
7.2.330.0150.00316.58
7.2.320.0130.00316.76
7.2.310.0130.00316.69
7.2.300.0090.00616.82
7.2.290.0130.00316.50
7.2.260.0060.00914.90
7.2.250.0080.00414.86
7.2.240.0070.00715.13
7.2.230.0110.00714.94
7.2.220.0030.01015.18
7.2.210.0040.01114.93
7.2.200.0110.00015.01
7.2.190.0070.00714.64
7.2.180.0090.00615.12
7.2.170.0060.00615.01
7.2.160.0000.01214.99
7.2.150.0040.00816.71
7.2.140.0110.00416.98
7.2.130.0070.00716.91
7.2.120.0090.00616.68
7.2.110.0000.01216.74
7.2.100.0000.01416.71
7.2.90.0110.00716.92
7.2.80.0070.01116.89
7.2.70.0110.00416.82
7.2.60.0000.00917.00
7.2.50.0030.01316.97
7.2.40.0070.00717.24
7.2.30.0080.00416.89
7.2.20.0030.01516.80
7.2.10.0070.00716.79
7.2.00.0070.00618.09
7.1.330.0100.00315.40
7.1.320.0070.01115.95
7.1.310.0030.00815.70
7.1.300.0000.01215.64
7.1.290.0030.00515.71
7.1.280.0070.00715.74
7.1.270.0040.00415.79
7.1.260.0090.00315.77
7.1.250.0110.00415.69
7.1.240.0030.00615.55
7.1.230.0070.00415.77
7.1.220.0090.00015.45
7.1.210.0040.00815.77
7.1.200.0030.01115.73
7.1.190.0040.00715.41
7.1.180.0040.01115.42
7.1.170.0070.01015.66
7.1.160.0030.00615.70
7.1.150.0120.00315.65
7.1.140.0030.00915.74
7.1.130.0040.00415.71
7.1.120.0060.01015.68
7.1.110.0040.00715.82
7.1.100.0040.01116.94
7.1.90.0070.00715.62
7.1.80.0070.00715.74
7.1.70.0040.00616.50
7.1.60.0090.01117.59
7.1.50.0030.01216.34
7.1.40.0030.01015.69
7.1.30.0030.01015.83
7.1.20.0030.01015.69
7.1.10.0030.01315.64
7.1.00.0050.04219.09
7.0.330.0040.01115.33
7.0.320.0030.01215.37
7.0.310.0030.00715.36
7.0.300.0040.00415.56
7.0.290.0060.00315.25
7.0.280.0080.00815.30
7.0.270.0090.00315.41
7.0.260.0030.00715.24
7.0.250.0000.00815.07
7.0.240.0030.00615.41
7.0.230.0040.00715.48
7.0.220.0080.00315.54
7.0.210.0040.00415.71
7.0.200.0060.00516.07
7.0.190.0040.00415.27
7.0.180.0000.00815.29
7.0.170.0060.00315.44
7.0.160.0100.00315.55
7.0.150.0030.00615.36
7.0.140.0020.04318.78
7.0.130.0090.00315.38
7.0.120.0040.00915.66
7.0.110.0300.04217.74
7.0.100.0330.04017.79
7.0.90.0310.04117.70
7.0.80.0340.03917.69
7.0.70.0300.04417.69
7.0.60.0280.04017.75
7.0.50.0280.04518.03
7.0.40.0130.03816.83
7.0.30.0080.04017.05
7.0.20.0050.04216.92
7.0.10.0020.04616.71
7.0.00.0090.02916.78
5.6.400.0000.01314.55
5.6.390.0070.00714.19
5.6.380.0030.00614.53
5.6.370.0100.00314.50
5.6.360.0110.00414.53
5.6.350.0100.00614.46
5.6.340.0090.00914.80
5.6.330.0030.00614.27
5.6.320.0060.00614.32
5.6.310.0000.01314.45
5.6.300.0070.00714.25
5.6.290.0100.00314.50
5.6.280.0060.03817.94
5.6.270.0030.01014.19
5.6.260.0110.04217.56
5.6.250.0030.04517.37
5.6.240.0080.03717.51
5.6.230.0100.02517.59
5.6.220.0100.03717.62
5.6.210.0030.04717.72
5.6.200.0080.03017.79
5.6.190.0080.04217.77
5.6.180.0050.04417.69
5.6.170.0130.04217.73
5.6.160.0150.03517.79
5.6.150.0060.04517.67
5.6.140.0060.03517.68
5.6.130.0110.04217.85
5.6.120.0120.03817.79
5.6.110.0070.04217.98
5.6.100.0080.04017.67
5.6.90.0050.03217.79
5.6.80.0030.04617.35
5.6.70.0060.04317.51
5.6.60.0050.04017.40
5.6.50.0090.03817.39
5.6.40.0070.04417.47
5.6.30.0050.04317.46
5.6.20.0030.04917.53
5.6.10.0070.04317.49
5.6.00.0070.04517.46
5.5.380.0100.04017.39
5.5.370.0030.04717.38
5.5.360.0050.03517.47
5.5.350.0070.04317.32
5.5.340.0060.04117.48
5.5.330.0080.04217.67
5.5.320.0030.04917.66
5.5.310.0070.02817.60
5.5.300.0060.04717.78
5.5.290.0100.04117.80
5.5.280.0050.04517.60
5.5.270.0080.02317.58
5.5.260.0100.04517.60
5.5.250.0060.04617.68
5.5.240.0030.03617.34
5.5.230.0080.03817.28
5.5.220.0050.04217.21
5.5.210.0050.04717.39
5.5.200.0070.03417.10
5.5.190.0070.03717.19
5.5.180.0050.04517.08
5.5.170.0080.00414.39
5.5.160.0080.04217.09
5.5.150.0030.04517.30
5.5.140.0050.04717.29
5.5.130.0050.03117.40
5.5.120.0130.03817.38
5.5.110.0080.04417.23
5.5.100.0080.04617.22
5.5.90.0070.03317.30
5.5.80.0050.03917.44
5.5.70.0020.04617.09
5.5.60.0070.04117.01
5.5.50.0040.04417.30
5.5.40.0100.04417.29
5.5.30.0090.03717.34
5.5.20.0120.02717.20
5.5.10.0050.04017.15
5.5.00.0050.04317.04
5.4.450.0070.04215.28
5.4.440.0050.04815.14
5.4.430.0040.03115.38
5.4.420.0120.03715.23
5.4.410.0080.03815.38
5.4.400.0120.03915.01
5.4.390.0050.03915.11
5.4.380.0050.04215.04
5.4.370.0050.04415.11
5.4.360.0050.04315.17
5.4.350.0070.02515.01
5.4.340.0090.03414.98
5.4.330.0030.00710.92
5.4.320.0020.03515.16
5.4.310.0070.04015.11
5.4.300.0070.03815.10
5.4.290.0060.03815.09
5.4.280.0060.03614.95
5.4.270.0020.04414.88
5.4.260.0080.03515.09
5.4.250.0070.04414.96
5.4.240.0070.03515.00
5.4.230.0030.04014.92
5.4.220.0070.04015.18
5.4.210.0050.04515.03
5.4.200.0050.04314.89
5.4.190.0000.04714.98
5.4.180.0050.03815.03
5.4.170.0070.04314.88
5.4.160.0100.03614.90
5.4.150.0020.04415.04
5.4.140.0030.04313.56
5.4.130.0030.03513.60
5.4.120.0050.02513.86
5.4.110.0100.02413.53
5.4.100.0070.03813.67
5.4.90.0040.04113.64
5.4.80.0150.03013.62
5.4.70.0070.03713.88
5.4.60.0050.03813.69
5.4.50.0060.02913.71
5.4.40.0050.04313.77
5.4.30.0070.02213.81
5.4.20.0070.03813.61
5.4.10.0040.03913.64
5.4.00.0050.03813.58
5.3.290.0120.03512.74
5.3.280.0050.03712.58
5.3.270.0080.04012.57
5.3.260.0080.03612.61
5.3.250.0050.03812.60
5.3.240.0080.03812.54
5.3.230.0030.04012.56
5.3.220.0040.02512.57
5.3.210.0000.04812.61
5.3.200.0080.03812.56
5.3.190.0070.04012.56
5.3.180.0080.03612.54
5.3.170.0050.04012.54
5.3.160.0050.04212.56
5.3.150.0050.04012.62
5.3.140.0040.04412.60
5.3.130.0100.03812.53
5.3.120.0060.03512.56
5.3.110.0100.03812.55
5.3.100.0070.03412.39
5.3.90.0080.03712.38
5.3.80.0080.04012.32
5.3.70.0080.03712.27
5.3.60.0050.02112.33
5.3.50.0060.03612.25
5.3.40.0080.03712.34
5.3.30.0050.03812.27
5.3.20.0070.03812.14
5.3.10.0060.03412.15
5.3.00.0030.03212.13
5.2.170.0070.06011.90
5.2.160.0000.04311.90
5.2.150.0000.06011.90
5.2.140.0100.06011.90
5.2.130.0070.05711.90
5.2.120.0000.03011.90
5.2.110.0000.06711.90
5.2.100.0070.02011.90
5.2.90.0000.03011.90
5.2.80.0030.03311.90
5.2.70.0000.03011.90
5.2.60.0070.04011.90
5.2.50.0000.03011.90
5.2.40.0030.04311.90
5.2.30.0030.02711.90
5.2.20.0030.04311.90
5.2.10.0030.03011.90
5.2.00.0070.02311.90
5.1.60.0030.02311.90
5.1.50.0000.02711.90
5.1.40.0030.02311.90
5.1.30.0000.02711.90
5.1.20.0000.02711.90
5.1.10.0000.04011.90
5.1.00.0030.05711.90
5.0.50.0070.02711.90
5.0.40.0030.02011.90
5.0.30.0000.03011.90
5.0.20.0000.02311.90
5.0.10.0030.01711.90
5.0.00.0000.03311.90
4.4.90.0030.01311.90
4.4.80.0000.01711.90
4.4.70.0030.01311.90
4.4.60.0000.01711.90
4.4.50.0030.01311.90
4.4.40.0000.02311.90
4.4.30.0030.01311.90
4.4.20.0030.01311.90
4.4.10.0000.01711.90
4.4.00.0030.02311.90
4.3.110.0030.01011.90
4.3.100.0030.02311.90
4.3.90.0000.02711.90
4.3.80.0000.02311.90
4.3.70.0030.03011.90
4.3.60.0030.01711.90
4.3.50.0000.02311.90
4.3.40.0030.04711.90
4.3.30.0000.01311.90
4.3.20.0000.03711.90
4.3.10.0000.04011.90
4.3.00.0000.03711.90

preferences:
61.28 ms | 400 KiB | 5 Q