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.0110.00416.50
8.3.50.0110.00316.37
8.3.40.0180.00318.38
8.3.30.0070.00718.61
8.3.20.0070.00020.33
8.3.10.0040.00421.90
8.3.00.0040.00423.65
8.2.180.0090.00916.50
8.2.170.0140.00322.96
8.2.160.0100.00320.26
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00219.71
8.2.120.0050.00226.35
8.2.110.0090.00022.38
8.2.100.0120.00017.91
8.2.90.0040.00419.04
8.2.80.0000.00817.97
8.2.70.0000.00817.25
8.2.60.0040.00417.66
8.2.50.0000.00818.07
8.2.40.0000.00822.15
8.2.30.0030.00319.30
8.2.20.0040.00417.43
8.2.10.0040.00417.93
8.2.00.0040.00417.92
8.1.280.0140.00725.92
8.1.270.0040.00423.79
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00323.83
8.1.230.0080.00319.00
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.13
8.1.190.0080.00017.11
8.1.180.0050.00218.10
8.1.170.0040.00418.65
8.1.160.0070.00020.68
8.1.150.0000.00718.75
8.1.140.0050.00319.44
8.1.130.0070.00017.47
8.1.120.0050.00217.22
8.1.110.0080.00017.21
8.1.100.0030.00317.21
8.1.90.0080.00017.30
8.1.80.0000.00717.25
8.1.70.0030.00317.20
8.1.60.0050.00317.48
8.1.50.0000.00817.35
8.1.40.0040.00417.40
8.1.30.0040.00417.57
8.1.20.0020.00517.40
8.1.10.0040.00417.34
8.1.00.0000.00717.28
8.0.300.0070.00018.77
8.0.290.0020.00516.63
8.0.280.0030.00518.34
8.0.270.0000.00717.12
8.0.260.0000.00717.10
8.0.250.0050.00216.70
8.0.240.0040.00416.76
8.0.230.0000.00716.83
8.0.220.0000.00716.75
8.0.210.0000.00716.64
8.0.200.0000.00616.65
8.0.190.0070.00016.80
8.0.180.0000.00816.67
8.0.170.0080.00016.67
8.0.160.0040.00416.81
8.0.150.0080.00016.77
8.0.140.0070.00016.57
8.0.130.0050.00013.12
8.0.120.0060.00316.60
8.0.110.0070.00016.73
8.0.100.0050.00216.75
8.0.90.0030.00516.69
8.0.80.0110.00416.65
8.0.70.0000.00816.64
8.0.60.0030.00316.59
8.0.50.0040.00416.57
8.0.30.0100.00716.89
8.0.20.0120.00817.40
8.0.10.0040.00416.86
8.0.00.0090.00916.57
7.4.330.0000.00516.66
7.4.320.0000.00716.36
7.4.300.0040.00416.35
7.4.290.0000.00616.36
7.4.280.0030.00716.35
7.4.270.0000.00716.38
7.4.260.0030.00316.44
7.4.250.0040.00416.42
7.4.240.0040.00416.46
7.4.230.0030.00316.36
7.4.220.0100.01316.44
7.4.210.0070.00716.47
7.4.200.0030.00516.36
7.4.160.0120.00416.31
7.4.150.0170.00317.40
7.4.140.0150.01017.86
7.4.130.0090.01316.29
7.4.120.0110.00616.47
7.4.110.0120.00616.24
7.4.100.0150.00316.29
7.4.90.0070.01016.54
7.4.80.0090.01019.39
7.4.70.0090.00916.38
7.4.60.0110.00716.46
7.4.50.0040.01416.21
7.4.40.0120.00616.28
7.4.30.0140.00316.21
7.4.00.0070.00714.91
7.3.330.0000.00513.02
7.3.320.0030.00312.97
7.3.310.0000.00616.18
7.3.300.0030.00316.12
7.3.290.0030.00316.14
7.3.280.0080.00716.17
7.3.270.0070.01017.40
7.3.260.0060.01016.36
7.3.240.0050.01116.16
7.3.230.0070.01016.39
7.3.210.0100.00616.12
7.3.200.0120.00419.39
7.3.190.0080.00816.25
7.3.180.0060.00916.27
7.3.170.0220.00016.29
7.3.160.0060.01016.26
7.3.10.0030.00916.69
7.3.00.0080.00816.57
7.2.330.0030.01516.23
7.2.320.0120.00616.33
7.2.310.0130.01016.55
7.2.300.0120.00616.55
7.2.290.0060.01616.20
7.2.130.0060.00916.65
7.2.120.0000.01516.72
7.2.110.0030.00716.43
7.2.100.0040.01216.71
7.2.90.0100.00016.91
7.2.80.0080.00816.65
7.2.70.0070.00316.25
7.2.60.0050.00816.57
7.2.50.0060.00616.70
7.2.40.0030.01016.84
7.2.30.0120.00316.55
7.2.20.0060.00316.60
7.2.10.0070.00716.91
7.2.00.0060.00717.54
7.1.250.0030.00915.64
7.1.200.0000.00615.75
7.1.100.0040.01117.79
7.1.70.0030.00517.09
7.1.60.0030.01719.30
7.1.50.0040.00716.89
7.1.00.0030.07722.48
7.0.200.0040.00416.58
7.0.60.0170.06321.77
7.0.50.0070.07317.89
7.0.40.0070.07720.00
7.0.30.0200.05320.31
7.0.20.0370.06020.17
7.0.10.0100.08320.30
7.0.00.0030.04020.12
5.6.280.0000.03320.86
5.6.210.0100.07020.55
5.6.200.0000.04718.11
5.6.190.0070.08320.77
5.6.180.0300.04020.64
5.6.170.0270.05020.39
5.6.160.0130.07020.38
5.6.150.0070.06018.09
5.6.140.0030.08718.11
5.6.130.0070.03718.20
5.6.120.0100.08320.89
5.6.110.0030.04021.11
5.6.100.0070.06320.95
5.6.90.0130.07721.07
5.6.80.0100.06320.27
5.5.350.0300.05020.46
5.5.340.0100.03017.98
5.5.330.0170.07320.36
5.5.320.0600.07020.13
5.5.310.0300.07720.28
5.5.300.0100.04317.94
5.5.290.0030.04317.91
5.5.280.0200.07320.88
5.5.270.0070.07720.83
5.5.260.0030.05720.78
5.5.250.0030.04720.58
5.5.240.0130.06320.14

preferences:
49.81 ms | 400 KiB | 5 Q