3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors', true); $xml = new XMLReader(); // You must to use it $xml->setParserProperty(XMLReader::VALIDATE, true);

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.60.0070.00718.55
8.3.50.0050.01022.02
8.3.40.0070.00718.68
8.3.30.0070.00719.22
8.3.20.0040.00420.25
8.3.10.0040.00422.13
8.3.00.0060.00320.70
8.2.180.0100.00716.50
8.2.170.0070.00722.96
8.2.160.0070.00720.39
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00719.23
8.2.110.0030.00622.18
8.2.100.0090.00319.52
8.2.90.0030.00619.22
8.2.80.0040.00417.97
8.2.70.0030.00917.50
8.2.60.0070.00017.80
8.2.50.0060.00318.07
8.2.40.0000.00817.97
8.2.30.0050.00218.00
8.2.20.0040.00417.72
8.2.10.0040.00419.48
8.2.00.0040.00417.60
8.1.280.0030.01025.92
8.1.270.0000.00722.14
8.1.260.0030.00626.35
8.1.250.0000.00828.09
8.1.240.0090.00023.83
8.1.230.0100.00019.10
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.35
8.1.190.0050.00317.41
8.1.180.0000.00818.10
8.1.170.0000.00818.58
8.1.160.0080.00021.85
8.1.150.0000.00718.49
8.1.140.0050.00217.34
8.1.130.0070.00017.75
8.1.120.0030.00317.33
8.1.110.0000.00717.40
8.1.100.0040.00417.38
8.1.90.0000.00817.43
8.1.80.0000.00717.29
8.1.70.0030.00317.34
8.1.60.0040.00417.54
8.1.50.0050.00317.49
8.1.40.0000.00917.55
8.1.30.0000.00817.52
8.1.20.0030.00617.68
8.1.10.0000.00717.47
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0030.00516.91
8.0.280.0000.00718.30
8.0.270.0040.00417.12
8.0.260.0000.00716.76
8.0.250.0030.00316.91
8.0.240.0000.00716.92
8.0.230.0040.00416.94
8.0.220.0030.00316.92
8.0.210.0070.00016.89
8.0.200.0040.00416.96
8.0.190.0000.00716.97
8.0.180.0040.00416.83
8.0.170.0040.00416.96
8.0.160.0000.00716.96
8.0.150.0090.00016.83
8.0.140.0000.00716.84
8.0.130.0060.00013.25
8.0.120.0040.00416.87
8.0.110.0040.00416.92
8.0.100.0030.00516.76
8.0.90.0040.00416.71
8.0.80.0070.01016.92
8.0.70.0040.00416.76
8.0.60.0040.00416.70
8.0.50.0070.00016.84
8.0.30.0130.00717.00
8.0.20.0110.00917.40
8.0.10.0000.00816.86
8.0.00.0080.01016.79
7.4.330.0050.00015.00
7.4.320.0000.00616.59
7.4.300.0070.00016.49
7.4.290.0050.00316.46
7.4.280.0040.00416.48
7.4.270.0070.00016.36
7.4.260.0030.00616.45
7.4.250.0000.00716.52
7.4.240.0050.00216.50
7.4.230.0040.00416.63
7.4.220.0100.01316.55
7.4.210.0060.00916.43
7.4.200.0000.00716.52
7.4.190.0070.00016.63
7.4.160.0090.00616.50
7.4.150.0070.01417.40
7.4.140.0100.00817.86
7.4.130.0160.00316.45
7.4.120.0080.00916.47
7.4.110.0120.00416.36
7.4.100.0100.01316.44
7.4.90.0130.00716.43
7.4.80.0160.00619.39
7.4.70.0030.01516.40
7.4.60.0030.01616.23
7.4.50.0040.00016.47
7.4.40.0060.00922.77
7.4.30.0130.00316.54
7.4.10.0090.00915.02
7.4.00.0080.00914.89
7.3.330.0000.00613.08
7.3.320.0000.00613.04
7.3.310.0030.00316.16
7.3.300.0060.00016.06
7.3.290.0080.00516.27
7.3.280.0040.01116.24
7.3.270.0090.00917.40
7.3.260.0050.01116.18
7.3.250.0110.00616.41
7.3.240.0100.00716.16
7.3.230.0140.00316.39
7.3.210.0140.00316.37
7.3.200.0160.00019.39
7.3.190.0100.01116.30
7.3.180.0100.00616.19
7.3.170.0130.00316.27
7.3.160.0060.00916.24
7.3.130.0090.00614.54
7.3.120.0090.00514.65
7.3.110.0090.00714.75
7.3.100.0050.00914.80
7.3.90.0080.00514.83
7.3.80.0080.00614.62
7.3.70.0110.00314.66
7.3.60.0070.00714.80
7.3.50.0100.00514.62
7.3.40.0020.01114.61
7.3.30.0090.00514.75
7.3.20.0070.00516.44
7.3.10.0060.00616.34
7.3.00.0030.01016.45
7.2.330.0110.00716.57
7.2.320.0130.00616.40
7.2.310.0100.00616.34
7.2.300.0060.01216.56
7.2.290.0060.01016.45
7.2.260.0070.01115.06
7.2.250.0090.00914.94
7.2.240.0020.01414.88
7.2.230.0110.00615.13
7.2.220.0080.00514.92
7.2.210.0110.00615.02
7.2.200.0120.00314.91
7.2.190.0050.01114.87
7.2.180.0100.00514.89
7.2.170.0070.00514.89
7.2.160.0040.00814.64
7.2.150.0060.00316.62
7.2.140.0090.00616.67
7.2.130.0110.00716.87
7.2.120.0110.00416.83
7.2.110.0090.00016.74
7.2.100.0000.01116.76
7.2.90.0000.01416.68
7.2.80.0030.01016.57
7.2.70.0070.01016.72
7.2.60.0080.00616.59
7.2.50.0100.00616.79
7.2.40.0000.01216.59
7.2.30.0040.01116.68
7.2.20.0060.01016.67
7.2.10.0090.00616.73
7.2.00.0020.01118.12
7.1.330.0060.00915.77
7.1.320.0000.01415.40
7.1.310.0060.00615.73
7.1.300.0000.01415.57
7.1.290.0080.00615.68
7.1.280.0050.00715.44
7.1.270.0070.00715.70
7.1.260.0020.01115.60
7.1.250.0070.00415.43
7.1.240.0060.00315.85
7.1.230.0040.00715.65
7.1.220.0000.01315.73
7.1.210.0120.00315.56
7.1.200.0050.00715.57
7.1.190.0040.00815.66
7.1.180.0060.00815.75
7.1.170.0170.00015.77
7.1.160.0120.00015.82
7.1.150.0070.00715.66
7.1.140.0000.01315.49
7.1.130.0030.00915.76
7.1.120.0060.00915.53
7.1.110.0030.01015.47
7.1.100.0110.00216.64
7.1.90.0040.00715.76
7.1.80.0090.00615.74
7.1.70.0040.00716.35
7.1.60.0060.01117.79
7.1.50.0090.00416.29
7.1.40.0070.00715.54
7.1.30.0040.00715.59
7.1.20.0080.00815.75
7.1.10.0040.01115.62
7.1.00.0050.03919.19
7.0.330.0000.01515.17
7.0.320.0000.01315.11
7.0.310.0110.00015.37
7.0.300.0070.00715.29
7.0.290.0130.00315.51
7.0.280.0080.00315.21
7.0.270.0060.00815.50
7.0.260.0070.00715.29
7.0.250.0000.01015.24
7.0.240.0000.01615.16
7.0.230.0040.00815.36
7.0.220.0110.00315.44
7.0.210.0060.01015.50
7.0.200.0030.00915.81
7.0.190.0040.01115.27
7.0.180.0090.00315.29
7.0.170.0080.00315.17
7.0.160.0070.00715.37
7.0.150.0100.00315.32
7.0.140.0090.03718.64
7.0.130.0100.00315.18
7.0.120.0040.00715.49
7.0.110.0030.00715.31
7.0.100.0070.00715.34
7.0.90.0100.00315.27
7.0.80.0070.00715.20
7.0.70.0030.01015.18
7.0.60.0050.03217.56
7.0.50.0030.04816.68
7.0.40.0120.04016.71
7.0.30.0200.04316.80
7.0.20.0130.03716.72
7.0.10.0140.04016.56
7.0.00.0070.04716.79
5.6.400.0060.00914.48
5.6.390.0060.00614.28
5.6.380.0060.00614.39
5.6.370.0080.00314.44
5.6.360.0000.00914.44
5.6.350.0090.00614.12
5.6.340.0070.00714.25
5.6.330.0050.00514.34
5.6.320.0090.00614.13
5.6.310.0090.00614.50
5.6.300.0030.01313.93
5.6.290.0030.01314.09
5.6.280.0040.04017.47
5.6.270.0080.00414.28
5.6.260.0040.01214.11
5.6.250.0060.00614.34
5.6.240.0100.00014.40
5.6.230.0130.00014.52
5.6.220.0030.01014.30
5.6.210.0070.03117.49
5.6.200.0080.03516.03
5.6.190.0030.02917.53
5.6.180.0170.02017.41
5.6.170.0250.02717.44
5.6.160.0070.03317.44
5.6.150.0030.04916.21
5.6.140.0100.04016.28
5.6.130.0060.02316.15
5.6.120.0050.02617.63
5.6.110.0030.02717.67
5.6.100.0020.05417.58
5.6.90.0070.04717.68
5.6.80.0050.04217.26
5.6.70.0180.04117.38
5.6.60.0070.01014.26
5.6.50.0030.00614.29
5.6.40.0070.00714.39
5.6.30.0030.00914.19
5.6.20.0070.00314.08
5.6.10.0040.01114.11
5.6.00.0000.01714.35
5.5.380.0040.01214.52
5.5.370.0060.00613.96
5.5.360.0040.01114.41
5.5.350.0120.02017.26
5.5.340.0030.02716.14
5.5.330.0100.03517.28
5.5.320.0180.03817.39
5.5.310.0180.03717.16
5.5.300.0100.04216.21
5.5.290.0090.03816.10
5.5.280.0070.03517.60
5.5.270.0100.04417.51
5.5.260.0080.04217.43
5.5.250.0130.03517.42
5.5.240.0100.03917.34
5.5.230.0060.00613.89
5.5.220.0000.01614.01
5.5.210.0060.00614.30
5.5.200.0030.00914.37
5.5.190.0070.00313.87
5.5.180.0080.00414.34
5.5.170.0000.01214.29
5.5.160.0150.00314.30
5.5.150.0070.00714.08
5.5.140.0030.00513.72
5.5.130.0030.01013.79
5.5.120.0040.01214.21
5.5.110.0000.01314.08
5.5.100.0000.01314.00
5.5.90.0090.00014.21
5.5.80.0090.00314.09
5.5.70.0000.00814.02
5.5.60.0030.00914.31
5.5.50.0080.00814.23
5.5.40.0120.00314.09
5.5.30.0130.00314.04
5.5.20.0000.01113.96
5.5.10.0080.00613.89
5.5.00.0080.00414.11
5.4.450.0100.03015.17
5.4.440.0080.03315.30
5.4.430.0490.02414.95
5.4.420.0330.03415.04
5.4.410.0110.03014.76
5.4.400.0880.00014.85
5.4.390.0830.00214.92
5.4.380.0130.03814.58
5.4.370.0100.03014.78
5.4.360.0120.02714.63
5.4.350.0100.03314.77
5.4.340.0110.03114.75
5.4.330.0060.00610.88
5.4.320.0030.02211.55
5.4.310.0070.02111.71
5.4.300.0040.02611.65
5.4.290.0050.02111.70
5.4.280.0040.02111.57
5.4.270.0060.02211.58
5.4.260.0080.02111.43
5.4.250.0080.02011.64
5.4.240.0060.02311.68
5.4.230.0040.02111.46
5.4.220.0050.02011.50
5.4.210.0040.02811.61
5.4.200.0060.02311.53
5.4.190.0100.03714.92
5.4.180.0050.02914.78
5.4.170.0060.03114.90
5.4.160.0050.03414.86
5.4.150.0070.03814.78
5.4.140.0080.03813.60
5.4.130.0050.02913.55
5.4.120.0060.02413.55
5.4.110.0090.03113.47
5.4.100.0070.04013.38
5.4.90.0110.02713.52
5.4.80.0080.03013.63
5.4.70.0080.03013.57
5.4.60.0080.02713.52
5.4.50.0110.02313.59
5.4.40.0190.02713.66
5.4.30.0090.03213.66
5.4.20.0100.02713.73
5.4.10.0060.03813.57
5.4.00.0060.03313.45
5.3.290.0080.02011.61
5.3.280.0020.02811.55
5.3.270.0080.03912.51
5.3.260.0050.02812.35
5.3.250.0070.03712.55
5.3.240.0060.03012.44
5.3.230.0030.04112.53
5.3.220.0080.03112.49
5.3.210.0030.03312.43
5.3.200.0080.03912.40
5.3.190.0090.03512.43
5.3.180.0080.02812.47
5.3.170.0030.03312.46
5.3.160.0070.03012.48
5.3.150.0080.03012.39
5.3.140.0050.03012.36
5.3.130.0030.03712.27
5.3.120.0090.03212.49
5.3.110.0020.04512.59
5.3.100.0070.03712.18
5.3.90.0090.03912.26
5.3.80.0060.02712.16
5.3.70.0050.02612.04
5.3.60.0030.03512.11
5.3.50.0050.03812.01
5.3.40.0110.03312.14
5.3.30.0080.02612.10
5.3.20.0080.03112.01
5.3.10.0020.03611.98
5.3.00.0030.03211.89
5.2.170.0070.04310.97
5.2.160.0100.04311.09
5.2.150.0130.04011.25
5.2.140.0000.06711.14
5.2.130.0200.04310.98
5.2.120.0200.04010.93
5.2.110.0130.04711.19
5.2.100.0070.05711.02
5.2.90.0070.04011.10
5.2.80.0100.04310.85
5.2.70.0070.04711.08
5.2.60.0130.03310.95
5.2.50.0100.03710.94
5.2.40.0030.04010.91
5.2.30.0100.04010.91
5.2.20.0100.05010.84
5.2.10.0030.06710.94
5.2.00.0030.04710.54
5.1.60.0100.03710.18
5.1.50.0100.03010.09
5.1.40.0030.0339.95
5.1.30.0070.05010.50
5.1.20.0200.03710.33
5.1.10.0100.05010.03
5.1.00.0070.03010.06
5.0.50.0070.0378.70
5.0.40.0130.0278.70
5.0.30.0070.0478.70
5.0.20.0100.0238.70
5.0.10.0000.0438.70
5.0.00.0000.0438.70
4.4.90.0000.0338.70
4.4.80.0030.0278.70
4.4.70.0000.0238.70
4.4.60.0000.0278.70
4.4.50.0030.0208.70
4.4.40.0030.0378.70
4.4.30.0000.0308.70
4.4.20.0030.0238.70
4.4.10.0030.0308.70
4.4.00.0070.0308.70
4.3.110.0030.0338.70
4.3.100.0070.0178.70
4.3.90.0030.0278.70
4.3.80.0070.0378.70
4.3.70.0000.0238.70
4.3.60.0030.0208.70
4.3.50.0000.0238.70
4.3.40.0070.0308.70
4.3.30.0000.0278.70
4.3.20.0070.0208.70
4.3.10.0030.0208.70
4.3.00.0070.0207.33

preferences:
51.27 ms | 401 KiB | 5 Q