3v4l.org

run code in 300+ PHP versions simultaneously
<?php $allowedTags = '<br/>'; var_dump(strip_tags('Line1<br/>Line2<br></br>', $allowedTags)); $allowedTags = '<br>'; var_dump(strip_tags('Line1<br/>Line2<br></br>', $allowedTags));

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.20.0130.00724.09
8.4.10.0100.01023.81
8.3.140.0080.00016.55
8.3.130.0030.00618.53
8.3.120.0060.00320.65
8.3.110.0030.00616.36
8.3.100.0160.00018.21
8.3.90.0050.00318.34
8.3.80.0070.00417.97
8.3.70.0070.01116.63
8.3.60.0140.00316.38
8.3.50.0140.00716.51
8.3.40.0030.01020.27
8.3.30.0100.00318.58
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0050.00326.16
8.2.260.0000.01416.68
8.2.250.0120.00418.19
8.2.240.0030.00618.93
8.2.230.0030.00720.94
8.2.220.0160.00337.54
8.2.210.0110.00726.77
8.2.200.0030.00616.63
8.2.190.0070.01116.58
8.2.180.0140.00318.29
8.2.170.0180.00319.02
8.2.160.0000.01522.96
8.2.150.0030.00625.66
8.2.140.0050.00524.66
8.2.130.0040.00426.16
8.2.120.0070.00021.19
8.2.110.0060.00321.13
8.2.100.0070.00417.66
8.2.90.0050.00318.22
8.2.80.0090.00017.97
8.2.70.0040.00417.80
8.2.60.0000.00817.38
8.2.50.0000.00917.63
8.2.40.0080.00020.97
8.2.30.0080.00017.98
8.2.20.0070.00319.23
8.2.10.0020.00518.00
8.2.00.0040.00418.80
8.1.310.0000.00916.39
8.1.300.0040.00420.32
8.1.290.0040.00718.88
8.1.280.0140.00725.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00322.19
8.1.230.0040.00721.04
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0040.00417.23
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0000.01018.34
8.1.160.0040.00418.79
8.1.150.0050.00218.64
8.1.140.0030.00617.29
8.1.130.0130.00418.48
8.1.120.0060.00918.68
8.1.110.0110.00518.68
8.1.100.0170.00018.51
8.1.90.0130.00318.54
8.1.80.0190.00018.54
8.1.70.0150.00318.59
8.1.60.0090.00918.74
8.1.50.0140.00418.70
8.1.40.0180.00018.78
8.1.30.0190.00018.65
8.1.20.0160.00318.68
8.1.10.0090.00918.61
8.1.00.0190.00018.52
8.0.300.0040.00419.91
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0030.00516.67
8.0.260.0150.00617.93
8.0.250.0170.00017.96
8.0.240.0150.00317.92
8.0.230.0130.00317.88
8.0.220.0160.00417.81
8.0.210.0160.00517.89
8.0.200.0130.00517.91
8.0.190.0170.00017.90
8.0.180.0060.01217.92
8.0.170.0110.00517.93
8.0.160.0000.01617.91
8.0.150.0170.00017.89
8.0.140.0170.00017.97
8.0.130.0120.00517.92
8.0.120.0180.00017.92
8.0.110.0170.00017.93
8.0.100.0150.00017.92
8.0.90.0160.00017.93
8.0.80.0050.01017.92
8.0.70.0050.01017.85
8.0.60.0110.00317.85
8.0.50.0120.00217.99
8.0.30.0090.00617.87
8.0.20.0100.00517.98
8.0.10.0050.01018.05
8.0.00.0070.00718.15
7.4.330.0090.00415.79
7.4.320.0100.00517.53
7.4.300.0160.00017.63
7.4.290.0130.00317.63
7.4.280.0120.00517.57
7.4.270.0120.00417.62
7.4.260.0090.00917.52
7.4.250.0050.01117.59
7.4.240.0100.00517.65
7.4.230.0130.00317.64
7.4.220.0140.00017.49
7.4.210.0110.00317.62
7.4.200.0090.00517.57
7.4.190.0060.00917.61
7.4.180.0060.00817.63
7.4.160.0140.00017.56
7.4.150.0140.00017.64
7.4.140.0140.00017.40
7.4.130.0070.00717.45
7.4.120.0050.01017.45
7.4.110.0090.00417.50
7.4.100.0000.01417.54
7.4.90.0000.01317.45
7.4.80.0070.00717.45
7.4.70.0090.00517.40
7.4.60.0140.00017.49
7.4.50.0100.00317.27
7.4.40.0110.00317.27
7.4.30.0060.00617.45
7.4.20.0110.00317.56
7.4.10.0040.00917.50
7.4.00.0070.00717.46
7.3.330.0120.00317.41
7.3.320.0110.00317.41
7.3.310.0100.00317.14
7.3.300.0110.00317.22
7.3.290.0100.00317.34
7.3.280.0140.00017.26
7.3.270.0110.00417.14
7.3.260.0110.00417.20
7.3.250.0140.00017.25
7.3.240.0140.00017.23
7.3.230.0080.00817.20
7.3.220.0100.00517.08
7.3.210.0140.00017.29
7.3.200.0070.00717.07
7.3.190.0080.00617.06
7.3.180.0090.00517.27
7.3.170.0070.00717.30
7.3.160.0140.00017.20
7.3.150.0160.00017.15
7.3.140.0090.00617.13
7.3.130.0140.00017.16
7.3.120.0110.00317.19
7.3.110.0070.00717.06
7.3.100.0110.00317.04
7.3.90.0140.00017.39
7.3.80.0110.00317.06
7.3.70.0080.00517.20
7.3.60.0140.00017.53
7.3.50.0050.00917.39
7.3.40.0100.00517.32
7.3.30.0090.00417.32
7.3.20.0170.00019.19
7.3.10.0090.00619.13
7.3.00.0060.01219.08
7.2.340.0150.00017.35
7.2.330.0110.00317.30
7.2.320.0100.00517.22
7.2.310.0140.00017.22
7.2.300.0070.00717.15
7.2.290.0050.00917.14
7.2.280.0040.01117.27
7.2.270.0070.00717.32
7.2.260.0070.00717.35
7.2.250.0100.00317.42
7.2.240.0110.00417.35
7.2.230.0100.00317.37
7.2.220.0090.00517.37
7.2.210.0120.00317.25
7.2.200.0080.00817.52
7.2.190.0120.00317.34
7.2.180.0150.00017.52
7.2.170.0100.00517.61
7.2.160.0100.00317.54
7.2.150.0100.00519.23
7.2.140.0100.00419.36
7.2.130.0160.00019.48
7.2.120.0110.00319.39
7.2.110.0100.00319.21
7.2.100.0050.01019.34
7.2.90.0150.00019.25
7.2.80.0090.00519.44
7.2.70.0080.00819.23
7.2.60.0100.00519.41
7.2.50.0090.00619.43
7.2.40.0120.00419.43
7.2.30.0150.00019.43
7.2.20.0110.00519.50
7.2.10.0150.00019.32
7.2.00.0100.00519.31
7.1.330.0130.00018.46
7.1.320.0070.00718.25
7.1.310.0080.00418.38
7.1.300.0140.00018.46
7.1.290.0110.00218.32
7.1.280.0090.00418.37
7.1.270.0040.00818.36
7.1.260.0100.00318.26
7.1.250.0120.00218.26
7.1.240.0130.00018.41
7.1.230.0110.00318.30
7.1.220.0110.00418.45
7.1.210.0040.00918.23
7.1.200.0070.00718.23
7.1.190.0100.00318.47
7.1.180.0140.00018.16
7.1.170.0090.00418.36
7.1.160.0110.00418.13
7.1.150.0100.00518.36
7.1.140.0080.00518.31
7.1.130.0130.00018.23
7.1.120.0080.00818.41
7.1.110.0100.00318.36
7.1.100.0090.00518.20
7.1.90.0100.00518.12
7.1.80.0130.00018.16
7.1.70.0110.00418.17
7.1.60.0140.00018.32
7.1.50.0150.00018.39
7.1.40.0090.00418.25
7.1.30.0140.00018.35
7.1.20.0130.00018.21
7.1.10.0100.00318.28
7.1.00.0080.00518.13
7.0.330.0140.00018.03
7.0.320.0110.00317.90
7.0.310.0050.01017.80
7.0.300.0080.00517.80
7.0.290.0160.00018.00
7.0.280.0030.01017.83
7.0.270.0090.00318.00
7.0.260.0110.00317.92
7.0.250.0090.00418.01
7.0.240.0040.00818.14
7.0.230.0140.00018.14
7.0.220.0040.00917.96
7.0.210.0130.00018.10
7.0.200.0070.00717.97
7.0.190.0100.00318.07
7.0.180.0090.00518.02
7.0.170.0130.00018.13
7.0.160.0130.00017.96
7.0.150.0130.00018.12
7.0.140.0070.00718.04
7.0.130.0040.00918.14
7.0.120.0040.00918.14
7.0.110.0080.00517.89
7.0.100.0110.00317.90
7.0.90.0090.00517.79
7.0.80.0060.00617.86
7.0.70.0110.00217.86
7.0.60.0100.00518.04
7.0.50.0040.00917.89
7.0.40.0070.00717.97
7.0.30.0100.00317.91
7.0.20.0080.00617.84
7.0.10.0120.00418.17
7.0.00.0130.00017.90
5.6.400.0030.00916.77
5.6.390.0130.00016.70
5.6.380.0000.01316.87
5.6.370.0090.00316.73
5.6.360.0100.00316.96
5.6.350.0130.00016.87
5.6.340.0080.00416.94
5.6.330.0100.00316.82
5.6.320.0060.00616.82
5.6.310.0080.00416.70
5.6.300.0100.00316.84
5.6.290.0080.00416.77
5.6.280.0080.00416.66
5.6.270.0080.00416.70
5.6.260.0130.00016.82
5.6.250.0080.00416.74
5.6.240.0060.00616.75
5.6.230.0060.00616.82
5.6.220.0100.00316.83
5.6.210.0110.00216.82
5.6.200.0060.00616.88
5.6.190.0100.00316.98
5.6.180.0120.00016.82
5.6.170.0130.00017.03
5.6.160.0090.00417.08
5.6.150.0080.00416.98
5.6.140.0070.00716.76
5.6.130.0120.00016.81
5.6.120.0090.00316.81
5.6.110.0090.00416.95
5.6.100.0090.00316.66
5.6.90.0130.00016.80
5.6.80.0080.00416.75
5.6.70.0120.00016.87
5.6.60.0080.00417.05
5.6.50.0120.00016.80
5.6.40.0120.00016.80
5.6.30.0120.00016.89
5.6.20.0090.00316.83
5.6.10.0060.00616.84
5.6.00.0040.00916.64
5.5.380.0100.00316.90
5.5.370.0040.00816.84
5.5.360.0100.00316.61
5.5.350.0080.00516.82
5.5.340.0060.00616.80
5.5.330.0080.00416.68
5.5.320.0060.00616.77
5.5.310.0080.00516.67
5.5.300.0070.00716.82
5.5.290.0100.00216.67
5.5.280.0130.00016.66
5.5.270.0050.01016.71
5.5.260.0100.00316.86
5.5.250.0140.00016.73
5.5.240.0040.00816.78
5.5.230.0060.00616.72
5.5.220.0060.00616.86
5.5.210.0060.00616.84
5.5.200.0120.00016.53
5.5.190.0080.00416.68
5.5.180.0080.00416.80
5.5.170.0060.00616.54
5.5.160.0120.00016.73
5.5.150.0120.00016.53
5.5.140.0100.00316.39
5.5.130.0120.00016.68
5.5.120.0040.00916.63
5.5.110.0050.00916.59
5.5.100.0060.00616.72
5.5.90.0120.00016.86
5.5.80.0090.00416.78
5.5.70.0120.00016.86
5.5.60.0090.00416.71
5.5.50.0060.00616.64
5.5.40.0060.00616.58
5.5.30.0040.00816.89
5.5.20.0120.00016.91
5.5.10.0060.00616.80
5.5.00.0100.00216.55
5.4.450.0070.00315.79
5.4.440.0030.00715.79
5.4.430.0100.00015.79
5.4.420.0050.00515.79
5.4.410.0100.00015.79
5.4.400.0080.00215.79
5.4.390.0080.00315.79
5.4.380.0100.00015.79
5.4.370.0050.00515.79
5.4.360.0110.00015.79
5.4.350.0070.00415.79
5.4.340.0100.00015.79
5.4.330.0110.00015.79
5.4.320.0060.00615.79
5.4.310.0080.00415.79
5.4.300.0080.00315.79
5.4.290.0100.00015.79
5.4.280.0110.00015.79
5.4.270.0070.00415.79
5.4.260.0000.01115.79
5.4.250.0080.00315.79
5.4.240.0040.00715.79
5.4.230.0060.00615.79
5.4.220.0070.00415.79
5.4.210.0040.00715.79
5.4.200.0070.00415.79
5.4.190.0050.00515.79
5.4.180.0110.00015.79
5.4.170.0040.00715.79
5.4.160.0070.00315.79
5.4.150.0100.00015.79
5.4.140.0080.00315.79
5.4.130.0050.00515.79
5.4.120.0070.00415.79
5.4.110.0090.00215.79
5.4.100.0110.00015.79
5.4.90.0110.00015.79
5.4.80.0080.00315.79
5.4.70.0100.00015.79
5.4.60.0080.00315.79
5.4.50.0050.00515.79
5.4.40.0060.00415.79
5.4.30.0100.00015.79
5.4.20.0080.00315.79
5.4.10.0060.00415.79
5.4.00.0080.00315.79
5.3.290.0000.01115.79
5.3.280.0050.00515.79
5.3.270.0050.00515.79
5.3.260.0110.00015.79
5.3.250.0070.00415.79
5.3.240.0080.00315.79
5.3.230.0050.00515.79
5.3.220.0100.00015.79
5.3.210.0070.00415.79
5.3.200.0100.00015.79
5.3.190.0100.00015.79
5.3.180.0050.00515.79
5.3.170.0100.00015.79
5.3.160.0080.00415.79
5.3.150.0110.00015.79
5.3.140.0000.01015.79
5.3.130.0070.00415.79
5.3.120.0050.00515.79
5.3.110.0030.00715.79
5.3.100.0050.00515.79
5.3.90.0050.00515.79
5.3.80.0050.00515.79
5.3.70.0030.00715.79
5.3.60.0060.00315.79
5.3.50.0070.00315.79
5.3.40.0100.00015.79
5.3.30.0060.00315.79
5.3.20.0050.00515.79
5.3.10.0060.00315.79
5.3.00.0030.00615.79
5.2.170.0060.00315.79
5.2.160.0080.00015.79
5.2.150.0060.00215.79
5.2.140.0080.00015.79
5.2.130.0040.00415.79
5.2.120.0040.00415.79
5.2.110.0040.00415.79
5.2.100.0060.00315.79
5.2.90.0080.00015.79
5.2.80.0040.00415.79
5.2.70.0040.00415.79
5.2.60.0080.00015.79
5.2.50.0000.00915.79
5.2.40.0040.00415.79
5.2.30.0080.00015.79
5.2.20.0040.00415.79
5.2.10.0060.00215.79
5.2.00.0060.00315.79
5.1.60.0000.00715.79
5.1.50.0070.00015.79
5.1.40.0030.00515.79
5.1.30.0080.00015.79
5.1.20.0080.00015.79
5.1.10.0070.00015.79
5.1.00.0080.00015.79
5.0.50.0000.00615.79
5.0.40.0000.00615.79
5.0.30.0040.00415.79
5.0.20.0060.00015.79
5.0.10.0060.00015.79
5.0.00.0000.00515.79
4.4.90.0030.00015.79
4.4.80.0040.00015.79
4.4.70.0000.00415.79
4.4.60.0030.00015.79
4.4.50.0040.00015.79
4.4.40.0030.00015.79
4.4.30.0040.00015.79
4.4.20.0000.00415.79
4.4.10.0040.00015.79
4.4.00.0020.00215.79
4.3.110.0030.00015.79
4.3.100.0000.00315.79
4.3.90.0000.00415.79
4.3.80.0040.00015.79
4.3.70.0040.00015.79
4.3.60.0020.00115.79
4.3.50.0040.00015.79
4.3.40.0040.00015.79
4.3.30.0000.00315.79
4.3.20.0000.00315.79
4.3.10.0030.00015.79
4.3.00.0000.00315.79

preferences:
38.08 ms | 403 KiB | 5 Q