3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Let's observe obviously knowledgeable approaches that target helpful items succinctly"; echo preg_replace('~\S\K\S*\s*~u', '', $string);

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.120.0110.00720.47
8.4.110.0070.00220.00
8.4.100.0120.00818.79
8.4.90.0090.01023.82
8.4.80.0140.00619.07
8.4.70.0110.01117.88
8.4.60.0130.00823.88
8.4.50.0050.00320.42
8.4.40.0070.01319.48
8.4.30.0030.01320.42
8.4.20.0100.01018.05
8.4.10.0060.01020.36
8.3.250.0090.00918.95
8.3.240.0100.00816.74
8.3.230.0130.00616.92
8.3.220.0090.00918.84
8.3.210.0100.00818.68
8.3.200.0080.00516.70
8.3.190.0060.00217.00
8.3.180.0130.00718.43
8.3.170.0070.01116.51
8.3.160.0110.00717.36
8.3.150.0110.00817.09
8.3.140.0200.00016.50
8.3.130.0060.00318.54
8.3.120.0050.00320.75
8.3.110.0000.00820.94
8.3.100.0190.00024.06
8.3.90.0080.00026.77
8.3.80.0030.00618.56
8.3.70.0110.00416.63
8.3.60.0180.00016.63
8.3.50.0070.00718.69
8.3.40.0040.01119.09
8.3.30.0030.01219.17
8.3.20.0000.00824.18
8.3.10.0080.00024.66
8.3.00.0000.00726.16
8.2.290.0110.00820.48
8.2.280.0110.00818.56
8.2.270.0040.01519.33
8.2.260.0120.00619.17
8.2.250.0050.00318.59
8.2.240.0080.00317.38
8.2.230.0090.00622.58
8.2.220.0090.00037.54
8.2.210.0150.00426.77
8.2.200.0060.00316.63
8.2.190.0130.00916.63
8.2.180.0060.01225.92
8.2.170.0140.00019.25
8.2.160.0070.00722.96
8.2.150.0050.00225.66
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0000.00721.23
8.2.110.0000.00919.19
8.2.100.0120.00017.97
8.2.90.0060.00317.88
8.2.80.0120.00017.97
8.2.70.0000.00817.75
8.2.60.0000.00817.88
8.2.50.0030.00617.68
8.2.40.0030.00519.73
8.2.30.0000.00718.16
8.2.20.0020.00520.46
8.2.10.0000.00818.00
8.2.00.0070.00319.16
8.1.330.0130.00616.14
8.1.320.0090.01016.50
8.1.310.0070.00718.30
8.1.300.0130.00616.16
8.1.290.0060.00318.88
8.1.280.0100.00725.92
8.1.270.0050.00323.99
8.1.260.0060.00326.35
8.1.250.0030.00528.09
8.1.240.0050.00522.14
8.1.230.0090.00319.16
8.1.220.0000.00817.78
8.1.210.0030.00518.77
8.1.200.0000.00917.35
8.1.190.0080.00017.35
8.1.180.0080.00418.10
8.1.170.0040.00417.62
8.1.160.0050.00218.96
8.1.150.0040.00418.74
8.1.140.0040.00417.56
8.1.130.0000.00717.47
8.1.120.0000.00717.46
8.1.110.0000.00917.55
8.1.100.0070.00617.45
8.1.90.0080.00517.49
8.1.80.0100.00417.51
8.1.70.0060.00717.52
8.1.60.0110.00517.59
8.1.50.0120.00417.52
8.1.40.0120.00617.59
8.1.30.0110.00717.66
8.1.20.0100.00717.65
8.1.10.0130.00317.61
8.1.00.0090.00817.55
8.0.300.0040.00420.15
8.0.290.0030.00616.88
8.0.280.0040.00418.38
8.0.270.0030.00317.01
8.0.260.0070.00017.07
8.0.250.0000.00817.09
8.0.240.0070.00017.23
8.0.230.0110.00316.98
8.0.220.0080.00617.04
8.0.210.0080.00517.00
8.0.200.0040.00917.04
8.0.190.0090.00416.99
8.0.180.0080.00416.98
8.0.170.0080.00717.01
8.0.160.0070.00716.96
8.0.150.0080.00616.92
8.0.140.0100.00516.95
8.0.130.0110.00416.87
8.0.120.0100.00417.02
8.0.110.0090.00517.03
8.0.100.0120.00417.03
8.0.90.0130.00217.06
8.0.80.0100.00517.05
8.0.70.0100.00516.98
8.0.60.0100.00516.98
8.0.50.0110.00417.02
8.0.30.0090.00617.02
8.0.20.0100.00417.08
8.0.10.0120.00317.10
7.4.330.0050.00015.55
7.4.320.0000.00816.74
7.4.300.0120.00316.70
7.4.290.0090.00616.72
7.4.280.0130.00316.78
7.4.270.0110.00616.77
7.4.260.0120.00416.70
7.4.250.0120.00616.69
7.4.240.0130.00416.72
7.4.230.0090.00916.72
7.4.220.0110.00416.69
7.4.210.0110.00316.67
7.4.200.0110.00416.71
7.4.190.0100.00416.65
7.4.180.0100.00416.66
7.4.160.0090.00516.62
7.4.150.0080.00616.71
7.4.140.0100.00516.57
7.4.130.0120.00216.64
7.4.120.0100.00416.56
7.4.110.0080.00616.60
7.4.100.0100.00316.70
7.4.90.0090.00416.53
7.4.80.0090.00516.62
7.4.70.0100.00416.58
7.4.60.0120.00316.56
7.4.50.0110.00416.52
7.4.40.0100.00416.55
7.4.30.0070.00716.59
7.4.20.0060.00616.50
7.4.10.0080.00416.62
7.4.00.0080.00416.55

preferences:
95.58 ms | 403 KiB | 5 Q