3v4l.org

run code in 300+ PHP versions simultaneously
<?php $kamar = "12223233 sekamar berempat"; echo trim(preg_replace("/[^a-z]+/", " ", $kamar));

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.01018.43
8.3.50.0110.00718.34
8.3.40.0080.00818.66
8.3.30.0080.00618.96
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.180.0130.00325.92
8.2.170.0090.00918.97
8.2.160.0140.00022.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00726.35
8.2.110.0030.00622.34
8.2.100.0080.00417.91
8.2.90.0000.00917.75
8.2.80.0040.00419.03
8.2.70.0030.00617.75
8.2.60.0130.00317.52
8.2.50.0030.00618.07
8.2.40.0080.00018.09
8.2.30.0020.00518.14
8.2.20.0000.00717.97
8.2.10.0000.00819.15
8.2.00.0070.00019.16
8.1.280.0110.00725.92
8.1.270.0110.00523.99
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0050.00518.80
8.1.230.0070.00717.89
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0000.00917.25
8.1.190.0030.00617.23
8.1.180.0000.00718.10
8.1.170.0000.00718.63
8.1.160.0030.00318.79
8.1.150.0050.00218.89
8.1.140.0040.00418.85
8.1.130.0070.00019.96
8.1.120.0000.00817.50
8.1.110.0040.00417.52
8.1.100.0080.00017.42
8.1.90.0030.00617.59
8.1.80.0000.00817.55
8.1.70.0070.00017.48
8.1.60.0040.00417.56
8.1.50.0030.00517.55
8.1.40.0000.00817.60
8.1.30.0040.00817.79
8.1.20.0000.00817.76
8.1.10.0040.00417.62
8.1.00.0000.00717.55
8.0.300.0000.00820.04
8.0.290.0040.00416.75
8.0.280.0030.00518.30
8.0.270.0070.00018.20
8.0.260.0030.00318.57
8.0.250.0040.00417.05
8.0.240.0000.00717.00
8.0.230.0070.00016.91
8.0.220.0020.00516.95
8.0.210.0040.00416.92
8.0.200.0040.00417.05
8.0.190.0080.00016.93
8.0.180.0040.00417.01
8.0.170.0040.00416.98
8.0.160.0000.00716.95
8.0.150.0040.00416.92
8.0.140.0000.00716.97
8.0.130.0000.00513.30
8.0.120.0030.00616.94
8.0.110.0040.00417.03
8.0.100.0040.00417.07
8.0.90.0030.00316.81
8.0.80.0100.00816.96
8.0.70.0070.00016.79
8.0.60.0030.00316.95
8.0.50.0060.00316.96
8.0.30.0100.00717.16
8.0.20.0110.00717.36
8.0.10.0120.00617.18
8.0.00.0140.00517.18
7.4.330.0000.00616.86
7.4.320.0050.00216.64
7.4.300.0000.00616.64
7.4.290.0000.00816.69
7.4.280.0000.00816.57
7.4.270.0030.00316.64
7.4.260.0000.00513.34
7.4.250.0000.00716.75
7.4.240.0030.00416.69
7.4.230.0030.00316.77
7.4.220.0020.00516.76
7.4.210.0070.00716.73
7.4.200.0000.00716.44
7.4.150.0190.00616.28
7.4.140.0100.01016.43
7.4.130.0150.00316.69
7.4.120.0140.00316.74
7.4.110.0100.00716.58
7.4.100.0090.00916.49
7.4.90.0000.01716.71
7.4.80.0100.00716.50
7.4.70.0150.00716.68
7.4.60.0160.00316.58
7.4.50.0110.00716.50
7.4.40.0080.00816.55
7.4.30.0060.01216.46
7.4.20.0060.01116.54
7.4.10.0060.01416.54
7.4.00.0070.01016.35
7.3.330.0000.00916.11
7.3.320.0000.00613.12
7.3.310.0060.00016.33
7.3.300.0070.00016.32
7.3.290.0070.00816.32
7.3.270.0170.00416.54
7.3.260.0120.00416.37
7.3.250.0070.01116.64
7.3.240.0070.01016.46
7.3.230.0140.00416.25
7.3.220.0060.01216.44
7.3.210.0060.00916.48
7.3.200.0070.01116.32
7.3.190.0070.01116.44
7.3.180.0110.01116.32
7.3.170.0040.01516.34
7.3.160.0060.01516.53
7.3.150.0150.00316.20
7.3.140.0120.00916.67
7.3.130.0060.01316.62
7.3.120.0090.00916.32
7.3.110.0130.00516.17
7.3.100.0120.00616.37
7.3.90.0120.00616.44
7.3.80.0050.01116.23
7.3.70.0140.00316.50
7.3.60.0110.00716.32
7.3.50.0060.01216.38
7.3.40.0110.00716.48
7.3.30.0090.01416.45
7.3.20.0170.00316.52
7.3.10.0120.00916.36
7.3.00.0160.01016.43

preferences:
60.89 ms | 401 KiB | 5 Q