3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ ['post_content' => '<td><b> Lenovo </b></td>'], ['post_content' => '<td><b> Dell </b></td>'], ]; array_walk($data, function(&$value, $key) { $value['post_content'] = trim(strip_tags($value['post_content'])); }); print_r($data);

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.140.0130.00717.43
8.4.130.0110.01017.51
8.4.120.0110.00822.29
8.4.110.0100.00722.45
8.4.100.0160.00517.49
8.4.90.0110.00820.54
8.4.80.0140.00518.87
8.4.70.0140.00619.05
8.4.60.0070.00420.33
8.4.50.0100.01022.21
8.4.40.0080.00819.24
8.4.30.0140.00417.66
8.4.20.0090.00619.55
8.4.10.0040.00417.68
8.3.270.0100.00916.43
8.3.260.0140.00516.34
8.3.250.0060.00118.91
8.3.240.0130.00716.98
8.3.230.0100.01016.59
8.3.220.0130.00619.04
8.3.210.0090.00916.65
8.3.200.0030.00616.62
8.3.190.0100.00320.89
8.3.180.0080.00918.93
8.3.170.0090.00917.19
8.3.160.0140.00416.65
8.3.150.0070.01116.48
8.3.140.0070.01018.75
8.3.130.0000.00816.73
8.3.120.0100.00720.94
8.3.110.0060.00318.40
8.3.100.0060.00316.63
8.3.90.0080.00026.77
8.3.80.0030.00718.31
8.3.70.0070.00716.50
8.3.60.0090.00618.43
8.3.50.0100.00319.18
8.3.40.0000.01418.67
8.3.30.0140.00018.67
8.3.20.0040.00421.78
8.3.10.0040.00421.77
8.3.00.0050.00221.90
8.2.290.0120.00620.80
8.2.280.0090.00919.06
8.2.270.0030.00516.67
8.2.260.0070.00717.12
8.2.250.0000.00816.75
8.2.240.0180.00016.81
8.2.230.0040.00420.94
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0030.00616.50
8.2.190.0070.00716.58
8.2.180.0140.00716.75
8.2.170.0110.00722.96
8.2.160.0080.00520.77
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.79
8.2.110.0030.00721.11
8.2.100.0060.00617.97
8.2.90.0040.00419.63
8.2.80.0000.00817.97
8.2.70.0060.00317.75
8.2.60.0030.00618.05
8.2.50.0000.00918.07
8.2.40.0000.00818.35
8.2.30.0040.00418.03
8.2.20.0000.00818.16
8.2.10.0000.00718.23
8.2.00.0000.00718.23
8.1.330.0110.00721.93
8.1.320.0120.01321.69
8.1.310.0030.01016.82
8.1.300.0130.00616.13
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0050.00322.19
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00321.24
8.1.230.0110.00020.89
8.1.220.0060.00317.74
8.1.210.0030.00518.84
8.1.200.0030.00617.35
8.1.190.0000.00817.22
8.1.180.0060.00318.10
8.1.170.0080.00018.91
8.1.160.0000.00818.86
8.1.150.0050.00318.86
8.1.140.0040.00418.98
8.1.130.0030.00317.75
8.1.120.0000.00717.47
8.1.110.0070.00017.35
8.1.100.0040.00417.45
8.1.90.0000.00717.34
8.1.80.0030.00517.35
8.1.70.0000.00717.38
8.1.60.0030.00717.61
8.1.50.0000.00817.43
8.1.40.0000.00817.54
8.1.30.0060.00317.63
8.1.20.0000.00717.55
8.1.10.0000.00817.51
8.1.00.0040.00417.38
8.0.300.0000.00719.77
8.0.290.0000.01116.63
8.0.280.0070.00018.42
8.0.270.0030.00317.19
8.0.260.0000.00717.14
8.0.250.0040.00416.87
8.0.240.0080.00016.93
8.0.230.0030.00316.90
8.0.220.0030.00316.86
8.0.210.0080.00016.70
8.0.200.0000.00716.90
8.0.190.0030.00316.86
8.0.180.0000.00716.92
8.0.170.0060.00316.94
8.0.160.0000.00816.80
8.0.150.0030.00616.89
8.0.140.0030.00316.73
8.0.130.0000.00513.33
8.0.120.0030.00616.86
8.0.110.0040.00416.93
8.0.100.0030.00616.72
8.0.90.0080.00016.80
8.0.80.0140.00416.88
8.0.70.0050.00316.93
8.0.60.0040.00416.89
8.0.50.0030.00416.88
8.0.30.0070.01016.97
8.0.20.0080.01117.40
8.0.10.0030.00617.00
8.0.00.0050.01316.58
7.4.330.0000.00415.55
7.4.320.0030.00316.57
7.4.300.0000.00616.42
7.4.290.0040.00416.39
7.4.280.0070.00016.54
7.4.270.0030.00316.57
7.4.260.0070.00016.38
7.4.250.0030.00316.50
7.4.240.0030.00316.50
7.4.230.0050.00316.38
7.4.220.0030.00416.50
7.4.210.0110.00416.60
7.4.200.0040.00416.69
7.4.160.0100.00716.40
7.4.150.0140.00317.40
7.4.140.0120.00817.86
7.4.130.0060.01716.34
7.4.120.0080.00916.45
7.4.110.0130.00916.57
7.4.100.0080.00816.44
7.4.90.0070.01116.54
7.4.80.0120.01219.39
7.4.70.0100.00616.50
7.4.60.0040.01216.37
7.4.50.0070.00516.16
7.4.40.0090.01216.49
7.4.00.0070.01014.79
7.3.330.0000.00513.08
7.3.320.0060.00013.12
7.3.310.0000.00716.34
7.3.300.0040.00416.13
7.3.290.0120.00416.27
7.3.280.0120.00516.25
7.3.270.0130.01017.40
7.3.260.0090.00916.43
7.3.250.0090.01016.44
7.3.240.0100.00916.35
7.3.230.0030.01416.62
7.3.210.0060.01316.52
7.3.200.0090.01016.64
7.3.190.0100.00716.45
7.3.180.0100.00616.28
7.3.170.0040.01216.37
7.3.160.0030.01816.38
7.2.330.0080.01216.68
7.2.320.0160.00016.41
7.2.310.0130.00616.69
7.2.300.0100.00716.67
7.2.290.0030.01216.46
7.2.60.0070.00716.81
7.2.00.0180.01517.80
7.1.200.0100.00315.42
7.1.120.0260.00616.76
7.1.110.0220.01015.97
7.1.100.0170.01416.11
7.1.90.0140.00716.03
7.1.80.0090.01215.87
7.1.70.0180.00415.25
7.1.60.0240.01033.16
7.1.50.0250.01332.93
7.1.40.0270.00732.61
7.1.30.0320.00432.65
7.1.20.0280.00932.75
7.1.10.0210.00614.92
7.1.00.0120.00914.91

preferences:
30.18 ms | 403 KiB | 5 Q