3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source = '2rer*(0👍ගම්මැද්ද V FORCE ඉනොවේශන් නේෂන් සඳහා එවූ නිර්මාණය'; $target = '2rer0ගම්මැද්ද-v-force-ඉනොවේශන්-නේෂන්-සඳහා-එවූ-නිර්මාණය'; $slug = mb_strtolower($source); $slug = str_replace(' ', '-', $slug); $slug = preg_replace('/[^\p{L}\p{N}\p{M}-]+/u', '', $slug); var_dump($target === $slug);

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.5.20.0080.01019.28
8.5.10.0090.00916.53
8.5.00.0110.01120.38
8.4.170.0120.00923.79
8.4.160.0040.00623.79
8.4.150.0020.00014.05
8.4.140.0140.00817.84
8.4.130.0180.00317.72
8.4.120.0080.01220.39
8.4.110.0090.01219.02
8.4.100.0120.01017.98
8.4.90.0120.00917.98
8.4.80.0100.00919.92
8.4.70.0090.00519.98
8.4.60.0130.00918.03
8.4.50.0140.01018.48
8.4.40.0100.01018.04
8.4.30.0100.01018.74
8.4.20.0080.01518.91
8.4.10.0070.01122.45
8.3.300.0090.01020.86
8.3.290.0170.00318.87
8.3.280.0050.00518.72
8.3.270.0120.01116.88
8.3.260.0100.00916.62
8.3.250.0100.00918.66
8.3.240.0130.00516.97
8.3.230.0080.01116.57
8.3.220.0080.01018.29
8.3.210.0110.00816.95
8.3.200.0150.00516.93
8.3.190.0120.00716.91
8.3.180.0100.00618.35
8.3.170.0120.00618.80
8.3.160.0060.01320.42
8.3.150.0130.00316.67
8.3.140.0040.01417.21
8.3.130.0050.00318.62
8.3.120.0060.00318.98
8.3.110.0100.00020.94
8.3.100.0060.00316.92
8.3.90.0030.00626.77
8.3.80.0060.00316.59
8.3.70.0110.00416.63
8.3.60.0110.01118.43
8.3.50.0050.01223.72
8.3.40.0130.00319.04
8.3.30.0080.00619.22
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.300.0120.00918.31
8.2.290.0080.00720.45
8.2.280.0100.00817.03
8.2.270.0120.00317.13
8.2.260.0110.00418.56
8.2.250.0050.00317.41
8.2.240.0090.00016.80
8.2.230.0060.00322.58
8.2.220.0060.00924.06
8.2.210.0150.00326.77
8.2.200.0030.00617.13
8.2.190.0120.00616.75
8.2.180.0170.00725.92
8.2.170.0090.00622.96
8.2.160.0090.00622.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0060.00326.16
8.2.120.0050.00221.07
8.2.110.0040.00721.00
8.2.100.0140.00018.09
8.2.90.0040.00417.97
8.2.80.0000.00819.09
8.2.70.0080.00017.75
8.2.60.0040.00417.86
8.2.50.0040.00418.05
8.2.40.0070.00018.22
8.2.30.0020.00518.14
8.2.20.0040.00418.08
8.2.10.0030.00619.23
8.2.00.0060.00319.25
8.1.340.0160.00717.76
8.1.330.0080.01116.52
8.1.320.0090.01116.57
8.1.310.0120.00618.37
8.1.300.0090.00919.97
8.1.290.0030.00630.84
8.1.280.0140.00725.92
8.1.270.0000.00924.01
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.10
8.1.230.0070.00421.04
8.1.220.0050.00217.79
8.1.210.0080.00018.77
8.1.200.0030.00617.48
8.1.190.0050.00617.25
8.1.180.0080.00018.10
8.1.170.0000.00817.62
8.1.160.0020.00618.92
8.1.150.0060.00218.94
8.1.140.0000.00719.07
8.1.130.0080.00017.63
8.1.120.0030.00917.60
8.1.110.0040.00417.62
8.1.100.0000.00817.50
8.1.90.0030.00317.61
8.1.80.0030.00617.61
8.1.70.0000.00817.46
8.1.60.0050.00317.79
8.1.50.0050.00317.72
8.1.40.0030.00617.66
8.1.30.0000.00817.89
8.1.20.0040.00817.70
8.1.10.0030.00617.59
8.1.00.0110.00017.68
8.0.300.0040.00420.08
8.0.290.0000.00817.00
8.0.280.0000.00718.43
8.0.270.0000.00818.23
8.0.260.0000.00817.09
8.0.250.0030.00317.25
8.0.240.0000.00717.11
8.0.230.0000.00717.20
8.0.220.0000.00817.24
8.0.210.0040.00417.09
8.0.200.0030.00317.21
8.0.190.0000.00817.21
8.0.180.0080.00017.21
8.0.170.0070.00417.18
8.0.160.0000.00717.18
8.0.150.0000.00716.99
8.0.140.0090.00017.01
8.0.130.0000.00513.59
8.0.120.0040.00417.01
8.0.110.0030.00517.19
8.0.100.0040.00416.96
8.0.90.0060.00316.95
8.0.80.0110.00417.13
8.0.70.0000.00717.20
8.0.60.0020.00517.16
8.0.50.0000.00717.00
8.0.30.0070.01017.47
8.0.20.0170.01417.27
8.0.10.0000.00717.02
8.0.00.0060.01316.92
7.4.330.0000.00615.55
7.4.320.0060.00017.02
7.4.300.0000.00716.94
7.4.290.0030.00316.83
7.4.280.0050.00316.91
7.4.270.0070.00016.79
7.4.260.0060.00013.57
7.4.250.0000.00716.95
7.4.240.0030.00316.81
7.4.230.0000.00716.89
7.4.220.0000.00716.97
7.4.210.0120.00516.92
7.4.200.0040.00416.95
7.4.130.0130.00516.90
7.4.120.0100.01016.68
7.4.110.0130.00616.83
7.4.100.0100.00716.78
7.4.90.0100.00616.75
7.4.80.0090.00919.39
7.4.70.0060.01516.61
7.4.60.0090.00916.91
7.4.50.0070.00916.63
7.4.40.0150.00416.66
7.4.30.0120.00616.63
7.4.20.0170.00416.57
7.4.10.0070.01116.71
7.4.00.0100.00616.64
7.3.330.0000.00716.36
7.3.320.0000.00713.46
7.3.310.0030.00316.46
7.3.300.0060.00016.37
7.3.290.0080.00616.54
7.3.280.0100.01016.48
7.3.260.0160.00616.50
7.3.240.0110.00816.56
7.3.230.0100.00716.29
7.3.210.0100.00616.40
7.3.200.0110.00716.89
7.3.190.0130.00716.64
7.3.180.0030.01216.82
7.3.170.0100.00716.52
7.3.160.0030.01316.48
7.3.150.0130.00516.45
7.3.140.0090.00916.44
7.3.130.0100.00916.59
7.3.120.0130.00316.46
7.3.110.0110.00716.59
7.3.100.0150.00416.66
7.3.90.0140.00416.33
7.3.80.0090.00916.39
7.3.70.0070.01116.47
7.3.60.0070.01016.43
7.3.50.0090.00916.43
7.3.40.0120.00616.56
7.3.30.0110.00816.49
7.3.20.0100.00716.46
7.3.10.0100.01016.48
7.3.00.0100.01016.30
7.2.330.0100.01016.64
7.2.320.0100.00716.79
7.2.310.0070.01016.79
7.2.300.0120.00316.65
7.2.290.0140.00416.52
7.2.280.0120.00616.51
7.2.270.0160.00016.66
7.2.260.0090.00916.63
7.2.250.0040.01416.47
7.2.240.0130.00716.71
7.2.230.0060.01316.59
7.2.220.0100.00616.84
7.2.210.0070.01016.44
7.2.200.0120.00616.64
7.2.190.0040.01516.52
7.2.180.0060.01216.55
7.2.170.0100.01016.61
7.2.160.0040.01416.44
7.2.150.0100.01016.71
7.2.140.0060.01216.64
7.2.130.0110.00716.65
7.2.120.0170.00316.67
7.2.110.0180.00416.68
7.2.100.0030.01516.76
7.2.90.0290.00416.86
7.2.80.0150.00916.51
7.2.70.0150.00916.81
7.2.60.0130.00616.83
7.2.50.0070.01116.68
7.2.40.0160.00316.61
7.2.30.0120.00816.90
7.2.20.0110.01416.55
7.2.10.0070.01716.48
7.2.00.0110.01216.80

preferences:
158.59 ms | 403 KiB | 5 Q