3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new XMLReader(); $xml->xml('<html <head><title>411 Length Required</title></head> <body bgcolor="white"> <center><h1>411 Length Required</h1></center> <hr><center>nginx</center> </body> </html>'); // You must to use it $xml->setParserProperty(XMLReader::VALIDATE, true); var_dump($xml->isValid());

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.0140.00718.12
8.3.50.0100.00622.05
8.3.40.0070.00718.76
8.3.30.0000.01418.91
8.3.20.0040.00420.43
8.3.10.0080.00022.21
8.3.00.0090.00022.57
8.2.180.0000.01516.63
8.2.170.0150.00622.96
8.2.160.0090.00618.94
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00019.36
8.2.110.0030.00622.56
8.2.100.0090.00317.78
8.2.90.0030.00519.21
8.2.80.0030.00617.97
8.2.70.0090.00017.63
8.2.60.0070.00018.04
8.2.50.0000.00818.07
8.2.40.0050.00318.20
8.2.30.0030.00518.09
8.2.20.0040.00417.73
8.2.10.0000.00717.71
8.2.00.0040.00417.81
8.1.280.0170.00325.92
8.1.270.0090.00923.83
8.1.260.0030.00526.35
8.1.250.0140.00328.09
8.1.240.0090.00024.04
8.1.230.0100.00019.40
8.1.220.0050.00317.75
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0040.00417.66
8.1.180.0040.00418.10
8.1.170.0030.00518.62
8.1.160.0060.00322.18
8.1.150.0040.00418.74
8.1.140.0000.00817.56
8.1.130.0030.00318.08
8.1.120.0070.00017.59
8.1.110.0040.00417.63
8.1.100.0040.00417.59
8.1.90.0040.00417.64
8.1.80.0070.00017.65
8.1.70.0000.00717.62
8.1.60.0000.00817.77
8.1.50.0030.00517.65
8.1.40.0080.00017.73
8.1.30.0000.00817.79
8.1.20.0040.00417.85
8.1.10.0040.00417.46
8.1.00.0000.00817.70
8.0.300.0070.00018.77
8.0.290.0050.00217.28
8.0.280.0030.00318.46
8.0.270.0030.00317.41
8.0.260.0030.00316.86
8.0.250.0000.00716.88
8.0.240.0080.00017.09
8.0.230.0000.00716.94
8.0.220.0030.00317.00
8.0.210.0030.00316.84
8.0.200.0030.00316.88
8.0.190.0070.00017.08
8.0.180.0040.00416.83
8.0.170.0040.00416.86
8.0.160.0040.00416.88
8.0.150.0000.00716.76
8.0.140.0040.00416.96
8.0.130.0000.00513.30
8.0.120.0080.00016.79
8.0.110.0080.00017.00
8.0.100.0090.00016.84
8.0.90.0040.00416.94
8.0.80.0060.00916.91
8.0.70.0000.00716.92
8.0.60.0000.00716.93
8.0.50.0040.00417.05
8.0.30.0110.01017.20
8.0.20.0100.01017.40
8.0.10.0020.00517.04
8.0.00.0090.01216.76
7.4.330.0060.00015.09
7.4.320.0070.00016.70
7.4.300.0000.00616.63
7.4.290.0080.00016.60
7.4.280.0080.00016.75
7.4.270.0000.00716.67
7.4.260.0060.00316.66
7.4.250.0040.00416.44
7.4.240.0020.00516.59
7.4.230.0040.00416.43
7.4.220.0100.01016.75
7.4.210.0090.00716.70
7.4.200.0030.00316.54
7.4.190.0050.00316.51
7.4.160.0110.00416.49
7.4.150.0120.01317.40
7.4.140.0100.00817.86
7.4.130.0100.00716.58
7.4.120.0080.00916.66
7.4.110.0150.00316.59
7.4.100.0080.00816.52
7.4.90.0100.00616.45
7.4.80.0140.01019.39
7.4.70.0060.01016.51
7.4.60.0160.00016.52
7.4.50.0070.00016.56
7.4.40.0030.01322.77
7.4.30.0060.00916.68
7.4.00.0040.01415.04
7.3.330.0050.00013.18
7.3.320.0030.00312.98
7.3.310.0000.00716.10
7.3.300.0070.00016.33
7.3.290.0040.01116.39
7.3.280.0090.00916.32
7.3.270.0090.00917.40
7.3.260.0060.01716.28
7.3.250.0140.00316.45
7.3.240.0110.00516.50
7.3.230.0070.01016.39
7.3.210.0070.01016.57
7.3.200.0000.01819.39
7.3.190.0050.01716.45
7.3.180.0150.00016.32
7.3.170.0140.00916.46
7.3.160.0120.00316.44
7.3.120.0080.00614.75
7.3.110.0070.01014.76
7.3.100.0030.00814.66
7.3.90.0050.01215.04
7.3.80.0050.00914.72
7.3.70.0030.01214.88
7.3.60.0080.00714.79
7.3.50.0040.00914.83
7.3.40.0020.01114.83
7.3.30.0060.00514.90
7.3.20.0070.00516.60
7.3.10.0110.00416.67
7.3.00.0030.01016.64
7.2.330.0150.00316.48
7.2.320.0100.01316.59
7.2.310.0040.01516.47
7.2.300.0130.00316.43
7.2.290.0070.01016.75
7.2.250.0080.01114.73
7.2.240.0080.01215.05
7.2.230.0020.01114.90
7.2.220.0100.00615.07
7.2.210.0070.00715.09
7.2.200.0070.01015.09
7.2.190.0050.01214.92
7.2.180.0080.00614.90
7.2.170.0050.01015.10
7.2.130.0110.01117.04
7.2.120.0160.00317.08
7.2.110.0100.00716.77
7.2.100.0060.01217.02
7.2.90.0060.00616.71
7.2.80.0030.00916.87
7.2.70.0110.00316.63
7.2.60.0050.01016.91
7.2.50.0030.01316.61
7.2.40.0070.00316.74
7.2.30.0110.00416.72
7.2.20.0030.01016.87
7.2.10.0030.00916.97
7.2.00.0060.00916.88
7.1.330.0020.01515.83
7.1.320.0070.00915.97
7.1.310.0040.00715.79
7.1.300.0040.00815.72
7.1.290.0010.00715.79
7.1.280.0090.00515.75
7.1.270.0060.00815.84
7.1.260.0070.00515.73
7.1.250.0110.00815.61
7.1.200.0060.00315.80
7.1.100.0030.00518.08
7.1.70.0000.00717.30
7.1.60.0090.01619.82
7.1.50.0120.00917.00
7.1.00.0030.07722.50
7.0.200.0080.00416.57
7.0.140.0100.06022.18
7.0.60.0130.07720.11
7.0.50.0070.07017.96
7.0.40.0070.08720.06
7.0.30.0570.07320.23
7.0.20.0300.08020.27
7.0.10.0200.03720.13
7.0.00.0070.06320.16
5.6.280.0070.07020.97
5.6.210.0070.06720.57
5.6.200.0130.07718.30
5.6.190.0030.04320.34
5.6.180.0070.08020.70
5.6.170.0130.04720.48
5.6.160.0070.04020.55
5.6.150.0100.04018.24
5.6.140.0070.05018.19
5.6.130.0070.07318.25
5.6.120.0030.08721.00
5.6.110.0100.04721.18
5.6.100.0170.06320.98
5.6.90.0070.08321.16
5.6.80.0130.07320.64
5.6.70.0330.06320.43
5.5.350.0130.03320.42
5.5.340.0100.06018.05
5.5.330.0030.04320.50
5.5.320.0270.04320.37
5.5.310.0130.05320.43
5.5.300.0030.04318.04
5.5.290.0070.06718.04
5.5.280.0070.05020.84
5.5.270.0000.04321.00
5.5.260.0030.04720.79
5.5.250.0200.05720.66
5.5.240.0200.06320.23
5.4.450.0270.06719.50
5.4.440.0130.07019.35
5.4.430.0200.03719.67
5.4.420.0330.05719.64
5.4.410.0230.07319.42
5.4.400.0230.06719.32
5.4.390.0300.05319.15
5.4.380.0170.08018.93
5.4.370.0370.05719.32
5.4.360.0300.06319.11
5.4.350.0130.06719.23
5.4.340.0200.07318.95
5.4.320.0230.07319.16
5.4.310.0270.06719.27
5.4.300.0200.07319.31
5.4.290.0170.04719.20
5.4.280.0200.06319.23
5.4.270.0200.03719.09
5.4.260.0200.04319.29
5.4.250.0330.06019.20
5.4.240.0270.07318.93
5.4.230.0230.05719.16
5.4.220.0230.04318.92
5.4.210.0270.04319.14
5.4.200.0200.05019.03
5.4.190.0200.07318.91
5.4.180.0200.07019.30
5.4.170.0200.07019.31
5.4.160.0200.04319.28
5.4.150.0270.04019.30
5.4.140.0130.04316.43
5.4.130.0130.04716.57
5.4.120.0230.03016.45
5.4.110.0170.03716.57
5.4.100.0230.04316.46
5.4.90.0170.03716.54
5.4.80.0230.04016.40
5.4.70.0300.06716.57
5.4.60.0200.03716.49
5.4.50.0400.02316.48
5.4.40.0330.06016.32
5.4.30.0270.03716.42
5.4.20.0200.06716.49
5.4.10.0270.06716.42
5.4.00.0270.06015.75
5.3.290.0200.06314.70
5.3.280.0270.07014.59
5.3.270.0100.04314.60
5.3.260.0230.05014.67
5.3.250.0200.06014.54
5.3.240.0230.06314.71
5.3.230.0170.04314.67
5.3.220.0100.04714.68
5.3.210.0270.03714.48
5.3.200.0230.05014.66
5.3.190.0200.05014.64
5.3.180.0230.06714.53
5.3.170.0270.07014.53
5.3.160.0300.06314.52
5.3.150.0270.05014.68
5.3.140.0270.07014.59
5.3.130.0230.07714.66
5.3.120.0270.06714.65
5.3.110.0270.05014.52
5.3.100.0230.07314.06
5.3.90.0230.06713.98
5.3.80.0200.07714.13
5.3.70.0200.06014.00
5.3.60.0300.05713.98
5.3.50.0230.06714.02
5.3.40.0230.04713.91
5.3.30.0230.05713.91
5.3.20.0200.04013.77
5.3.10.0270.04313.60
5.3.00.0270.06013.75
5.2.170.0230.04312.41
5.2.160.0130.03312.41
5.2.150.0230.05312.41
5.2.140.0130.04012.41
5.2.130.0200.05312.41
5.2.120.0170.04312.41
5.2.110.0200.05712.41
5.2.100.0200.03012.41
5.2.90.0200.03712.41
5.2.80.0170.03312.41
5.2.70.0300.04312.41
5.2.60.0170.05012.41
5.2.50.0170.03312.41
5.2.40.0070.03712.41
5.2.30.0170.04712.41
5.2.20.0200.03712.41
5.2.10.0100.05312.41
5.2.00.0200.06012.41
5.1.60.0200.04312.41
5.1.50.0200.04712.41
5.1.40.0130.05012.41
5.1.30.0230.03712.41
5.1.20.0170.03312.41
5.1.10.0130.03312.41
5.1.00.0130.04312.41
5.0.50.0100.03012.41
5.0.40.0070.04312.41
5.0.30.0100.06012.41
5.0.20.0170.03312.41
5.0.10.0100.03312.41
5.0.00.0100.04012.41
4.4.90.0100.03312.41
4.4.80.0100.01712.41
4.4.70.0070.01712.41
4.4.60.0070.03312.41
4.4.50.0030.04012.41
4.4.40.0130.04312.41
4.4.30.0100.03312.41
4.4.20.0070.02712.41
4.4.10.0100.03312.41
4.4.00.0070.04312.41
4.3.110.0130.03312.41
4.3.100.0200.02012.41
4.3.90.0030.03312.41
4.3.80.0170.04712.41
4.3.70.0100.02712.41
4.3.60.0070.02312.41
4.3.50.0070.01312.41
4.3.40.0100.02712.41
4.3.30.0000.03312.41
4.3.20.0030.02712.41
4.3.10.0070.03312.41
4.3.00.0030.01312.41

preferences:
45.74 ms | 401 KiB | 5 Q