3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "text @user text @Губка Боб text @user1 text text @SiteTe.ru text text text @любитель text text @guba bob text text @geb 123"; if (preg_match_all('~(?=(?<!\S)(@.{0,29}))~u', $text, $matches)) { array_shift($matches); print_r($matches[0]); }

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.70.0110.00418.56
8.3.60.0110.01116.75
8.3.50.0070.01416.55
8.3.40.0080.00819.00
8.3.30.0070.00718.93
8.3.20.0040.00420.91
8.3.10.0040.00422.09
8.3.00.0050.00320.63
8.2.190.0040.01116.75
8.2.180.0090.00616.50
8.2.170.0140.00719.01
8.2.160.0110.00422.96
8.2.150.0070.00324.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0060.00322.27
8.2.100.0110.00618.16
8.2.90.0040.00418.00
8.2.80.0040.00418.77
8.2.70.0040.00417.74
8.2.60.0030.00517.80
8.2.50.0000.00818.07
8.2.40.0040.00418.22
8.2.30.0030.00319.52
8.2.20.0040.00418.20
8.2.10.0040.00419.14
8.2.00.0000.00819.17
8.1.280.0040.01825.92
8.1.270.0040.00421.82
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00020.79
8.1.230.0030.00717.95
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0040.00417.35
8.1.180.0070.00418.10
8.1.170.0000.00918.65
8.1.160.0030.00620.95
8.1.150.0000.00718.96
8.1.140.0040.00418.80
8.1.130.0030.00320.01
8.1.120.0000.00717.38
8.1.110.0000.00717.46
8.1.100.0080.00017.52
8.1.90.0050.00217.45
8.1.80.0070.00017.45
8.1.70.0070.00017.57
8.1.60.0030.00617.65
8.1.50.0050.00317.64
8.1.40.0040.00417.48
8.1.30.0040.00417.69
8.1.20.0040.00417.66
8.1.10.0030.00817.58
8.1.00.0050.00617.52
8.0.300.0060.00320.46
8.0.290.0040.00416.88
8.0.280.0090.00018.37
8.0.270.0040.00418.14
8.0.260.0000.00720.01
8.0.250.0040.00417.07
8.0.240.0040.00417.08
8.0.230.0030.00317.14
8.0.220.0000.00717.06
8.0.210.0000.00717.07
8.0.200.0000.00717.09
8.0.190.0060.00317.15
8.0.180.0030.00517.05
8.0.170.0080.00017.07
8.0.160.0070.00017.05
8.0.150.0040.00417.06
8.0.140.0000.00717.00
8.0.130.0060.00013.43
8.0.120.0000.00716.94
8.0.110.0050.00216.89
8.0.100.0040.00416.93
8.0.90.0060.00317.09
8.0.80.0060.00917.02
8.0.70.0040.00417.15
8.0.60.0000.00717.04
8.0.50.0040.00417.10
8.0.30.0100.01017.36
8.0.20.0040.01517.24
8.0.10.0040.00417.13
8.0.00.0140.00317.08
7.4.330.0000.00515.55
7.4.320.0060.00016.73
7.4.300.0040.00416.68
7.4.290.0030.00316.80
7.4.280.0080.00016.78
7.4.270.0070.00016.82
7.4.260.0030.00313.49
7.4.250.0030.00316.63
7.4.240.0020.00516.80
7.4.230.0040.00416.62
7.4.220.0020.00516.76
7.4.210.0060.00916.68
7.4.200.0040.00416.83
7.4.130.0140.00816.76
7.4.120.0030.01516.75
7.4.110.0110.00816.80
7.4.100.0090.00616.65
7.4.90.0100.00716.86
7.4.80.0090.01419.39
7.4.70.0070.01716.70
7.4.60.0120.00916.70
7.4.50.0110.00716.35
7.4.40.0030.01316.76
7.4.30.0150.00916.56
7.4.20.0150.00016.36
7.4.10.0030.01516.38
7.4.00.0120.00916.53
7.3.330.0040.00416.23
7.3.320.0060.00013.20
7.3.310.0080.00016.42
7.3.300.0030.00316.32
7.3.290.0040.01116.39
7.3.280.0130.00716.42
7.3.260.0210.00616.78
7.3.240.0090.00916.58
7.3.230.0130.00416.50
7.3.210.0030.01416.39
7.3.200.0130.00316.72
7.3.190.0090.01216.51
7.3.180.0090.00616.49
7.3.170.0100.01316.52
7.3.160.0130.00316.68
7.3.150.0120.00616.33
7.3.140.0220.00916.29
7.3.130.0100.00616.36
7.3.120.0170.00916.09
7.3.110.0070.01316.17
7.3.100.0130.00716.30
7.3.90.0140.01016.23
7.3.80.0120.00316.43
7.3.70.0090.00616.29
7.3.60.0060.00916.36
7.3.50.0070.01416.40
7.3.40.0150.00316.34
7.3.30.0070.01116.36
7.3.20.0160.00616.34
7.3.10.0090.00616.55
7.3.00.0130.01016.37
7.2.330.0110.01116.71
7.2.310.0050.01016.59
7.2.300.0090.00916.72
7.2.290.0120.00316.75
7.2.280.0090.00916.33
7.2.270.0080.01516.51
7.2.260.0100.01516.63
7.2.250.0100.01016.29
7.2.240.0190.00316.68
7.2.230.0150.00916.36
7.2.220.0150.00616.57
7.2.210.0070.01116.32
7.2.200.0030.01316.63
7.2.190.0100.00716.41
7.2.180.0080.01216.69
7.2.170.0060.01016.66
7.2.160.0080.00816.45
7.2.150.0200.00216.45
7.2.140.0120.00416.66
7.2.130.0170.00716.32
7.2.120.0120.00616.51
7.2.110.0070.01316.61
7.2.100.0100.01016.58
7.2.90.0110.01116.55
7.2.80.0100.01016.57
7.2.70.0180.01416.70
7.2.60.0090.00916.73
7.2.50.0090.00916.48
7.2.40.0090.00916.73
7.2.30.0040.01316.49
7.2.20.0110.01116.61
7.2.10.0110.01116.51
7.2.00.0060.01516.53

preferences:
47.43 ms | 401 KiB | 5 Q