3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strip_tags('<?php $dom->test(); ?> this is a test')); var_dump(strip_tags('<?phpxml->test(); ?> this is a test'));

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.0110.00716.50
8.3.50.0030.01016.11
8.3.40.0040.01118.41
8.3.30.0070.00718.41
8.3.20.0050.00220.29
8.3.10.0040.00421.73
8.3.00.0000.00823.66
8.2.180.0220.00016.38
8.2.170.0100.01022.96
8.2.160.0090.00620.53
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00019.51
8.2.120.0080.00026.35
8.2.110.0030.00620.35
8.2.100.0070.00717.66
8.2.90.0050.00319.08
8.2.80.0090.00017.97
8.2.70.0040.00417.38
8.2.60.0000.00817.68
8.2.50.0000.00818.07
8.2.40.0040.00422.15
8.2.30.0070.00019.19
8.2.20.0000.00717.60
8.2.10.0040.00417.92
8.2.00.0070.00017.79
8.1.280.0070.01425.92
8.1.270.0030.00523.99
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0040.00421.91
8.1.230.0070.00423.86
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.13
8.1.190.0030.00517.00
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0000.00720.56
8.1.150.0050.00218.80
8.1.140.0050.00319.47
8.1.130.0000.00717.56
8.1.120.0030.00317.34
8.1.110.0040.00417.34
8.1.100.0040.00417.23
8.1.90.0070.00017.27
8.1.80.0000.00817.22
8.1.70.0070.00017.38
8.1.60.0030.00517.33
8.1.50.0030.00517.39
8.1.40.0080.00017.34
8.1.30.0090.00017.43
8.1.20.0040.00417.38
8.1.10.0000.00717.40
8.1.00.0000.00717.20
8.0.300.0030.00618.77
8.0.290.0070.00016.58
8.0.280.0050.00218.29
8.0.270.0000.00716.99
8.0.260.0080.00017.07
8.0.250.0070.00016.85
8.0.240.0050.00216.69
8.0.230.0030.00316.84
8.0.220.0030.00316.63
8.0.210.0070.00016.64
8.0.200.0030.00316.87
8.0.190.0000.00716.86
8.0.180.0030.00616.71
8.0.170.0000.00816.67
8.0.160.0040.00416.82
8.0.150.0000.00716.74
8.0.140.0050.00216.58
8.0.130.0000.00513.26
8.0.120.0050.00316.78
8.0.110.0030.00516.69
8.0.100.0000.00716.61
8.0.90.0000.00816.73
8.0.80.0120.00316.74
8.0.70.0070.00016.61
8.0.60.0030.00316.67
8.0.50.0050.00216.77
8.0.30.0110.00816.98
8.0.20.0090.01017.40
8.0.10.0040.00416.89
8.0.00.0070.01016.56
7.4.330.0000.00616.67
7.4.320.0030.00316.30
7.4.300.0040.00416.48
7.4.290.0000.00716.50
7.4.280.0050.00516.48
7.4.270.0070.00016.45
7.4.260.0030.00316.42
7.4.250.0040.00416.41
7.4.240.0050.00216.36
7.4.230.0070.00016.35
7.4.220.0120.00616.47
7.4.210.0100.00716.35
7.4.200.0030.00316.36
7.4.160.0130.00316.16
7.4.150.0090.00917.40
7.4.140.0130.00617.86
7.4.130.0090.01216.47
7.4.120.0120.00916.35
7.4.110.0110.00716.21
7.4.100.0120.00616.32
7.4.90.0080.01116.21
7.4.80.0000.01719.39
7.4.70.0040.01516.41
7.4.60.0060.01016.31
7.4.50.0120.00216.31
7.4.40.0130.01016.46
7.4.30.0110.00716.22
7.4.00.0090.00614.95
7.3.330.0000.00513.11
7.3.320.0030.00313.04
7.3.310.0060.00016.05
7.3.300.0070.00016.11
7.3.290.0000.00716.16
7.3.280.0050.01016.13
7.3.270.0170.00017.40
7.3.260.0120.00616.36
7.3.240.0120.00616.32
7.3.230.0110.01116.39
7.3.210.0060.01216.02
7.3.200.0050.01019.39
7.3.190.0090.00616.43
7.3.180.0130.00316.17
7.3.170.0110.01116.27
7.3.160.0110.00416.23
7.3.10.0080.00816.11
7.3.00.0240.00016.41
7.2.330.0170.00716.26
7.2.320.0100.01316.20
7.2.310.0060.01116.55
7.2.300.0060.01116.42
7.2.290.0120.00616.54
7.2.130.0200.00816.38
7.2.120.0100.01316.07
7.2.110.0220.00616.49
7.2.100.0440.00716.53
7.2.90.0210.01116.36
7.2.80.0200.00816.23
7.2.70.0560.00616.83
7.2.60.0110.00816.41
7.2.50.0040.01216.43
7.2.40.0160.01216.31
7.2.30.0070.00315.99
7.2.20.0140.00616.61
7.2.10.0080.01616.86
7.2.00.0140.00517.58
7.1.250.0250.00715.52
7.1.200.0090.00315.62
7.1.100.0030.00617.94
7.1.70.0000.00717.10
7.1.60.0100.01019.30
7.1.50.0030.01916.53
7.1.00.0070.07322.31
7.0.200.0030.00616.55
7.0.60.0170.08321.59
7.0.50.0070.03717.79
7.0.40.0100.05020.02
7.0.30.0170.04720.09
7.0.20.0370.08320.17
7.0.10.0070.07320.09
7.0.00.0030.04020.09
5.6.280.0000.03321.04
5.6.210.0030.06020.51
5.6.200.0130.08018.11
5.6.190.0070.08720.64
5.6.180.0370.04320.27
5.6.170.0300.07320.44
5.6.160.0200.04320.44
5.6.150.0070.04018.21
5.6.140.0030.08318.07
5.6.130.0070.03718.18
5.6.120.0100.08720.98
5.6.110.0000.04321.08
5.6.100.0030.05021.08
5.6.90.0070.09021.09
5.6.80.0070.07720.28
5.5.350.0300.07320.46
5.5.340.0030.04017.92
5.5.330.0000.05320.37
5.5.320.0600.06020.18
5.5.310.0200.05020.29
5.5.300.0030.06018.02
5.5.290.0030.08317.91
5.5.280.0130.08020.86
5.5.270.0030.07720.83
5.5.260.0070.06320.64
5.5.250.0070.04020.58
5.5.240.0070.06720.03

preferences:
51.24 ms | 400 KiB | 5 Q