3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument; var_dump($doc->formatOutput); $doc->formatOutput = true; var_dump($doc->formatOutput);

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.4.130.0090.01017.97
8.4.120.0120.00920.54
8.4.110.0270.00918.87
8.4.100.0260.00417.44
8.4.90.0240.00717.54
8.4.80.0220.00617.51
8.4.70.0220.00617.54
8.4.60.0240.00717.61
8.4.50.0260.00818.04
8.4.40.0310.00818.24
8.4.30.0320.00918.13
8.4.20.0300.00817.30
8.4.10.0290.00517.39
8.3.260.0130.00616.52
8.3.250.0110.00718.73
8.3.240.0210.00716.93
8.3.230.0250.00716.52
8.3.220.0200.00516.49
8.3.210.0180.00716.51
8.3.200.0220.00716.51
8.3.190.0240.00516.43
8.3.180.0220.00516.50
8.3.170.0180.00716.98
8.3.160.0170.00516.90
8.3.150.0180.00517.57
8.3.140.0160.00516.88
8.3.130.0250.00416.84
8.3.120.0240.00517.86
8.3.110.0170.00717.50
8.3.100.0220.00718.27
8.3.90.0220.00619.01
8.3.80.0220.00717.23
8.3.70.0270.00516.47
8.3.60.0230.00716.27
8.3.50.0230.00716.34
8.3.40.0220.00517.77
8.3.30.0230.01017.76
8.3.20.0310.00419.08
8.3.10.0180.00619.21
8.3.00.0150.00620.11
8.2.290.0200.00517.40
8.2.280.0160.00417.05
8.2.270.0180.00416.92
8.2.260.0230.00616.65
8.2.250.0220.00616.59
8.2.240.0210.00416.62
8.2.230.0190.00717.88
8.2.220.0170.00521.91
8.2.210.0220.00719.03
8.2.200.0230.00517.02
8.2.190.0260.00716.90
8.2.180.0230.00819.23
8.2.170.0240.00517.87
8.2.160.0230.00718.86
8.2.150.0230.00619.49
8.2.140.0230.00519.13
8.2.130.0240.00719.53
8.2.120.0240.00419.63
8.2.110.0260.00518.66
8.2.100.0230.00417.92
8.2.90.0210.00617.45
8.2.80.0220.00718.20
8.2.70.0210.00717.39
8.2.60.0180.00617.48
8.2.50.0210.00517.59
8.2.40.0220.00817.61
8.2.30.0180.00717.48
8.2.20.0230.00517.53
8.2.10.0180.00417.86
8.2.00.0170.00517.91
8.1.330.0190.00717.99
8.1.320.0200.00616.01
8.1.310.0210.00516.17
8.1.300.0200.00715.96
8.1.290.0230.00519.81
8.1.280.0240.00618.47
8.1.270.0240.00418.92
8.1.260.0210.00719.84
8.1.250.0180.00719.94
8.1.240.0150.00418.94
8.1.230.0130.00618.02
8.1.220.0180.00417.36
8.1.210.0190.00517.42
8.1.200.0210.00617.19
8.1.190.0240.00517.61
8.1.180.0250.00717.27
8.1.170.0230.00717.37
8.1.160.0220.00417.55
8.1.150.0180.00717.57
8.1.140.0160.00717.51
8.1.130.0200.00617.88
8.1.120.0200.00717.19
8.1.110.0210.00617.11
8.1.100.0180.00617.01
8.1.90.0220.00517.24
8.1.80.0220.00517.19
8.1.70.0240.00617.23
8.1.60.0210.00517.30
8.1.50.0220.00517.26
8.1.40.0240.00517.36
8.1.30.0190.00717.44
8.1.20.0210.00617.47
8.1.10.0200.00617.34
8.1.00.0150.00417.31
8.0.300.0220.00418.03
8.0.290.0210.00616.52
8.0.280.0220.00517.01
8.0.270.0210.00616.85
8.0.260.0230.00617.29
8.0.250.0200.00716.62
8.0.240.0190.00816.64
8.0.230.0210.00616.69
8.0.220.0220.00616.58
8.0.210.0160.00716.54
8.0.200.0210.00716.66
8.0.190.0190.00716.58
8.0.180.0200.00516.62
8.0.170.0220.00716.68
8.0.160.0190.00316.90
8.0.150.0160.00617.07
8.0.140.0220.00716.69
8.0.130.0200.00615.70
8.0.120.0210.00616.57
8.0.110.0190.00616.60
8.0.100.0190.00716.51
8.0.90.0220.00516.45
8.0.80.0190.00816.58
8.0.70.0250.00616.44
8.0.60.0200.00516.66
8.0.50.0180.00516.59
8.0.30.0190.00516.96
8.0.20.0180.00617.13
8.0.10.0200.00716.73
8.0.00.0200.01016.82
7.4.330.0190.00716.12
7.4.320.0190.00416.80
7.4.300.0180.00516.71
7.4.290.0150.00516.33
7.4.280.0180.00616.23
7.4.270.0180.00716.23
7.4.260.0170.00715.47
7.4.250.0190.00516.23
7.4.240.0160.00616.31
7.4.230.0180.00616.28
7.4.220.0140.00616.34
7.4.210.0160.00616.35
7.4.200.0200.00516.37
7.4.190.0240.00716.41
7.4.180.0280.00816.19
7.4.160.0220.00616.33
7.4.150.0220.00516.31
7.4.140.0220.00716.18
7.4.130.0210.00616.12
7.4.120.0200.00516.08
7.4.110.0150.00616.09
7.4.100.0150.00616.21
7.4.90.0180.00616.24
7.4.80.0180.00616.17
7.4.70.0190.00716.11
7.4.60.0190.00516.13
7.4.50.0170.00616.59
7.4.40.0180.00716.01
7.4.30.0220.00616.08
7.4.20.0220.00416.16
7.4.10.0200.00516.18
7.4.00.0230.00416.04
7.3.330.0200.00515.92
7.3.320.0190.00515.28
7.3.310.0190.00515.85
7.3.300.0180.00516.12
7.3.290.0170.00516.05
7.3.280.0250.00416.02
7.3.270.0190.00615.98
7.3.260.0210.00616.02
7.3.250.0180.00416.03
7.3.240.0180.00715.97
7.3.230.0180.00915.96
7.3.220.0200.00715.96
7.3.210.0180.00716.44
7.3.200.0170.00115.97
7.3.190.0190.00416.42
7.3.180.0210.00715.90
7.3.170.0200.00616.34
7.3.160.0230.00615.91
7.3.150.0230.00615.93
7.3.140.0220.00615.92
7.3.130.0210.00615.89
7.3.120.0180.00515.82
7.3.110.0220.00416.27
7.3.100.0210.00415.84
7.3.90.0170.00816.21
7.3.80.0160.00715.91
7.3.70.0180.00916.11
7.3.60.0190.00516.04
7.3.50.0210.00616.03
7.3.40.0200.00715.97
7.3.30.0210.00516.08
7.3.20.0170.00317.42
7.3.10.0170.00417.41
7.3.00.0150.00617.40

preferences:
36.31 ms | 403 KiB | 5 Q