3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<XML <html> <head><title>500 Internal Server Error</title></head> <body bgcolor="white"> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.2.1</center> </body> </html> XML; $movies = xml_parse($data);

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.0060.01016.38
8.3.50.0090.01018.34
8.3.40.0070.00718.89
8.3.30.0070.01118.52
8.3.20.0040.00418.69
8.3.10.0080.00020.38
8.3.00.0080.00017.63
8.2.180.0110.00716.50
8.2.170.0120.00322.96
8.2.160.0140.00022.17
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00319.77
8.2.110.0030.00620.84
8.2.100.0060.00617.72
8.2.90.0100.00020.82
8.2.80.0000.00818.03
8.2.70.0030.00517.63
8.2.60.0060.00317.80
8.2.50.0050.00318.07
8.2.40.0040.00418.03
8.2.30.0040.00417.96
8.2.20.0040.00417.62
8.2.10.0070.00017.66
8.2.00.0050.00517.61
8.1.280.0100.00725.92
8.1.270.0000.00724.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00622.47
8.1.230.0060.00621.04
8.1.220.0000.00817.74
8.1.210.0080.00018.79
8.1.200.0060.00317.13
8.1.190.0050.00217.53
8.1.180.0030.00618.10
8.1.170.0000.00718.91
8.1.160.0000.00718.82
8.1.150.0070.00018.47
8.1.140.0040.00417.41
8.1.130.0080.00017.93
8.1.120.0040.00417.43
8.1.110.0000.00717.36
8.1.100.0070.00017.27
8.1.90.0000.00717.39
8.1.80.0000.00717.42
8.1.70.0030.00517.38
8.1.60.0040.00417.54
8.1.50.0030.00617.41
8.1.40.0040.00417.47
8.1.30.0050.00317.63
8.1.20.0000.00817.65
8.1.10.0000.00817.55
8.1.00.0000.00917.57
8.0.300.0050.00319.95
8.0.290.0060.00316.63
8.0.280.0030.00318.27
8.0.270.0070.00017.06
8.0.260.0030.00316.72
8.0.250.0080.00016.99
8.0.240.0060.00316.92
8.0.230.0000.00716.93
8.0.220.0030.00316.92
8.0.210.0070.00016.92
8.0.200.0000.00616.87
8.0.190.0040.00416.81
8.0.180.0070.00016.93
8.0.170.0050.00316.73
8.0.160.0030.00416.77
8.0.150.0090.00016.91
8.0.140.0050.00316.83
8.0.130.0040.00413.31
8.0.120.0050.00316.73
8.0.110.0070.00016.83
8.0.100.0000.00716.92
8.0.90.0000.00816.95
8.0.80.0110.01116.83
8.0.70.0000.00816.80
8.0.60.0070.00017.00
8.0.50.0040.00416.91
8.0.30.0100.00917.01
8.0.20.0070.01017.17
8.0.10.0000.00716.91
8.0.00.0060.01316.61
7.4.330.0060.00012.82
7.4.320.0000.00616.56
7.4.300.0030.00316.41
7.4.290.0000.00616.43
7.4.280.0090.00016.44
7.4.270.0080.00016.52
7.4.260.0050.00013.18
7.4.250.0000.00816.31
7.4.240.0000.00816.50
7.4.230.0070.00016.36
7.4.220.0070.01116.46
7.4.210.0060.01016.45
7.4.200.0030.00316.59
7.4.190.0040.00416.30
7.4.160.0090.00616.47
7.4.150.0170.00716.32
7.4.140.0140.00616.39
7.4.130.0070.01016.47
7.4.120.0070.01016.49
7.4.110.0120.00616.50
7.4.100.0060.01616.52
7.4.90.0110.00716.52
7.4.80.0120.00616.48
7.4.70.0060.01016.21
7.4.60.0000.01816.52
7.4.50.0080.00016.21
7.4.40.0110.00316.40
7.4.30.0090.00616.30
7.4.00.0060.00914.77
7.3.330.0060.00013.07
7.3.320.0000.00613.12
7.3.310.0000.00716.27
7.3.300.0000.00716.07
7.3.290.0000.01416.10
7.3.280.0060.00916.18
7.3.270.0060.01216.58
7.3.260.0110.01216.27
7.3.250.0110.00916.28
7.3.240.0100.01316.26
7.3.230.0110.00616.16
7.3.210.0110.00716.30
7.3.200.0060.00919.39
7.3.190.0000.01716.52
7.3.180.0140.00316.31
7.3.170.0070.01316.31
7.3.160.0030.01316.30
7.3.120.0070.00714.80
7.2.330.0100.01016.38
7.2.320.0070.01016.66
7.2.310.0130.01016.62
7.2.300.0070.01016.57
7.2.290.0110.00616.64
7.2.60.0030.01216.72
7.2.00.0060.00919.07
7.1.200.0070.00415.53
7.1.100.0070.00717.86
7.1.70.0040.00417.23
7.1.60.0100.01419.40
7.1.50.0130.01016.54
7.1.00.0030.04022.36
7.0.200.0260.00714.62
7.0.140.0070.07022.00
7.0.120.0070.06722.09
7.0.60.0130.07319.95
7.0.50.0100.07717.88
7.0.40.0130.08319.96
7.0.30.0270.05020.21
7.0.20.0170.04320.33
7.0.10.0000.06720.20
7.0.00.0030.05020.08
5.6.280.0030.07321.06
5.6.210.0100.07320.72
5.6.200.0130.04018.19
5.6.190.0030.05020.61
5.6.180.0300.07320.32
5.6.170.0330.06720.41
5.6.160.0070.07720.54
5.6.150.0070.08318.22
5.6.140.0100.07718.18
5.6.130.0100.08018.09
5.6.120.0030.04021.14
5.6.110.0030.09020.99
5.6.100.0200.07020.98
5.6.90.0070.06021.02
5.6.80.0070.05720.30
5.5.350.0270.06320.39
5.5.340.0030.08017.95
5.5.330.0100.07720.13
5.5.320.0200.03320.30
5.5.310.0330.07320.33
5.5.300.0000.06018.01
5.5.290.0000.05717.93
5.5.280.0130.07720.64
5.5.270.0170.05720.87
5.5.260.0100.08020.67
5.5.250.0100.03320.61
5.5.240.0000.05020.01
5.4.450.0070.04319.44
5.4.440.0070.08019.45
5.4.430.0100.06319.42
5.4.420.0070.04719.49
5.4.410.0070.07719.12
5.4.400.0100.03718.95
5.4.390.0030.05019.15
5.4.380.0130.07018.82
5.4.370.0230.06318.94
5.4.360.0070.04719.16
5.4.350.0100.06719.14
5.4.340.0070.03719.08
5.4.320.0070.07319.09
5.4.310.0070.07719.12
5.4.300.0130.04319.14
5.4.290.0030.05318.91
5.4.280.0070.08018.89
5.4.270.0070.07318.80
5.4.260.0100.07319.11
5.4.250.0000.05019.07
5.4.240.0100.07318.78
5.4.230.0070.04719.18
5.4.220.0070.03718.91
5.4.210.0100.03319.17
5.4.200.0170.07019.14
5.4.190.0100.07019.18
5.4.180.0070.06718.79
5.4.170.0130.07319.13
5.4.160.0030.06319.11
5.4.150.0070.05719.05
5.4.140.0000.08016.36
5.4.130.0030.06716.33
5.4.120.0130.04016.43
5.4.110.0070.04716.20
5.4.100.0100.04016.33
5.4.90.0070.03316.24
5.4.80.0100.04016.27
5.4.70.0070.07716.22
5.4.60.0100.06716.21
5.4.50.0070.03316.24
5.4.40.0030.03716.34
5.4.30.0100.06716.38
5.4.20.0130.06716.28
5.4.10.0130.02716.30
5.4.00.0100.05315.69
5.3.290.0000.04714.58
5.3.280.0170.06314.48
5.3.270.0000.09014.57
5.3.260.0030.05714.42
5.3.250.0070.03714.54
5.3.240.0070.07014.53
5.3.230.0100.07714.51
5.3.220.0070.04014.50
5.3.210.0070.07314.49
5.3.200.0030.07014.49
5.3.190.0130.07314.48
5.3.180.0130.07314.49
5.3.170.0070.03314.53
5.3.160.0030.04714.54
5.3.150.0030.04014.36
5.3.140.0130.03314.49
5.3.130.0030.08314.48
5.3.120.0070.08014.47
5.3.110.0100.04714.47
5.3.100.0170.05313.96
5.3.90.0070.03713.81
5.3.80.0130.04713.83
5.3.70.0070.03713.94
5.3.60.0100.03013.94
5.3.50.0100.06013.88
5.3.40.0070.04013.87
5.3.30.0100.07013.88
5.3.20.0070.06313.64
5.3.10.0070.04013.44
5.3.00.0070.04713.58
5.2.170.0030.06310.97
5.2.160.0030.05711.14
5.2.150.0070.04011.08
5.2.140.0000.03711.02
5.2.130.0070.05711.09
5.2.120.0070.05311.03
5.2.110.0100.05711.10
5.2.100.0070.05711.03
5.2.90.0000.06010.95
5.2.80.0070.05711.02
5.2.70.0030.06711.06
5.2.60.0070.06010.93
5.2.50.0100.05711.16
5.2.40.0000.05710.88
5.2.30.0030.03710.96
5.2.20.0130.03310.89
5.2.10.0030.05310.95
5.2.00.0070.05310.71
5.1.60.0130.04010.07
5.1.50.0070.0439.85
5.1.40.0030.0539.94
5.1.30.0030.04710.39
5.1.20.0030.03310.41
5.1.10.0070.04010.08
5.1.00.0000.05710.12
5.0.50.0000.0238.71
5.0.40.0030.0178.49
5.0.30.0070.0608.18
5.0.20.0070.0278.25
5.0.10.0070.0378.17
5.0.00.0030.0678.21
4.4.90.0030.0178.04
4.4.80.0000.0238.04
4.4.70.0070.0338.04
4.4.60.0030.0338.04
4.4.50.0030.0338.04
4.4.40.0070.0438.04
4.4.30.0030.0278.04
4.4.20.0000.0208.04
4.4.10.0030.0178.04
4.4.00.0070.0508.04
4.3.110.0030.0338.04
4.3.100.0000.0278.04
4.3.90.0000.0208.04
4.3.80.0000.0578.04
4.3.70.0000.0178.04
4.3.60.0070.0278.04
4.3.50.0030.0378.04
4.3.40.0030.0538.04
4.3.30.0030.0378.04
4.3.20.0000.0408.04
4.3.10.0000.0378.04
4.3.00.0000.0238.04

preferences:
51.81 ms | 401 KiB | 5 Q