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-><?php 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.0000.01516.35
8.3.50.0100.00921.15
8.3.40.0110.00318.73
8.3.30.0070.00718.68
8.3.20.0070.00020.38
8.3.10.0070.00021.70
8.3.00.0070.00023.66
8.2.180.0140.00716.36
8.2.170.0140.00022.96
8.2.160.0030.01020.35
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0060.00319.41
8.2.120.0080.00026.35
8.2.110.0090.00022.25
8.2.100.0060.00617.68
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0030.00517.91
8.2.50.0040.00418.07
8.2.40.0030.00522.29
8.2.30.0070.00019.26
8.2.20.0000.00817.43
8.2.10.0040.00417.83
8.2.00.0000.00817.80
8.1.280.0130.00725.92
8.1.270.0040.00423.89
8.1.260.0090.00028.09
8.1.250.0030.00528.09
8.1.240.0030.00724.01
8.1.230.0080.00319.01
8.1.220.0000.00717.74
8.1.210.0060.00318.77
8.1.200.0000.00817.00
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00718.55
8.1.160.0000.00720.64
8.1.150.0040.00418.63
8.1.140.0040.00419.39
8.1.130.0000.00717.57
8.1.120.0050.00217.24
8.1.110.0000.00817.31
8.1.100.0070.00017.23
8.1.90.0020.00517.33
8.1.80.0040.00417.34
8.1.70.0070.00017.32
8.1.60.0000.00817.33
8.1.50.0080.00017.35
8.1.40.0040.00417.27
8.1.30.0050.00317.57
8.1.20.0000.00717.50
8.1.10.0000.00817.37
8.1.00.0060.00317.29
8.0.300.0040.00418.77
8.0.290.0060.00316.58
8.0.280.0030.00318.35
8.0.270.0000.00717.18
8.0.260.0030.00517.03
8.0.250.0000.00716.85
8.0.240.0040.00416.81
8.0.230.0080.00016.84
8.0.220.0030.00316.80
8.0.210.0070.00016.79
8.0.200.0030.00316.86
8.0.190.0040.00416.84
8.0.180.0040.00416.71
8.0.170.0000.00816.61
8.0.160.0040.00416.64
8.0.150.0000.00716.73
8.0.140.0000.00716.70
8.0.130.0000.00613.25
8.0.120.0000.00816.60
8.0.110.0000.00816.70
8.0.100.0040.00416.66
8.0.90.0020.00516.82
8.0.80.0100.00716.69
8.0.70.0040.00416.70
8.0.60.0050.00316.76
8.0.50.0000.00816.71
8.0.30.0080.01016.85
8.0.20.0140.00717.40
8.0.10.0040.00416.73
8.0.00.0110.00716.69
7.4.330.0000.00516.84
7.4.320.0070.00016.45
7.4.300.0030.00316.44
7.4.290.0000.00716.47
7.4.280.0080.00316.46
7.4.270.0030.00316.41
7.4.260.0000.00716.37
7.4.250.0000.00816.43
7.4.240.0070.00016.43
7.4.230.0000.00816.46
7.4.220.0070.01116.45
7.4.210.0100.00516.37
7.4.200.0030.00316.20
7.4.160.0140.00316.14
7.4.150.0090.00917.40
7.4.140.0070.01417.86
7.4.130.0060.01216.41
7.4.120.0150.00516.32
7.4.110.0120.00616.31
7.4.100.0060.01216.50
7.4.90.0170.00016.38
7.4.80.0100.00819.39
7.4.70.0110.00716.35
7.4.60.0090.00716.29
7.4.50.0060.00916.40
7.4.40.0060.01016.33
7.4.30.0040.01416.35
7.4.00.0100.00014.63
7.3.330.0020.00312.93
7.3.320.0000.00713.04
7.3.310.0000.00716.05
7.3.300.0030.00416.16
7.3.290.0040.00416.12
7.3.280.0080.00716.12
7.3.270.0070.01017.40
7.3.260.0110.00516.07
7.3.240.0120.00716.15
7.3.230.0000.02016.39
7.3.210.0090.00916.32
7.3.200.0160.00019.39
7.3.190.0130.00316.21
7.3.180.0100.00716.10
7.3.170.0130.00916.27
7.3.160.0100.00716.21
7.2.330.0090.00916.30
7.2.320.0070.01116.30
7.2.310.0130.00316.23
7.2.300.0090.00916.12
7.2.290.0120.00616.46
7.2.00.0080.00818.84
7.1.100.0000.01118.15
7.1.70.0030.00517.00
7.1.60.0080.00819.30
7.1.50.0070.01416.90
7.1.00.0100.07322.49
7.0.200.0030.00616.49
7.0.60.0270.06321.81
7.0.50.0070.08717.82
7.0.40.0070.05020.24
7.0.30.0300.07720.04
7.0.20.0170.06720.29
7.0.10.0100.05320.04
7.0.00.0100.03720.13
5.6.210.0000.08720.75
5.6.200.0030.05718.16
5.6.190.0000.07320.49
5.6.180.0500.04720.45
5.6.170.0270.08020.54
5.6.160.0200.07020.54
5.6.150.0030.04318.19
5.6.140.0100.08018.11
5.6.130.0030.08018.15
5.6.120.0030.08721.13
5.6.110.0000.04320.96
5.6.100.0100.07020.96
5.6.90.0100.06020.99
5.6.80.0070.07720.53
5.5.350.0300.07320.31
5.5.340.0000.04317.95
5.5.330.0030.04020.14
5.5.320.0600.05020.34
5.5.310.0400.07320.30
5.5.300.0070.08017.96
5.5.290.0100.08318.01
5.5.280.0070.04320.76
5.5.270.0130.07320.95
5.5.260.0130.08020.61
5.5.250.0030.06720.54
5.5.240.0130.07720.25

preferences:
66.33 ms | 401 KiB | 5 Q