3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'emiteria-matie-martinez-robinson-viles-1888-1961-the-viles-foundation-and-matie-viles'; echo preg_replace('/^(.{1,65})-.*$/', '$1', $str);

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.00.0130.01020.10
8.4.150.0030.00014.05
8.4.140.0100.01217.71
8.4.130.0030.00618.47
8.4.120.0140.00617.70
8.4.110.0080.01118.21
8.4.100.0110.00918.09
8.4.90.0120.00820.49
8.4.80.0100.00919.06
8.4.70.0080.01020.69
8.4.60.0070.01520.86
8.4.50.0070.00218.54
8.4.40.0100.00017.86
8.4.30.0060.01320.63
8.4.20.0130.00719.55
8.4.10.0030.00617.68
8.3.280.0110.00918.42
8.3.270.0100.01016.45
8.3.260.0110.00816.52
8.3.250.0110.00618.33
8.3.240.0090.01016.60
8.3.230.0100.00716.72
8.3.220.0050.00319.11
8.3.210.0090.01016.51
8.3.200.0060.00316.82
8.3.190.0110.00717.13
8.3.180.0030.00718.92
8.3.170.0100.00717.09
8.3.160.0070.01116.72
8.3.150.0040.00418.52
8.3.140.0090.00620.71
8.3.130.0030.00716.46
8.3.120.0060.00318.89
8.3.110.0040.00416.54
8.3.100.0060.00316.70
8.3.90.0070.00726.77
8.3.80.0000.00916.75
8.3.70.0130.00916.58
8.3.60.0120.00318.43
8.3.50.0110.00418.19
8.3.40.0080.01119.09
8.3.30.0060.00918.69
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.290.0100.00917.12
8.2.280.0120.00618.31
8.2.270.0100.01016.84
8.2.260.0080.00517.28
8.2.250.0050.00316.69
8.2.240.0040.00418.28
8.2.230.0060.00320.94
8.2.220.0090.00024.06
8.2.210.0030.00626.77
8.2.200.0080.00016.88
8.2.190.0070.01016.75
8.2.180.0070.01425.92
8.2.170.0100.01018.96
8.2.160.0140.00022.96
8.2.150.0070.00025.66
8.2.140.0030.00524.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0050.00520.98
8.2.100.0000.01118.16
8.2.90.0040.00418.16
8.2.80.0040.00418.05
8.2.70.0040.00417.75
8.2.60.0040.00418.04
8.2.50.0060.00318.03
8.2.40.0050.00319.90
8.2.30.0040.00417.90
8.2.20.0080.00019.36
8.2.10.0040.00417.64
8.2.00.0070.00019.21
8.1.330.0100.00916.19
8.1.320.0120.00616.53
8.1.310.0100.00718.61
8.1.300.0000.00916.36
8.1.290.0060.00330.84
8.1.280.0150.00625.92
8.1.270.0020.00523.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.18
8.1.230.0070.00422.82
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0000.00918.10
8.1.170.0000.00917.62
8.1.160.0040.00418.89
8.1.150.0060.00318.68
8.1.140.0020.00517.58
8.1.130.0030.00318.80
8.1.120.0040.00417.48
8.1.110.0000.00817.44
8.1.100.0020.00517.55
8.1.90.0020.00517.51
8.1.80.0030.00617.39
8.1.70.0030.00317.45
8.1.60.0000.00817.63
8.1.50.0030.00617.55
8.1.40.0030.00917.55
8.1.30.0030.00617.63
8.1.20.0000.00817.61
8.1.10.0000.00817.67
8.1.00.0040.00417.45
8.0.300.0050.00319.69
8.0.290.0000.00716.75
8.0.280.0030.00318.51
8.0.270.0000.00716.96
8.0.260.0030.00318.52
8.0.250.0030.00316.95
8.0.240.0000.00716.97
8.0.230.0040.00417.02
8.0.220.0070.00016.91
8.0.210.0000.00716.98
8.0.200.0000.00816.92
8.0.190.0090.00017.05
8.0.180.0030.00317.04
8.0.170.0000.00916.99
8.0.160.0000.00816.95
8.0.150.0000.00716.86
8.0.140.0030.00516.86
8.0.130.0000.00513.36
8.0.120.0080.00016.95
8.0.110.0030.00517.01
8.0.100.0040.00417.02
8.0.90.0070.00016.95
8.0.80.0000.00816.90
8.0.70.0040.00417.02
8.0.60.0070.00016.90
8.0.50.0000.00816.97
8.0.30.0050.00216.86
8.0.20.0060.00316.85
8.0.10.0040.00416.93
8.0.00.0070.00017.18
7.4.330.0000.00515.55
7.4.320.0000.00616.67
7.4.300.0000.00716.75
7.4.290.0070.00316.47
7.4.280.0040.00416.62
7.4.270.0000.00716.75
7.4.260.0000.00513.47
7.4.250.0000.00716.67
7.4.240.0060.00016.54
7.4.230.0070.00016.74
7.4.220.0040.00416.79
7.4.210.0070.00016.80
7.4.200.0040.00416.75
7.4.190.0040.00416.70
7.4.180.0030.00316.71
7.4.160.0070.00016.71
7.4.150.0030.00316.72
7.4.140.0000.00716.56
7.4.130.0030.00316.73
7.4.120.0000.00716.54
7.4.110.0080.00016.59
7.4.100.0040.00416.64
7.4.90.0030.00416.66
7.4.80.0030.00316.58
7.4.70.0000.00616.70
7.4.60.0030.00316.71
7.4.50.0000.00816.61
7.4.40.0080.00016.40
7.4.30.0040.00416.59
7.4.20.0070.00016.64
7.4.10.0050.00316.61
7.4.00.0000.00716.65
7.3.330.0030.00516.33
7.3.320.0000.00813.19
7.3.310.0000.00716.35
7.3.300.0040.00416.16
7.3.290.0030.00516.16
7.3.280.0040.00416.13
7.3.270.0060.00316.26
7.3.260.0000.00716.43
7.3.250.0050.00316.36
7.3.240.0040.00416.14
7.3.230.0040.00416.10
7.3.220.0000.00716.27
7.3.210.0070.00016.15
7.3.200.0000.00616.26
7.3.190.0000.00816.03
7.3.180.0030.00316.18
7.3.170.0000.00616.27
7.3.160.0030.00316.29
7.3.150.0030.00316.27
7.3.140.0030.00316.09
7.3.130.0070.00016.29
7.3.120.0060.00016.05
7.3.110.0000.00616.00
7.3.100.0000.00616.16
7.3.90.0030.00316.56
7.3.80.0000.00716.13
7.3.70.0000.00716.26
7.3.60.0030.00316.50
7.3.50.0030.00316.32
7.3.40.0000.00616.24
7.3.30.0030.00316.28
7.3.20.0090.00016.38
7.3.10.0040.00416.30
7.3.00.0000.00716.38

preferences:
38.58 ms | 403 KiB | 5 Q