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.40.0120.00618.96
8.3.30.0080.00519.22
8.3.20.0040.00420.45
8.3.10.0040.00421.97
8.3.00.0080.00022.52
8.2.170.0150.00322.96
8.2.160.0140.00019.17
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00619.48
8.2.110.0070.00421.12
8.2.100.0120.00017.66
8.2.90.0000.00819.30
8.2.80.0030.00518.03
8.2.70.0130.00017.25
8.2.60.0050.00317.93
8.2.50.0030.00618.07
8.2.40.0040.00420.07
8.2.30.0030.00518.20
8.2.20.0020.00517.68
8.2.10.0050.00317.77
8.2.00.0050.00317.76
8.1.270.0080.00024.09
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0090.00019.46
8.1.230.0040.00717.83
8.1.220.0000.00817.80
8.1.210.0030.00618.77
8.1.200.0060.00317.36
8.1.190.0000.00817.53
8.1.180.0040.00418.82
8.1.170.0040.00418.71
8.1.160.0040.00422.27
8.1.150.0070.00218.79
8.1.140.0040.00417.54
8.1.130.0030.00317.97
8.1.120.0000.00817.43
8.1.110.0000.00717.43
8.1.100.0000.00917.59
8.1.90.0000.00717.62
8.1.80.0000.00717.57
8.1.70.0000.00717.33
8.1.60.0060.00317.73
8.1.50.0050.00317.57
8.1.40.0000.00817.46
8.1.30.0040.00417.78
8.1.20.0000.00817.80
8.1.10.0000.00817.57
8.1.00.0000.00817.55
8.0.300.0000.00718.77
8.0.290.0040.00417.16
8.0.280.0000.00718.50
8.0.270.0000.00717.26
8.0.260.0000.00616.84
8.0.250.0000.00717.13
8.0.240.0000.00717.04
8.0.230.0070.00016.88
8.0.220.0000.00717.01
8.0.210.0050.00216.97
8.0.200.0000.00716.90
8.0.190.0030.00617.13
8.0.180.0000.00717.00
8.0.170.0050.00317.08
8.0.160.0050.00317.02
8.0.150.0000.00717.00
8.0.140.0000.00717.00
8.0.130.0000.00613.29
8.0.120.0070.00016.78
8.0.110.0000.00717.01
8.0.100.0080.00017.02
8.0.90.0040.00416.85
8.0.80.0060.01316.97
8.0.70.0070.00017.01
8.0.60.0040.00416.99
8.0.50.0040.00416.84
8.0.30.0100.00817.13
8.0.20.0120.00617.40
8.0.10.0000.00817.08
8.0.00.0090.01216.77
7.4.330.0050.00015.00
7.4.320.0030.00316.65
7.4.300.0000.00616.74
7.4.290.0030.00316.60
7.4.280.0020.00516.70
7.4.270.0070.00016.66
7.4.260.0030.00316.65
7.4.250.0040.00416.66
7.4.240.0050.00216.69
7.4.230.0000.00616.56
7.4.220.0110.00716.80
7.4.210.0080.00716.74
7.4.200.0040.00416.64
7.4.190.0000.00716.81
7.4.160.0060.01016.80
7.4.150.0030.01417.40
7.4.140.0100.00717.86
7.4.130.0050.01316.60
7.4.120.0090.00816.61
7.4.110.0120.00616.59
7.4.100.0060.01216.64
7.4.90.0110.00716.55
7.4.80.0180.00619.39
7.4.70.0070.01016.41
7.4.60.0030.01316.52
7.4.50.0070.00416.54
7.4.40.0030.01222.77
7.4.30.0090.00916.50
7.4.10.0160.00314.93
7.4.00.0080.00914.91
7.3.330.0050.00013.17
7.3.320.0000.00613.06
7.3.310.0000.00816.42
7.3.300.0030.00316.33
7.3.290.0100.00616.23
7.3.280.0080.01016.35
7.3.270.0090.00917.40
7.3.260.0060.01216.54
7.3.250.0100.00816.27
7.3.240.0070.01116.43
7.3.230.0140.00916.39
7.3.210.0080.00816.23
7.3.200.0060.00919.39
7.3.190.0040.01816.25
7.3.180.0110.00416.15
7.3.170.0120.00616.73
7.3.160.0040.01216.41
7.3.130.0040.01115.00
7.3.120.0030.01314.98
7.3.110.0090.00614.94
7.3.100.0070.00714.70
7.3.90.0090.00914.54
7.3.80.0080.00614.83
7.3.70.0040.01214.69
7.3.60.0000.01514.92
7.3.50.0060.00914.95
7.3.40.0040.00814.69
7.3.30.0070.00714.81
7.3.20.0070.00316.64
7.3.10.0060.00616.66
7.3.00.0040.00716.65
7.2.330.0030.01416.80
7.2.320.0120.00916.85
7.2.310.0110.01116.57
7.2.300.0130.00316.57
7.2.290.0090.00716.26
7.2.260.0050.01114.75
7.2.250.0030.01315.10
7.2.240.0040.01114.81
7.2.230.0030.01014.83
7.2.220.0030.01415.14
7.2.210.0060.00915.27
7.2.200.0000.01715.01
7.2.190.0000.01114.95
7.2.180.0110.00415.04
7.2.170.0030.00915.08
7.2.160.0090.00915.16
7.2.150.0070.00717.07
7.2.140.0030.01316.83
7.2.130.0060.00916.95
7.2.120.0030.00816.95
7.2.110.0100.00716.92
7.2.100.0110.00616.79
7.2.90.0030.01017.03
7.2.80.0100.00316.91
7.2.70.0100.00316.71
7.2.60.0070.00717.00
7.2.50.0070.00716.79
7.2.40.0080.00816.81
7.2.30.0070.00717.11
7.2.20.0060.01016.80
7.2.10.0070.00716.87
7.2.00.0030.01118.15
7.1.330.0080.00515.74
7.1.320.0080.00815.85
7.1.310.0060.00515.91
7.1.300.0000.01215.69
7.1.290.0070.01015.80
7.1.280.0070.00715.91
7.1.270.0060.00915.87
7.1.260.0030.00615.77
7.1.250.0030.01115.72
7.1.240.0060.00315.95
7.1.230.0080.00815.68
7.1.220.0070.00715.92
7.1.210.0030.01015.88
7.1.200.0030.01215.82
7.1.190.0070.01015.84
7.1.180.0080.00415.85
7.1.170.0030.00615.72
7.1.160.0030.01015.79
7.1.150.0030.01315.75
7.1.140.0060.00615.71
7.1.130.0110.00315.76
7.1.120.0090.00615.85
7.1.110.0100.00315.71
7.1.100.0080.00517.00
7.1.90.0070.00715.88
7.1.80.0030.01315.84
7.1.70.0080.00516.49
7.1.60.0090.00817.66
7.1.50.0110.00916.32
7.1.40.0000.01415.93
7.1.30.0000.01215.58
7.1.20.0040.00715.73
7.1.10.0030.01015.77
7.1.00.0080.04019.08
7.0.330.0000.01315.44
7.0.320.0070.00715.38
7.0.310.0070.00315.36
7.0.300.0070.00415.29
7.0.290.0070.01015.25
7.0.280.0080.00615.23
7.0.270.0110.00715.45
7.0.260.0110.00715.42
7.0.250.0070.01015.65
7.0.240.0060.00615.54
7.0.230.0060.00615.70
7.0.220.0000.01215.17
7.0.210.0100.00015.56
7.0.200.0060.00516.06
7.0.190.0070.00715.50
7.0.180.0000.00915.36
7.0.170.0000.01015.55
7.0.160.0030.01015.24
7.0.150.0070.00715.33
7.0.140.0070.04018.79
7.0.130.0030.00915.48
7.0.120.0090.00615.31
7.0.110.0030.01015.43
7.0.100.0030.04317.72
7.0.90.0080.02317.75
7.0.80.0130.02017.72
7.0.70.0030.02417.66
7.0.60.0080.02317.71
7.0.50.0070.02317.96
7.0.40.0020.04716.84
7.0.30.0090.02016.90
7.0.20.0080.03316.75
7.0.10.0070.04416.92
7.0.00.0060.03116.83
5.6.400.0000.01014.49
5.6.390.0060.00314.82
5.6.380.0000.00914.25
5.6.370.0080.00414.43
5.6.360.0060.00614.34
5.6.350.0060.00914.68
5.6.340.0120.00314.32
5.6.330.0070.01014.37
5.6.320.0030.01014.56
5.6.310.0090.00614.51
5.6.300.0120.00314.55
5.6.290.0000.01614.47
5.6.280.0070.03917.74
5.6.270.0060.00914.55
5.6.260.0040.00714.43
5.6.250.0070.03917.53
5.6.240.0050.02817.67
5.6.230.0090.02517.61
5.6.220.0050.02317.69
5.6.210.0090.03017.60
5.6.200.0050.02217.71
5.6.190.0040.02517.83
5.6.180.0100.03717.76
5.6.170.0050.03517.85
5.6.160.0070.02117.88
5.6.150.0010.02417.80
5.6.140.0010.04317.68
5.6.130.0030.03817.76
5.6.120.0030.02617.67
5.6.110.0060.02617.72
5.6.100.0070.02217.72
5.6.90.0050.04017.85
5.6.80.0070.02717.45
5.6.70.0050.02217.42
5.6.60.0110.02217.39
5.6.50.0070.03417.49
5.6.40.0080.04117.52
5.6.30.0090.01717.43
5.6.20.0020.02417.47
5.6.10.0040.02717.50
5.6.00.0070.02017.41
5.5.380.0040.02517.44
5.5.370.0070.02117.58
5.5.360.0060.02517.39
5.5.350.0070.02217.36
5.5.340.0070.02217.77
5.5.330.0020.02617.75
5.5.320.0010.04517.75
5.5.310.0100.01917.67
5.5.300.0090.01817.49
5.5.290.0080.04117.78
5.5.280.0050.03217.74
5.5.270.0080.02317.68
5.5.260.0050.02317.38
5.5.250.0020.03017.38
5.5.240.0020.02717.24
5.5.230.0070.02217.38
5.5.220.0090.01817.36
5.5.210.0050.02117.35
5.5.200.0040.02717.32
5.5.190.0020.04417.47
5.5.180.0020.02217.17
5.5.170.0000.01014.42
5.5.160.0030.02817.35
5.5.150.0090.02517.42
5.5.140.0050.02417.40
5.5.130.0060.04517.30
5.5.120.0020.04617.38
5.5.110.0050.04717.27
5.5.100.0060.04117.40
5.5.90.0140.03517.32
5.5.80.0100.03817.17
5.5.70.0050.04017.39
5.5.60.0050.03817.34
5.5.50.0080.02717.29
5.5.40.0110.03217.36
5.5.30.0120.03817.27
5.5.20.0090.04217.39
5.5.10.0060.04117.01
5.5.00.0070.02917.02
5.4.450.0080.03815.30
5.4.440.0020.02615.26
5.4.430.0050.02015.25
5.4.420.0000.02615.25
5.4.410.0070.01815.30
5.4.400.0050.03814.97
5.4.390.0040.02715.10
5.4.380.0030.02315.12
5.4.370.0050.02315.01
5.4.360.0020.02415.10
5.4.350.0080.01914.96
5.4.340.0080.03515.11
5.4.330.0030.00910.93
5.4.320.0070.02215.00
5.4.310.0050.02914.94
5.4.300.0050.02014.98
5.4.290.0050.04215.12
5.4.280.0080.04015.14
5.4.270.0050.03315.21
5.4.260.0030.03815.01
5.4.250.0030.04514.97
5.4.240.0030.04215.04
5.4.230.0020.04514.99
5.4.220.0060.04115.02
5.4.210.0030.04514.94
5.4.200.0050.04115.05
5.4.190.0050.03515.06
5.4.180.0090.03815.05
5.4.170.0080.03615.16
5.4.160.0080.03815.09
5.4.150.0110.04114.99
5.4.140.0030.02813.73
5.4.130.0030.03913.69
5.4.120.0020.04213.64
5.4.110.0050.04213.80
5.4.100.0070.03913.66
5.4.90.0030.03913.71
5.4.80.0070.03713.55
5.4.70.0060.03913.60
5.4.60.0120.03513.73
5.4.50.0050.03713.78
5.4.40.0100.03613.76
5.4.30.0050.03813.69
5.4.20.0030.03013.78
5.4.10.0040.03913.78
5.4.00.0100.03713.44
5.3.290.0020.02312.59
5.3.280.0050.04312.54
5.3.270.0070.04212.60
5.3.260.0100.03612.64
5.3.250.0070.03512.63
5.3.240.0060.02012.55
5.3.230.0080.03312.62
5.3.220.0070.03512.50
5.3.210.0110.03712.54
5.3.200.0050.04212.49
5.3.190.0070.04312.53
5.3.180.0050.04212.62
5.3.170.0090.03712.63
5.3.160.0020.04312.63
5.3.150.0050.04212.58
5.3.140.0090.03512.55
5.3.130.0070.04112.59
5.3.120.0000.04612.45
5.3.110.0080.03912.52
5.3.100.0050.04512.23
5.3.90.0050.03712.31
5.3.80.0080.03812.22
5.3.70.0030.04212.23
5.3.60.0080.04012.29
5.3.50.0080.02012.23
5.3.40.0070.03812.19
5.3.30.0080.03912.22
5.3.20.0050.04312.07
5.3.10.0030.04311.99
5.3.00.0060.03312.02
5.2.170.0030.06011.12
5.2.160.0000.05711.07
5.2.150.0070.06011.06
5.2.140.0070.03311.13
5.2.130.0070.05311.03
5.2.120.0100.04311.18
5.2.110.0130.05311.09
5.2.100.0030.06711.09
5.2.90.0100.06011.02
5.2.80.0130.05311.21
5.2.70.0070.06311.19
5.2.60.0030.04311.18
5.2.50.0070.05711.15
5.2.40.0070.05711.05
5.2.30.0000.06711.10
5.2.20.0030.03310.97
5.2.10.0030.06011.00
5.2.00.0100.05710.84
5.1.60.0030.05310.19
5.1.50.0030.05310.19
5.1.40.0070.05310.19
5.1.30.0100.03710.49
5.1.20.0030.03010.34
5.1.10.0070.05710.19
5.1.00.0100.04310.19
5.0.50.0000.04710.19
5.0.40.0030.04310.19
5.0.30.0000.06310.19
5.0.20.0000.04710.19
5.0.10.0000.04010.19
5.0.00.0000.07010.19
4.4.90.0030.03310.19
4.4.80.0070.03310.19
4.4.70.0070.03010.19
4.4.60.0000.03710.19
4.4.50.0100.03010.19
4.4.40.0130.04010.19
4.4.30.0070.01010.19
4.4.20.0000.03710.19
4.4.10.0030.03710.19
4.4.00.0070.05010.19
4.3.110.0070.03310.19
4.3.100.0030.02710.19
4.3.90.0000.03710.19
4.3.80.0030.05010.19
4.3.70.0000.03710.19
4.3.60.0000.02310.19
4.3.50.0000.02310.19
4.3.40.0030.05310.19
4.3.30.0000.03710.19
4.3.20.0000.03710.19
4.3.10.0000.03710.19
4.3.00.0000.03710.19

preferences:
37.12 ms | 400 KiB | 5 Q