3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php echo strip_tags("Hello <b>world!</b>"); echo "Hello <b> world </b>"; ?> <p>This function strips a string from HTML, XML, and PHP tags. In this example, the <b> tag gets stripped.</p> </body> </html>

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.0070.01116.63
8.3.50.0150.00017.92
8.3.40.0060.01218.67
8.3.30.0110.00418.96
8.3.20.0040.00420.21
8.3.10.0070.00021.91
8.3.00.0050.00319.13
8.2.180.0110.00718.32
8.2.170.0100.00722.96
8.2.160.0130.00020.54
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.26
8.2.110.0070.00419.31
8.2.100.0040.00817.50
8.2.90.0090.00019.22
8.2.80.0080.00017.97
8.2.70.0000.00917.34
8.2.60.0060.00317.80
8.2.50.0080.00418.07
8.2.40.0070.00018.22
8.2.30.0040.00417.93
8.2.20.0040.00417.54
8.2.10.0080.00017.91
8.2.00.0000.00717.66
8.1.280.0070.00725.92
8.1.270.0090.00018.79
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00922.10
8.1.230.0040.00817.66
8.1.220.0030.00517.78
8.1.210.0040.00418.77
8.1.200.0000.00817.22
8.1.190.0090.00017.13
8.1.180.0030.00618.10
8.1.170.0080.00020.25
8.1.160.0000.00721.82
8.1.150.0040.00418.77
8.1.140.0000.00717.32
8.1.130.0040.00417.73
8.1.120.0000.00717.39
8.1.110.0040.00417.34
8.1.100.0000.00817.33
8.1.90.0030.00517.33
8.1.80.0000.00817.31
8.1.70.0080.00017.37
8.1.60.0030.00617.49
8.1.50.0030.00517.41
8.1.40.0000.00817.27
8.1.30.0030.00717.38
8.1.20.0040.00417.44
8.1.10.0040.00417.32
8.1.00.0060.00317.24
8.0.300.0030.00518.77
8.0.290.0050.00216.63
8.0.280.0030.00318.42
8.0.270.0040.00417.19
8.0.260.0030.00317.16
8.0.250.0030.00316.96
8.0.240.0060.00016.91
8.0.230.0060.00316.87
8.0.220.0060.00016.67
8.0.210.0000.00716.70
8.0.200.0060.00016.69
8.0.190.0000.00716.73
8.0.180.0030.00516.68
8.0.170.0030.00516.85
8.0.160.0040.00416.79
8.0.150.0070.00016.61
8.0.140.0040.00416.75
8.0.130.0070.00013.23
8.0.120.0030.00516.61
8.0.110.0000.00816.82
8.0.100.0040.00416.64
8.0.90.0040.00416.82
8.0.80.0090.00916.71
8.0.70.0070.00016.80
8.0.60.0020.00516.80
8.0.50.0040.00416.79
8.0.30.0120.00816.93
8.0.20.0180.00417.40
8.0.10.0030.00316.73
8.0.00.0070.01116.56
7.4.330.0000.00515.03
7.4.320.0040.00416.48
7.4.300.0040.00416.36
7.4.290.0030.00616.31
7.4.280.0070.00316.36
7.4.270.0000.00716.39
7.4.260.0030.00316.38
7.4.250.0040.00416.32
7.4.240.0020.00516.40
7.4.230.0030.00316.45
7.4.220.0210.00316.36
7.4.210.0110.00516.41
7.4.200.0070.00016.54
7.4.160.0080.00816.37
7.4.150.0030.01417.40
7.4.140.0110.01017.86
7.4.130.0120.00816.33
7.4.120.0080.01316.48
7.4.110.0100.01316.19
7.4.100.0060.01216.34
7.4.90.0070.01016.29
7.4.80.0070.01019.39
7.4.70.0090.00616.51
7.4.60.0050.01116.51
7.4.50.0000.00816.27
7.4.40.0030.01616.41
7.4.30.0120.00916.23
7.4.00.0050.01314.91
7.3.330.0000.00513.00
7.3.320.0060.00612.89
7.3.310.0030.00316.13
7.3.300.0000.00615.99
7.3.290.0000.00716.03
7.3.280.0070.01016.10
7.3.270.0030.01417.40
7.3.260.0110.00616.42
7.3.250.0090.01516.35
7.3.240.0100.00716.15
7.3.230.0090.00916.41
7.3.210.0040.01216.20
7.3.200.0090.00619.39
7.3.190.0060.01316.21
7.3.180.0090.00616.21
7.3.170.0140.00716.27
7.3.160.0060.01216.61
7.3.120.0100.01014.55
7.3.110.0100.00614.77
7.3.100.0090.01014.60
7.3.90.0030.01014.76
7.3.80.0020.01214.71
7.3.70.0070.00514.65
7.3.60.0030.01214.78
7.3.50.0070.00714.54
7.3.40.0050.00814.61
7.3.30.0010.01214.73
7.3.20.0050.00716.52
7.3.10.0050.00816.49
7.3.00.0040.00916.48
7.2.330.0090.00816.43
7.2.320.0120.00316.61
7.2.310.0060.00916.39
7.2.300.0130.01016.43
7.2.290.0040.01316.41
7.2.250.0060.01214.79
7.2.240.0030.01614.66
7.2.230.0100.00514.87
7.2.220.0020.01114.96
7.2.210.0030.01214.84
7.2.200.0050.01114.68
7.2.190.0050.00414.88
7.2.180.0050.00814.79
7.2.170.0050.00814.78
7.2.160.0060.00914.99
7.2.150.0000.01116.63
7.2.140.0080.00416.91
7.2.130.0030.00616.73
7.2.120.0060.00916.72
7.2.110.0030.00716.73
7.2.100.0070.00716.88
7.2.90.0030.01216.61
7.2.80.0040.01116.55
7.2.70.0000.01716.91
7.2.60.0090.00717.00
7.2.50.0070.00716.88
7.2.40.0080.00816.78
7.2.30.0040.01116.55
7.2.20.0120.00316.77
7.2.10.0070.00716.66
7.2.00.0060.00618.07
7.1.330.0070.00915.50
7.1.320.0050.01015.57
7.1.310.0050.00915.59
7.1.300.0030.00915.65
7.1.290.0020.01015.63
7.1.280.0050.01015.72
7.1.270.0050.01015.59
7.1.260.0040.00815.57
7.1.250.0040.00815.68
7.1.240.0070.00715.70
7.1.230.0080.00315.78
7.1.220.0030.00715.58
7.1.210.0090.00615.54
7.1.200.0050.00715.75
7.1.190.0080.00015.77
7.1.180.0030.01015.27
7.1.170.0100.00715.70
7.1.160.0080.00415.60
7.1.150.0040.01415.71
7.1.140.0100.00715.57
7.1.130.0070.00715.60
7.1.120.0100.00315.47
7.1.110.0070.00715.61
7.1.100.0060.00816.95
7.1.90.0090.00415.63
7.1.80.0120.00315.71
7.1.70.0020.01016.34
7.1.60.0020.01116.44
7.1.50.0070.01525.13
7.1.40.0060.00315.64
7.1.30.0060.00915.39
7.1.20.0080.00615.48
7.1.10.0030.00715.78
7.1.00.0050.04219.12
7.0.330.0030.00615.27
7.0.320.0060.00915.30
7.0.310.0000.00815.33
7.0.300.0060.00915.29
7.0.290.0070.00715.05
7.0.280.0030.01415.36
7.0.270.0030.01015.23
7.0.260.0060.01015.39
7.0.250.0120.00315.38
7.0.240.0060.00615.53
7.0.230.0090.00015.17
7.0.220.0070.00715.32
7.0.210.0030.00915.27
7.0.200.0060.00916.04
7.0.190.0070.00315.41
7.0.180.0090.00315.28
7.0.170.0060.00915.46
7.0.160.0030.01315.42
7.0.150.0030.00715.09
7.0.140.0030.03818.70
7.0.130.0000.01515.23
7.0.120.0060.00615.15
7.0.110.0030.01015.24
7.0.100.0100.00315.34
7.0.90.0000.01015.45
7.0.80.0000.01015.14
7.0.70.0060.00615.23
7.0.60.0020.02717.67
7.0.50.0030.02516.71
7.0.40.0070.02816.71
7.0.30.0220.04116.81
7.0.20.0150.03816.75
7.0.10.0220.04116.80
7.0.00.0070.04316.79
5.6.400.0120.00314.14
5.6.390.0090.00614.44
5.6.380.0090.00313.96
5.6.370.0060.00314.29
5.6.360.0030.00614.25
5.6.350.0090.00614.18
5.6.340.0100.00614.16
5.6.330.0030.01014.21
5.6.320.0070.01014.09
5.6.310.0030.01014.20
5.6.300.0030.01014.43
5.6.290.0030.01014.28
5.6.280.0070.00713.94
5.6.270.0030.01114.09
5.6.260.0040.00714.03
5.6.250.0070.00713.93
5.6.240.0060.00914.18
5.6.230.0060.00614.05
5.6.220.0040.00714.14
5.6.210.0080.02317.49
5.6.200.0080.02616.06
5.6.190.0080.02317.52
5.6.180.0140.02417.31
5.6.170.0150.04517.32
5.6.160.0050.04617.21
5.6.150.0050.03916.08
5.6.140.0080.02316.36
5.6.130.0080.03016.32
5.6.120.0100.04217.68
5.6.110.0190.03317.82
5.6.100.0100.04317.70
5.6.90.0080.04517.60
5.6.80.0110.04017.21
5.6.70.0030.01614.05
5.6.60.0000.01414.23
5.6.50.0050.00513.99
5.6.40.0000.01514.28
5.6.30.0000.01613.92
5.6.20.0110.00314.13
5.6.10.0070.00413.96
5.6.00.0040.01114.24
5.5.380.0030.01314.23
5.5.370.0110.00414.06
5.5.360.0000.01314.23
5.5.350.0170.03917.21
5.5.340.0080.04116.00
5.5.330.0100.02017.21
5.5.320.0040.04717.08
5.5.310.0120.02516.99
5.5.300.0070.04515.92
5.5.290.0030.04916.06
5.5.280.0150.03717.62
5.5.270.0070.03217.39
5.5.260.0060.04917.41
5.5.250.0100.04417.53
5.5.240.0100.03217.07
5.5.230.0070.00714.14
5.5.220.0030.01013.99
5.5.210.0030.01014.12
5.5.200.0110.00413.81
5.5.190.0070.00713.77
5.5.180.0080.00313.98
5.5.170.0060.00914.18
5.5.160.0030.00714.16
5.5.150.0070.00714.38
5.5.140.0100.00314.21
5.5.130.0090.00614.22
5.5.120.0000.01614.23
5.5.110.0030.01113.98
5.5.100.0090.00613.94
5.5.90.0090.00614.12
5.5.80.0030.00614.05
5.5.70.0030.00613.80
5.5.60.0000.01013.86
5.5.50.0070.01014.20
5.5.40.0040.00713.90
5.5.30.0030.01014.22
5.5.20.0030.01013.91
5.5.10.0040.01214.09
5.5.00.0040.00713.62
5.4.450.0150.02715.11
5.4.440.0420.03714.98
5.4.430.0560.03815.26
5.4.420.0080.03014.97
5.4.410.0110.03514.96
5.4.400.0200.04514.70
5.4.390.0170.03314.55
5.4.380.0220.03214.70
5.4.370.0220.02814.74
5.4.360.0190.02714.56
5.4.350.0200.02914.64
5.4.340.0180.02814.73
5.4.330.0070.00410.77
5.4.320.0160.03314.83
5.4.310.0250.03414.57
5.4.300.0180.04014.59
5.4.290.0210.04014.66
5.4.280.0240.02414.71
5.4.270.0150.04414.75
5.4.260.0220.02814.81
5.4.250.0900.03514.72
5.4.240.0240.04014.71
5.4.230.0700.03214.60
5.4.220.0150.04114.65
5.4.210.0850.03914.65
5.4.200.0180.03613.67
5.4.190.0590.03414.53
5.4.180.0210.03214.67
5.4.170.0790.04114.64
5.4.160.0210.03314.69
5.4.150.0290.03014.36
5.4.140.0730.02613.31
5.4.130.0230.03313.50
5.4.120.0760.03813.58
5.4.110.0250.02913.45
5.4.100.0130.03513.34
5.4.90.0850.04013.39
5.4.80.0240.03113.25
5.4.70.0270.03013.49
5.4.60.0210.03313.51
5.4.50.0920.03313.52
5.4.40.0150.03313.40
5.4.30.0650.02713.29
5.4.20.0230.03513.47
5.4.10.0650.03013.52
5.4.00.0200.02513.13
5.3.290.1430.04014.69
5.3.280.0330.05314.50
5.3.270.0330.05314.58
5.3.260.1000.06314.65
5.3.250.1130.05314.50
5.3.240.0370.07014.68
5.3.230.0230.08314.66
5.3.220.1200.06014.59
5.3.210.0400.06314.46
5.3.200.0900.05714.52
5.3.190.0330.05714.55
5.3.180.0930.08314.66
5.3.170.1400.06314.52
5.3.160.0430.06014.47
5.3.150.1030.06014.45
5.3.140.0370.06714.46
5.3.130.0330.05014.43
5.3.120.0400.06314.64
5.3.110.1200.06714.50
5.3.100.0330.05014.02
5.3.90.1200.06713.99
5.3.80.0300.05013.95
5.3.70.0230.05314.02
5.3.60.0730.06314.09
5.3.50.0930.05313.90
5.3.40.0330.05313.92
5.3.30.0430.03713.88
5.3.20.0370.04713.64
5.3.10.0330.04713.72
5.3.00.1230.06013.73
5.2.170.0270.05311.14
5.2.160.0230.05311.09
5.2.150.0370.04711.11
5.2.140.0200.04311.17
5.2.130.0300.05011.05
5.2.120.0370.04011.06
5.2.110.1100.05311.09
5.2.100.0330.05011.05
5.2.90.0270.05311.02
5.2.80.0300.05711.15
5.2.70.0470.03711.08
5.2.60.0330.05311.08
5.2.50.0300.05011.05
5.2.40.0230.05010.95
5.2.30.0270.05010.93
5.2.20.0270.04711.00
5.2.10.0230.05010.86
5.2.00.0230.05310.68
5.1.60.0330.03310.02
5.1.50.0900.03310.00
5.1.40.0200.0339.98
5.1.30.0270.03010.37
5.1.20.0200.04310.32
5.1.10.0930.04710.09
5.1.00.0200.04010.04
5.0.50.0100.0308.58
5.0.40.0100.0308.42
5.0.30.0100.0578.25
5.0.20.0130.0278.37
5.0.10.0100.0308.25
5.0.00.0130.0438.16
4.4.90.0070.0275.93
4.4.80.0130.0205.87
4.4.70.0200.0275.84
4.4.60.0100.0305.93
4.4.50.0030.0275.91
4.4.40.0100.0335.86
4.4.30.0100.0205.94
4.4.20.0200.0135.92
4.4.10.0100.0235.92
4.4.00.0100.0405.97
4.3.110.0130.0275.75
4.3.100.0130.0175.84
4.3.90.0130.0175.80
4.3.80.0070.0405.76
4.3.70.0100.0235.87
4.3.60.0100.0205.91
4.3.50.0030.0275.77
4.3.40.0170.0305.75
4.3.30.0030.0304.54
4.3.20.0070.0234.55
4.3.10.0000.0374.47
4.3.00.0000.0236.90

preferences:
50.02 ms | 400 KiB | 5 Q