3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlBuilder = new \SimpleXMLElement('<response></response>'); $xmlBuilder->addChild('result', '5'); $xmlBuilder->addChild('comment', $e->getMessage()); echo $xmlBuilder->asXML();

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.0040.01419.10
8.3.30.0080.00619.16
8.3.20.0000.00820.50
8.3.10.0080.00022.11
8.3.00.0080.00017.48
8.2.170.0170.00022.96
8.2.160.0100.00320.55
8.2.150.0000.00824.18
8.2.140.0070.00724.66
8.2.130.0080.00026.16
8.2.120.0070.00721.21
8.2.110.0070.00319.39
8.2.100.0130.00317.78
8.2.90.0040.00419.04
8.2.80.0040.00417.97
8.2.70.0050.00317.88
8.2.60.0080.00017.93
8.2.50.0060.00318.10
8.2.40.0000.00818.22
8.2.30.0040.00418.25
8.2.20.0040.00417.79
8.2.10.0070.00018.26
8.2.00.0040.00417.87
8.1.270.0030.00624.09
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0130.01022.49
8.1.230.0090.00317.95
8.1.220.0040.00417.88
8.1.210.0040.00418.77
8.1.200.0080.00317.48
8.1.190.0030.00617.48
8.1.180.0040.00418.10
8.1.170.0060.00318.77
8.1.160.0040.00422.04
8.1.150.0000.00818.98
8.1.140.0070.00017.45
8.1.130.0030.00318.02
8.1.120.0000.00717.62
8.1.110.0040.00417.62
8.1.100.0050.00317.60
8.1.90.0070.00017.58
8.1.80.0050.00217.57
8.1.70.0030.00317.47
8.1.60.0040.00417.75
8.1.50.0000.00817.61
8.1.40.0040.00417.65
8.1.30.0050.00317.84
8.1.20.0000.00817.76
8.1.10.0040.00417.76
8.1.00.0040.00417.59
8.0.300.0000.00718.77
8.0.290.0000.00716.88
8.0.280.0000.00818.60
8.0.270.0070.00017.46
8.0.260.0040.00417.40
8.0.250.0000.00717.11
8.0.240.0000.00717.02
8.0.230.0000.00717.03
8.0.220.0000.00717.00
8.0.210.0030.00317.14
8.0.200.0030.00317.15
8.0.190.0050.00217.16
8.0.180.0000.00717.13
8.0.170.0030.00617.04
8.0.160.0030.00417.02
8.0.150.0040.00416.98
8.0.140.0030.00617.00
8.0.130.0000.00713.38
8.0.120.0040.00417.06
8.0.110.0040.00417.05
8.0.100.0050.00317.09
8.0.90.0030.00517.10
8.0.80.0090.00617.05
8.0.70.0040.00417.12
8.0.60.0050.00217.10
8.0.50.0040.00417.02
8.0.30.0020.01917.22
8.0.20.0100.01317.40
8.0.10.0080.00017.26
8.0.00.0090.01016.73
7.4.330.0040.00415.00
7.4.320.0000.00616.73
7.4.300.0000.00616.71
7.4.290.0030.00516.64
7.4.280.0000.00716.80
7.4.270.0000.00716.73
7.4.260.0000.01016.68
7.4.250.0070.00016.80
7.4.240.0030.00516.79
7.4.230.0050.00316.78
7.4.220.0060.01216.79
7.4.210.0060.01116.69
7.4.200.0030.00316.75
7.4.160.0160.00016.57
7.4.150.0130.01317.40
7.4.140.0100.00717.86
7.4.130.0070.01116.77
7.4.120.0090.00916.69
7.4.110.0070.01316.68
7.4.100.0110.00816.66
7.4.90.0040.01316.70
7.4.80.0060.01419.39
7.4.70.0100.01316.68
7.4.60.0030.01316.79
7.4.50.0000.00516.71
7.4.40.0090.00916.70
7.4.30.0080.01216.66
7.4.00.0080.00015.18
7.3.330.0030.00313.40
7.3.320.0020.00213.39
7.3.310.0070.00016.52
7.3.300.0050.00216.47
7.3.290.0000.01316.53
7.3.280.0100.00616.44
7.3.270.0120.00917.40
7.3.260.0100.00716.41
7.3.250.0120.00916.61
7.3.240.0060.01016.72
7.3.230.0090.00916.43
7.3.210.0100.00716.39
7.3.200.0070.01119.39
7.3.190.0090.00916.44
7.3.180.0080.00816.62
7.3.170.0030.01216.67
7.3.160.0120.00316.77
7.3.10.0040.00716.88
7.3.00.0080.00316.47
7.2.330.0140.00316.77
7.2.320.0130.00616.82
7.2.310.0100.00916.73
7.2.300.0090.00916.52
7.2.290.0100.00716.84
7.2.130.0060.00616.93
7.2.120.0140.00016.95
7.2.110.0040.00516.85
7.2.100.0000.01516.81
7.2.90.0070.00716.92
7.2.80.0040.01216.91
7.2.70.0030.00916.92
7.2.60.0030.01316.92
7.2.50.0060.00817.05
7.2.40.0060.00317.23
7.2.30.0040.00817.05
7.2.20.0060.00616.88
7.2.10.0090.00316.65
7.2.00.0080.00618.20
7.1.250.0040.00415.82
7.1.200.0070.00715.70
7.1.100.0030.00617.91
7.1.70.0030.01316.87
7.1.60.0110.01519.40
7.1.50.0000.01616.97
7.1.00.0030.07722.41
7.0.200.0000.00716.57
7.0.140.0000.07722.15
7.0.110.0100.08321.77
7.0.100.0070.07321.83
7.0.90.0000.08721.80
7.0.80.0030.07321.84
7.0.70.0030.08021.67
7.0.60.0070.04321.84
7.0.50.0000.08322.31
7.0.40.0030.08020.21
7.0.30.0000.08320.05
7.0.20.0030.07320.24
7.0.10.0000.08719.94
7.0.00.0030.06720.25
5.6.280.0070.07021.17
5.6.260.0030.08020.70
5.6.250.0030.07720.67
5.6.240.0170.07320.84
5.6.230.0000.09020.65
5.6.220.0030.05020.67
5.6.210.0030.07720.79
5.6.200.0100.07021.26
5.6.190.0100.07721.18
5.6.180.0130.04321.13
5.6.170.0130.07021.34
5.6.160.0100.07020.94
5.6.150.0070.08021.33
5.6.140.0030.07720.95
5.6.130.0030.08320.98
5.6.120.0100.08021.06
5.6.110.0070.08321.06
5.6.100.0070.08021.30
5.6.90.0000.08721.13
5.6.80.0100.07020.72
5.6.70.0030.07720.71
5.6.60.0030.07720.50
5.6.50.0000.06020.70
5.6.40.0000.07320.61
5.6.30.0030.07020.38
5.6.20.0070.07720.29
5.6.10.0100.07320.49
5.6.00.0000.08320.36
5.5.380.0070.08320.35
5.5.370.0070.07320.41
5.5.360.0070.07320.52
5.5.350.0070.08020.52
5.5.340.0030.06720.80
5.5.330.0030.05020.86
5.5.320.0000.08720.90
5.5.310.0000.08720.98
5.5.300.0030.07320.77
5.5.290.0070.07321.08
5.5.280.0030.08020.94
5.5.270.0000.08320.74
5.5.260.0000.09020.93
5.5.250.0100.06720.75
5.5.240.0100.03720.36
5.5.230.0070.07720.46
5.5.220.0070.07720.27
5.5.210.0070.07020.32
5.5.200.0000.07720.15
5.5.190.0000.08720.32
5.5.180.0070.04720.43
5.5.160.0070.07020.25
5.5.150.0000.04720.32
5.5.140.0030.07720.41
5.5.130.0000.08020.32
5.5.120.0030.08320.07
5.5.110.0000.07020.29
5.5.100.0070.07720.19
5.5.90.0000.07720.06
5.5.80.0000.08020.16
5.5.70.0070.07019.96
5.5.60.0030.07320.02
5.5.50.0030.07320.13
5.5.40.0070.08020.05
5.5.30.0130.07020.29
5.5.20.0030.07320.17
5.5.10.0030.08020.13
5.5.00.0030.07720.20
5.4.450.0030.05019.52
5.4.440.0000.08019.54
5.4.430.0070.07019.41
5.4.420.0030.06719.49
5.4.410.0100.04019.41
5.4.400.0000.08019.38
5.4.390.0070.07019.30
5.4.380.0000.07019.09
5.4.370.0100.06719.33
5.4.360.0070.04019.35
5.4.350.0030.06719.19
5.4.340.0000.08019.02
5.4.320.0030.07719.10
5.4.310.0070.06319.18
5.4.300.0030.07019.08
5.4.290.0000.04319.08
5.4.280.0070.06319.34
5.4.270.0000.07719.07
5.4.260.0070.07319.14
5.4.250.0030.07019.06
5.4.240.0000.08019.09
5.4.230.0070.07019.09
5.4.220.0030.04319.16
5.4.210.0070.06019.31
5.4.200.0000.08319.14
5.4.190.0070.04019.06
5.4.180.0100.03719.09
5.4.170.0100.06719.09
5.4.160.0070.07319.12
5.4.150.0000.07719.03
5.4.140.0000.07716.23
5.4.130.0030.06716.35
5.4.120.0000.04016.29
5.4.110.0000.07016.69
5.4.100.0030.07316.67
5.4.90.0070.07316.73
5.4.80.0000.07016.34
5.4.70.0030.06716.63
5.4.60.0130.04316.62
5.4.50.0030.03316.60
5.4.40.0030.05016.62
5.4.30.0000.06716.59
5.4.20.0030.06016.32
5.4.10.0100.05016.16
5.4.00.0030.06715.62
5.3.290.0070.07014.59
5.3.280.0030.07314.52
5.3.270.0030.07314.70
5.3.260.0070.06714.53
5.3.250.0030.07714.65
5.3.240.0070.07014.73
5.3.230.0070.07014.52
5.3.220.0070.03714.54
5.3.210.0030.07314.57
5.3.200.0100.04014.59
5.3.190.0030.04314.54
5.3.180.0070.06714.73
5.3.170.0030.04714.73
5.3.160.0000.08014.65
5.3.150.0070.04314.65
5.3.140.0070.07314.51
5.3.130.0030.04314.59
5.3.120.0030.07314.68
5.3.110.0030.04314.52
5.3.100.0030.06014.06
5.3.90.0000.05014.06
5.3.80.0000.04013.98
5.3.70.0100.06014.18
5.3.60.0000.06314.14
5.3.50.0000.07313.91
5.3.40.0000.06313.88
5.3.30.0070.06713.86
5.3.20.0030.03013.77
5.3.10.0030.03313.80
5.3.00.0030.04013.73
5.2.170.0030.06313.43
5.2.160.0100.05313.43
5.2.150.0100.05313.43
5.2.140.0070.05713.43
5.2.130.0030.04713.43
5.2.120.0000.04013.43
5.2.110.0030.04313.43
5.2.100.0030.06013.43
5.2.90.0030.06013.43
5.2.80.0030.06313.43
5.2.70.0070.04013.43
5.2.60.0000.05713.43
5.2.50.0100.05013.43
5.2.40.0000.04313.43
5.2.30.0030.06013.43
5.2.20.0030.05713.43
5.2.10.0030.05013.43
5.2.00.0000.05713.43
5.1.60.0000.05313.43
5.1.50.0030.05013.43
5.1.40.0070.04013.43
5.1.30.0070.05013.43
5.1.20.0030.05313.43
5.1.10.0070.02313.43
5.1.00.0030.04013.43
5.0.50.0030.04313.43
5.0.40.0030.04313.43
5.0.30.0000.06713.43
5.0.20.0000.04313.43
5.0.10.0030.04013.43
5.0.00.0030.05313.43
4.4.90.0000.03313.43
4.4.80.0030.03313.43
4.4.70.0000.02313.43
4.4.60.0000.03713.43
4.4.50.0070.03013.43
4.4.40.0030.02713.43
4.4.30.0070.01713.43
4.4.20.0000.03713.43
4.4.10.0000.03013.43
4.4.00.0000.05013.43
4.3.110.0000.03713.43
4.3.100.0000.03313.43
4.3.90.0000.02713.43
4.3.80.0030.05013.43
4.3.70.0000.03313.43
4.3.60.0000.03313.43
4.3.50.0030.03313.43
4.3.40.0000.03313.43
4.3.30.0000.03713.43
4.3.20.0070.03013.43
4.3.10.0000.03313.43
4.3.00.0000.03713.43

preferences:
44.12 ms | 400 KiB | 5 Q