3v4l.org

run code in 300+ PHP versions simultaneously
<?php $writer = new SimpleXMLElement('<?xml version="1.0"?><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>'); 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.70.0150.00616.63
8.3.60.0090.00616.63
8.3.50.0140.00521.95
8.3.40.0150.00418.83
8.3.30.0070.00719.26
8.3.20.0040.00420.59
8.3.10.0080.00023.79
8.3.00.0050.00321.14
8.2.180.0070.01116.75
8.2.170.0110.00422.96
8.2.160.0110.00320.61
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00821.15
8.2.110.0060.00322.16
8.2.100.0070.00318.03
8.2.90.0070.00019.42
8.2.80.0080.00017.97
8.2.70.0040.00417.75
8.2.60.0040.00418.18
8.2.50.0030.00518.07
8.2.40.0060.00321.07
8.2.30.0070.00018.34
8.2.20.0000.00817.72
8.2.10.0040.00418.26
8.2.00.0000.00717.88
8.1.280.0140.00725.92
8.1.270.0030.00523.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00023.97
8.1.230.0110.00019.23
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0060.00617.35
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0050.00318.43
8.1.160.0000.00722.15
8.1.150.0000.00718.77
8.1.140.0040.00417.59
8.1.130.0030.00318.02
8.1.120.0040.00417.55
8.1.110.0070.00017.55
8.1.100.0080.00017.54
8.1.90.0030.00317.51
8.1.80.0040.00417.51
8.1.70.0000.00817.59
8.1.60.0000.00917.75
8.1.50.0030.00617.57
8.1.40.0000.00717.73
8.1.30.0040.00417.74
8.1.20.0000.00717.78
8.1.10.0000.00717.80
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0070.00017.29
8.0.280.0000.00718.66
8.0.270.0000.00717.43
8.0.260.0020.00517.49
8.0.250.0000.00717.07
8.0.240.0000.00717.18
8.0.230.0070.00017.10
8.0.220.0000.00716.89
8.0.210.0040.00416.90
8.0.200.0050.00217.02
8.0.190.0050.00216.89
8.0.180.0050.00216.96
8.0.170.0050.00217.02
8.0.160.0040.00417.03
8.0.150.0040.00416.86
8.0.140.0080.00016.93
8.0.130.0030.00313.44
8.0.120.0070.00016.95
8.0.110.0080.00017.07
8.0.100.0070.00016.76
8.0.90.0070.00016.81
8.0.80.0060.00917.06
8.0.70.0040.00416.83
8.0.60.0000.00716.97
8.0.50.0000.00717.04
8.0.30.0080.01017.13
8.0.20.0120.00917.40
8.0.10.0000.00717.00
8.0.00.0120.00617.02
7.4.330.0030.00315.15
7.4.320.0060.00016.64
7.4.300.0040.00416.70
7.4.290.0070.00016.67
7.4.280.0050.00616.59
7.4.270.0000.00716.61
7.4.260.0100.00016.70
7.4.250.0050.00316.68
7.4.240.0030.00516.65
7.4.230.0030.00316.58
7.4.220.0130.00316.54
7.4.210.0070.00716.68
7.4.200.0070.00016.61
7.4.190.0020.00516.79
7.4.160.0090.00616.49
7.4.150.0150.00317.40
7.4.140.0070.01017.86
7.4.130.0110.01016.64
7.4.120.0170.00316.57
7.4.110.0070.01116.52
7.4.100.0090.01516.75
7.4.90.0080.00916.85
7.4.80.0150.00919.39
7.4.70.0070.01016.67
7.4.60.0060.01016.80
7.4.50.0030.00316.40
7.4.40.0160.00316.49
7.4.30.0040.01116.57
7.4.00.0030.01314.75
7.3.330.0070.00013.21
7.3.320.0030.00313.23
7.3.310.0020.00516.24
7.3.300.0000.00716.37
7.3.290.0100.00716.32
7.3.280.0090.00616.39
7.3.270.0060.01317.40
7.3.260.0090.00916.72
7.3.250.0110.00716.37
7.3.240.0040.01616.38
7.3.230.0070.01016.47
7.3.210.0090.00916.46
7.3.200.0120.00319.39
7.3.190.0080.00816.68
7.3.180.0090.00616.24
7.3.170.0110.00416.75
7.3.160.0120.00316.67
7.3.120.0000.01314.75
7.2.330.0100.00716.59
7.2.320.0090.00916.39
7.2.310.0130.00416.60
7.2.300.0100.00616.79
7.2.290.0140.00316.80
7.2.80.0000.01316.56
7.2.60.0110.00316.86
7.2.00.0070.01419.38
7.1.200.0000.01215.77
7.1.100.0000.01017.83
7.1.70.0000.00917.22
7.1.60.0180.00719.46
7.1.50.0120.00916.89
7.1.00.0100.07022.64
7.0.200.0060.00616.48
7.0.140.0030.07322.22
7.0.60.0030.06020.15
7.0.50.0070.08017.86
7.0.40.0130.07320.44
7.0.30.0230.04020.25
7.0.20.0270.08020.37
7.0.10.0070.08020.30
7.0.00.0170.08020.37
5.6.280.0070.07320.87
5.6.210.0100.08320.70
5.6.200.0170.07718.26
5.6.190.0070.05020.80
5.6.180.0230.07720.56
5.6.170.0230.03320.46
5.6.160.0070.08320.51
5.6.150.0070.06018.17
5.6.140.0070.06018.28
5.6.130.0030.04018.31
5.6.120.0070.04021.17
5.6.110.0000.08321.18
5.6.100.0100.08021.12
5.6.90.0100.06021.01
5.6.80.0170.07020.51
5.5.350.0030.07720.39
5.5.340.0070.04718.04
5.5.330.0100.04720.36
5.5.320.0230.07320.32
5.5.310.0170.04020.47
5.5.300.0030.08718.11
5.5.290.0100.05718.09
5.5.280.0070.07320.75
5.5.270.0070.05020.75
5.5.260.0070.04320.96
5.5.250.0070.04020.61
5.5.240.0070.07320.11
5.4.450.0370.05019.71
5.4.440.0670.04719.71
5.4.430.0030.07019.58
5.4.420.1070.04719.55
5.4.410.1230.06319.32
5.4.400.0970.06019.22
5.4.390.0970.05319.29
5.4.380.0230.05718.82
5.4.370.0400.06718.53
5.4.360.0300.06318.73
5.4.350.0270.06018.74
5.4.340.0300.05318.66
5.4.320.0120.03212.59
5.4.310.0050.04112.58
5.4.300.0070.03612.59
5.4.290.0040.03912.59
5.4.280.0080.03312.48
5.4.270.0040.03812.49
5.4.260.0040.03812.48
5.4.250.0040.03912.48
5.4.240.0050.03712.48
5.4.230.0050.04112.48
5.4.220.0050.03712.48
5.4.210.0070.03812.48
5.4.200.0090.04912.48
5.4.190.0080.03912.47
5.4.180.0020.05412.47
5.4.170.0070.04712.48
5.4.160.0050.04312.48
5.4.150.0050.03812.48
5.4.140.0030.04012.16
5.4.130.0050.03612.15
5.4.120.0030.03712.10
5.4.110.0050.03612.10
5.4.100.0060.03412.10
5.4.90.0040.03812.10
5.4.80.0050.03812.10
5.4.70.0060.03412.10
5.4.60.0060.03412.10
5.4.50.0050.03612.09
5.4.40.0020.03912.08
5.4.30.0070.03412.08
5.4.20.0050.03512.08
5.4.10.0060.03412.08
5.4.00.0050.03611.57
5.3.290.0080.03812.86
5.3.280.0060.03812.79
5.3.270.0040.04112.80
5.3.260.0040.04112.79
5.3.250.0030.04012.79
5.3.240.0130.03712.79
5.3.230.0040.03912.78
5.3.220.0040.03912.75
5.3.210.0060.03912.75
5.3.200.0060.03612.75
5.3.190.0090.03412.75
5.3.180.0070.03512.75
5.3.170.0060.03912.75
5.3.160.0040.03812.75
5.3.150.0090.03412.75
5.3.140.0050.03912.74
5.3.130.0080.03612.73
5.3.120.0080.03912.73
5.3.110.0060.04012.73
5.3.100.0030.03912.22
5.3.90.0070.03512.21
5.3.80.0020.03912.20
5.3.70.0080.03312.20
5.3.60.0030.04012.18
5.3.50.0060.03512.13
5.3.40.0030.04012.14
5.3.30.0070.03412.10
5.3.20.0050.03811.88
5.3.10.0060.03711.84
5.3.00.0080.03411.82
5.2.170.0060.0299.33
5.2.160.0020.0339.33
5.2.150.0040.0309.33
5.2.140.0060.0309.33
5.2.130.0030.0319.29
5.2.120.0040.0309.28
5.2.110.0020.0329.29
5.2.100.0060.0279.28
5.2.90.0030.0309.29
5.2.80.0070.0299.28
5.2.70.0030.0349.28
5.2.60.0040.0329.24
5.2.50.0060.0379.21
5.2.40.0060.0279.19
5.2.30.0040.0469.15
5.2.20.0030.0449.14
5.2.10.0050.0439.07
5.2.00.0060.0418.92
5.1.60.0050.0358.21
5.1.50.0010.0378.21
5.1.40.0070.0238.19
5.1.30.0050.0258.54
5.1.20.0030.0288.55
5.1.10.0040.0268.28
5.1.00.0020.0278.28
5.0.50.0020.0226.76
5.0.40.0060.0206.62
5.0.30.0040.0306.43
5.0.20.0020.0216.41
5.0.10.0030.0216.39
5.0.00.0030.0416.38
4.4.90.0070.0324.78
4.4.80.0040.0214.75
4.4.70.0040.0164.75
4.4.60.0030.0144.76
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0030.0154.76
4.4.20.0040.0144.85
4.4.10.0050.0134.85
4.4.00.0040.0234.76
4.3.110.0020.0164.67
4.3.100.0030.0154.67
4.3.90.0030.0144.63
4.3.80.0020.0254.59
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0000.0184.63
4.3.40.0030.0244.53
4.3.30.0030.0173.28
4.3.20.0020.0163.25
4.3.10.0010.0173.22
4.3.00.0000.0277.36

preferences:
65.68 ms | 401 KiB | 5 Q