3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dom = new DOMDocument(); $rss = $dom->appendChild($dom->createElement('RSS')); $rss->setAttributeNS( 'http://www.w3.org/2000/xmlns/', 'xmlns', 'http://www.w3.org/2005/Atom' ); echo $dom->saveXml();

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.0130.00616.63
8.3.60.0040.01118.11
8.3.50.0190.01022.11
8.3.40.0110.00718.74
8.3.30.0130.00619.33
8.3.20.0040.00420.41
8.3.10.0040.00422.04
8.3.00.0080.00017.93
8.2.180.0160.00616.88
8.2.170.0110.00422.96
8.2.160.0130.00020.60
8.2.150.0080.00024.18
8.2.140.0060.00924.66
8.2.130.0040.00426.16
8.2.120.0040.00420.98
8.2.110.0030.00620.47
8.2.100.0120.00018.04
8.2.90.0040.00418.34
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00918.05
8.2.50.0070.00718.07
8.2.40.0040.00418.28
8.2.30.0080.00318.31
8.2.20.0000.00817.86
8.2.10.0040.00418.19
8.2.00.0040.00417.80
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0130.00722.18
8.1.230.0060.00621.07
8.1.220.0000.00817.78
8.1.210.0060.00319.09
8.1.200.0090.00017.25
8.1.190.0040.00417.35
8.1.180.0070.00018.10
8.1.170.0030.00518.71
8.1.160.0030.00522.19
8.1.150.0040.00418.85
8.1.140.0040.00417.57
8.1.130.0000.00818.04
8.1.120.0070.00017.51
8.1.110.0000.00717.50
8.1.100.0030.00317.55
8.1.90.0030.00317.51
8.1.80.0000.00717.62
8.1.70.0000.00717.48
8.1.60.0080.00017.64
8.1.50.0000.00817.52
8.1.40.0040.00417.66
8.1.30.0050.00317.67
8.1.20.0000.00817.68
8.1.10.0050.00317.68
8.1.00.0030.00517.64
8.0.300.0000.00720.20
8.0.290.0040.00417.00
8.0.280.0000.00718.62
8.0.270.0000.00717.43
8.0.260.0000.00717.29
8.0.250.0000.00617.03
8.0.240.0030.00317.01
8.0.230.0030.00316.94
8.0.220.0060.00016.96
8.0.210.0000.00616.97
8.0.200.0030.00317.02
8.0.190.0040.00417.09
8.0.180.0050.00517.07
8.0.170.0040.00417.04
8.0.160.0070.00017.02
8.0.150.0050.00217.02
8.0.140.0040.00417.01
8.0.130.0030.00313.37
8.0.120.0080.00016.95
8.0.110.0030.00616.90
8.0.100.0000.00717.04
8.0.90.0000.00816.85
8.0.80.0040.01116.86
8.0.70.0040.00417.11
8.0.60.0000.00716.99
8.0.50.0040.00417.05
8.0.30.0130.00617.17
8.0.20.0170.00517.42
8.0.10.0030.00517.18
8.0.00.0120.00917.17
7.4.330.0000.00515.09
7.4.320.0000.00616.57
7.4.300.0000.00616.62
7.4.290.0040.00416.66
7.4.280.0060.00316.68
7.4.270.0000.00716.76
7.4.260.0000.00816.53
7.4.250.0070.00016.59
7.4.240.0020.00516.66
7.4.230.0030.00316.79
7.4.220.0060.01216.73
7.4.210.0090.00616.52
7.4.200.0040.00416.42
7.4.160.0090.00616.52
7.4.150.0170.00317.40
7.4.140.0170.00517.86
7.4.130.0100.00716.67
7.4.120.0070.01016.62
7.4.110.0190.00416.40
7.4.100.0200.00016.53
7.4.90.0090.01216.69
7.4.80.0170.00319.39
7.4.70.0100.00616.53
7.4.60.0090.00916.64
7.4.50.0000.00816.28
7.4.40.0100.00716.73
7.4.30.0090.00616.62
7.4.00.0060.00914.98
7.3.330.0060.00013.07
7.3.320.0020.00213.14
7.3.310.0050.00216.28
7.3.300.0040.00416.36
7.3.290.0030.01816.30
7.3.280.0100.00816.28
7.3.270.0120.00817.40
7.3.260.0060.01116.60
7.3.250.0060.01316.38
7.3.240.0170.00016.67
7.3.230.0100.00716.59
7.3.210.0150.00716.50
7.3.200.0030.01319.39
7.3.190.0080.01216.36
7.3.180.0160.00316.54
7.3.170.0090.00916.30
7.3.160.0070.01016.40
7.3.120.0060.01014.76
7.3.110.0080.00914.76
7.3.100.0050.00714.77
7.3.90.0060.00714.65
7.3.80.0070.00614.65
7.3.70.0050.00814.66
7.3.60.0060.00514.82
7.3.50.0030.00914.67
7.3.40.0060.00714.66
7.3.30.0010.01014.72
7.3.20.0070.00516.70
7.3.10.0060.00616.47
7.3.00.0070.01016.42
7.2.330.0130.00416.75
7.2.320.0060.01216.87
7.2.310.0150.00716.54
7.2.300.0120.00616.68
7.2.290.0040.01816.59
7.2.250.0040.01415.13
7.2.240.0100.01014.96
7.2.230.0050.01014.99
7.2.220.0020.01214.84
7.2.210.0090.00615.03
7.2.200.0080.00514.99
7.2.190.0050.00815.03
7.2.180.0050.00615.01
7.2.170.0050.00615.00
7.2.130.0090.01416.88
7.2.120.0100.01016.95
7.2.110.0170.00216.80
7.2.100.0080.01116.89
7.2.90.0120.00816.66
7.2.80.0150.01217.12
7.2.70.0030.01016.65
7.2.60.0060.00616.92
7.2.50.0070.00717.00
7.2.40.0030.00917.00
7.2.30.0030.00916.96
7.2.20.0000.01216.88
7.2.10.0030.01016.82
7.2.00.0180.00016.91
7.1.330.0040.01115.75
7.1.320.0070.00815.60
7.1.310.0060.00815.86
7.1.300.0070.00415.63
7.1.290.0060.00815.73
7.1.280.0060.00715.46
7.1.270.0050.00515.62
7.1.260.0080.00415.78
7.1.250.0130.01115.88
7.1.240.0100.01315.74
7.1.230.0090.00915.54
7.1.220.0110.01115.54
7.1.210.0100.01015.70
7.1.200.0120.00515.73
7.1.190.0000.01115.61
7.1.180.0130.00015.81
7.1.170.0030.00615.62
7.1.160.0060.00615.73
7.1.150.0000.01315.59
7.1.140.0030.00915.84
7.1.130.0040.00715.59
7.1.120.0000.00715.50
7.1.110.0140.00315.79
7.1.100.0040.00815.55
7.1.90.0070.00715.70
7.1.80.0070.00715.71
7.1.70.0080.00516.22
7.1.60.0050.01517.37
7.1.50.0050.00915.97
7.1.40.0100.00315.71
7.1.30.0170.00015.63
7.1.20.0110.00315.61
7.1.10.0070.00715.89
7.1.00.0030.04319.02
7.0.330.0050.01515.39
7.0.320.0170.00715.32
7.0.310.0080.00515.23
7.0.300.0090.00015.35
7.0.290.0030.00715.11
7.0.280.0000.01015.27
7.0.270.0000.00815.38
7.0.260.0040.00715.39
7.0.250.0060.00615.22
7.0.240.0030.00715.30
7.0.230.0030.01015.45
7.0.220.0030.00815.52
7.0.210.0080.00315.44
7.0.200.0030.00615.86
7.0.190.0090.00015.36
7.0.180.0130.00314.93
7.0.170.0080.00315.60
7.0.160.0080.00415.46
7.0.150.0040.00715.35
7.0.140.0000.04418.74
7.0.130.0070.00715.25
7.0.120.0060.00915.41
7.0.110.0030.01115.53
7.0.100.0000.01115.54
7.0.90.0030.00614.97
7.0.80.0090.00314.98
7.0.70.0030.00615.23
7.0.60.0020.02617.59
7.0.50.0080.04316.56
7.0.40.0030.02416.64
7.0.30.0220.04216.73
7.0.20.0150.04716.81
7.0.10.0070.04516.77
7.0.00.0020.02616.62
5.6.380.0100.01014.19
5.6.370.0000.00813.83
5.6.360.0070.00714.36
5.6.350.0060.00614.30
5.6.340.0040.00714.65
5.6.330.0040.00814.58
5.6.320.0070.00714.16
5.6.310.0100.00314.51
5.6.300.0110.00414.56
5.6.290.0030.00614.50
5.6.280.0040.04017.76
5.6.270.0060.00614.38
5.6.260.0100.00314.32
5.6.250.0030.01114.36
5.6.240.0040.01114.37
5.6.230.0090.00614.21
5.6.220.0070.00314.25
5.6.210.0100.04317.37
5.6.200.0040.02616.15
5.6.190.0070.04917.30
5.6.180.0130.03017.54
5.6.170.0200.03217.34
5.6.160.0090.04317.43
5.6.150.0030.04516.24
5.6.140.0070.02016.28
5.6.130.0020.04516.18
5.6.120.0120.04017.56
5.6.110.0050.02517.63
5.6.100.0000.04617.68
5.6.90.0050.02517.65
5.6.80.0090.03417.31
5.6.70.0060.00314.10
5.6.60.0030.00814.21
5.6.50.0070.00414.37
5.6.40.0140.00014.20
5.6.30.0000.01114.57
5.6.20.0030.00514.25
5.6.10.0070.00714.18
5.6.00.0040.00814.12
5.5.380.0040.00411.00
5.5.370.0070.00411.10
5.5.360.0030.00511.27
5.5.350.0100.03815.68
5.5.340.0060.03914.59
5.5.330.0050.03715.65
5.5.320.1510.02015.72
5.5.310.0150.02515.83
5.5.300.0110.01714.59
5.5.290.0030.03014.46
5.5.280.0100.04216.09
5.5.270.0070.04216.04
5.5.260.0050.04615.79
5.5.250.0020.02615.97
5.5.240.0050.04315.72
5.5.230.0000.00711.13
5.5.220.0030.00311.18
5.5.210.0000.00910.97
5.5.200.0060.00010.78
5.5.190.0070.00010.99
5.5.180.0060.00611.13
5.5.170.0000.00610.91
5.5.160.0070.00311.04
5.5.150.0090.00010.82
5.5.140.0030.00910.95
5.5.130.0030.00511.18
5.5.120.0000.00811.21
5.5.110.0050.00310.95
5.5.100.0040.00410.91
5.5.90.0030.00311.11
5.5.80.0040.00810.81
5.5.70.0040.00411.16
5.5.60.0000.01011.00
5.5.50.0030.00611.14
5.5.40.0040.00811.10
5.5.30.0000.00811.01
5.5.20.0000.01010.81
5.5.10.0040.00710.81
5.5.00.0030.00610.95
5.4.450.0040.03515.11
5.4.440.0070.04015.18
5.4.430.0100.02615.40
5.4.420.0090.02715.24
5.4.410.0070.03214.79
5.4.400.0130.02414.76
5.4.390.0080.04314.74
5.4.380.0050.03414.73
5.4.370.0040.02414.79
5.4.360.0060.02314.83
5.4.350.0040.02211.41
5.4.340.0060.02311.52
5.4.330.0030.00710.69
5.4.320.0060.01911.50
5.4.310.0050.02211.71
5.4.300.0060.01911.76
5.4.290.0040.02211.70
5.4.280.0030.02211.73
5.4.270.0050.02111.67
5.4.260.0020.02411.55
5.4.250.0060.02111.52
5.4.240.0020.02411.68
5.4.230.0060.02311.60
5.4.220.0040.02311.71
5.4.210.0070.02011.75
5.4.200.0040.02011.73
5.4.190.0060.02011.70
5.4.180.0030.02211.63
5.4.170.0060.02011.65
5.4.160.0050.02111.69
5.4.150.0080.01811.75
5.4.140.0070.02311.57
5.4.130.0050.02011.41
5.4.120.0050.02411.51
5.4.110.0060.01911.34
5.4.100.0020.02111.47
5.4.90.0050.02311.34
5.4.80.0050.02211.30
5.4.70.0040.01911.46
5.4.60.0020.02211.26
5.4.50.0040.02111.47
5.4.40.0050.01911.48
5.4.30.0020.02211.57
5.4.20.0030.02211.50
5.4.10.0070.01911.34
5.4.00.0020.02311.28
5.3.290.0040.02211.73
5.3.280.0050.02211.60
5.3.270.0050.02111.61
5.3.260.0040.02311.65
5.3.250.0030.02311.61
5.3.240.0070.02111.61
5.3.230.0060.02211.61
5.3.220.0040.02411.59
5.3.210.0020.02511.59
5.3.200.0040.02211.59
5.3.190.0040.02111.59
5.3.180.0020.02211.64
5.3.170.0050.02111.59
5.3.160.0030.02211.59
5.3.150.0060.02111.59
5.3.140.0080.01811.58
5.3.130.0040.02211.58
5.3.120.0040.02211.58
5.3.110.0040.02111.61
5.3.100.0020.02411.39
5.3.90.0040.02211.31
5.3.80.0050.02011.31
5.3.70.0020.02311.31
5.3.60.0040.02011.30
5.3.50.0040.02211.28
5.3.40.0050.02011.28
5.3.30.0050.02411.28
5.3.20.0080.01811.15
5.3.10.0030.02011.12
5.3.00.0070.01811.12
5.2.170.0060.0169.88
5.2.160.0020.0219.88
5.2.150.0060.0159.88
5.2.140.0040.0229.87
5.2.130.0050.0179.85
5.2.120.0060.0159.85
5.2.110.0070.0149.85
5.2.100.0030.0169.85
5.2.90.0060.0199.85
5.2.80.0050.0209.85
5.2.70.0040.0189.85
5.2.60.0040.0179.82
5.2.50.0030.0199.81
5.2.40.0050.0179.80
5.2.30.0050.0179.78
5.2.20.0020.0179.78
5.2.10.0020.0189.73
5.2.00.0050.0199.66
5.1.60.0030.0149.31
5.1.50.0070.0139.30
5.1.40.0050.0169.30
5.1.30.0040.0149.47
5.1.20.0040.0159.48
5.1.10.0020.0169.34
5.1.00.0070.0129.35
5.0.50.0020.0148.58
5.0.40.0020.0118.51
5.0.30.0050.0148.42
5.0.20.0040.0108.40
5.0.10.0040.0118.39
5.0.00.0040.0158.38
4.4.90.0010.0127.63
4.4.80.0030.0097.62
4.4.70.0020.0107.62
4.4.60.0020.0107.62
4.4.50.0010.0107.63
4.4.40.0030.0137.60
4.4.30.0040.0077.62
4.4.20.0050.0087.66
4.4.10.0030.0097.67
4.4.00.0020.0157.62
4.3.110.0020.0107.58
4.3.100.0020.0107.58
4.3.90.0020.0107.56
4.3.80.0020.0157.54
4.3.70.0020.0087.56
4.3.60.0030.0077.55
4.3.50.0060.0077.56
4.3.40.0060.0117.51
4.3.30.0010.0106.88
4.3.20.0030.0096.87
4.3.10.0020.0096.85
4.3.00.0030.0108.65

preferences:
40.84 ms | 401 KiB | 5 Q