3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content="@asdfasdf @你好"; $matches=null; preg_match_all('/@[\S].+? /', $content, $matches); var_dump($matches);

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.01116.63
8.3.50.0090.00616.63
8.3.40.0110.00418.78
8.3.30.0130.01018.56
8.3.20.0080.00020.10
8.3.10.0050.00321.90
8.3.00.0040.00423.53
8.2.180.0100.00716.36
8.2.170.0100.01022.96
8.2.160.0070.00720.44
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00321.13
8.2.120.0000.00826.35
8.2.110.0150.00621.13
8.2.100.0110.00017.80
8.2.90.0080.00019.05
8.2.80.0030.00517.97
8.2.70.0030.00617.75
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0000.00720.42
8.2.30.0060.00319.45
8.2.20.0030.00617.75
8.2.10.0050.00218.06
8.2.00.0000.00817.88
8.1.280.0090.00625.92
8.1.270.0150.00422.09
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0060.00322.49
8.1.230.0120.00019.12
8.1.220.0080.00017.74
8.1.210.0090.00018.77
8.1.200.0000.01117.35
8.1.190.0000.00817.36
8.1.180.0040.00418.10
8.1.170.0040.00418.64
8.1.160.0040.00420.71
8.1.150.0050.00218.88
8.1.140.0050.00319.45
8.1.130.0040.00417.61
8.1.120.0040.00417.58
8.1.110.0000.00817.46
8.1.100.0040.00417.46
8.1.90.0050.00317.59
8.1.80.0040.00417.47
8.1.70.0000.00717.39
8.1.60.0030.00617.53
8.1.50.0060.00317.60
8.1.40.0030.00517.63
8.1.30.0060.00317.64
8.1.20.0030.00517.64
8.1.10.0000.00817.68
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0050.00318.45
8.0.270.0090.00017.21
8.0.260.0000.00617.21
8.0.250.0000.00716.95
8.0.240.0000.00717.08
8.0.230.0030.00316.91
8.0.220.0000.00716.93
8.0.210.0070.00016.97
8.0.200.0070.00016.99
8.0.190.0000.00817.01
8.0.180.0020.00516.98
8.0.170.0040.00417.03
8.0.160.0050.00317.04
8.0.150.0030.00516.76
8.0.140.0000.00716.85
8.0.130.0060.00013.39
8.0.120.0000.00817.00
8.0.110.0000.00716.97
8.0.100.0040.00417.00
8.0.90.0050.00316.94
8.0.80.0080.00816.95
8.0.70.0040.00416.75
8.0.60.0000.00717.06
8.0.50.0070.00017.07
8.0.30.0110.01017.19
8.0.20.0150.00617.40
8.0.10.0070.00016.86
8.0.00.0100.00916.79
7.4.330.0050.00016.86
7.4.320.0000.00716.63
7.4.300.0040.00416.63
7.4.290.0000.00716.59
7.4.280.0040.00416.63
7.4.270.0060.00016.78
7.4.260.0000.00916.59
7.4.250.0080.00016.62
7.4.240.0000.00716.60
7.4.230.0070.00016.76
7.4.220.0060.01216.85
7.4.210.0070.00916.77
7.4.200.0000.00816.62
7.4.160.0070.01616.70
7.4.150.0060.01317.40
7.4.140.0090.01017.86
7.4.130.0120.00716.65
7.4.120.0100.00716.64
7.4.110.0070.01316.63
7.4.100.0200.00316.66
7.4.90.0150.00616.69
7.4.80.0110.00719.39
7.4.70.0030.01416.79
7.4.60.0070.01016.36
7.4.50.0000.01416.75
7.4.40.0080.00816.59
7.4.30.0130.00716.61
7.4.00.0060.00615.18
7.3.330.0030.00413.03
7.3.320.0030.00313.00
7.3.310.0040.00416.10
7.3.300.0070.00016.33
7.3.290.0030.00316.33
7.3.280.0080.01216.29
7.3.270.0140.00317.40
7.3.260.0080.00816.75
7.3.250.0050.01216.37
7.3.240.0050.01116.51
7.3.230.0150.00616.39
7.3.210.0150.00316.57
7.3.200.0160.00619.39
7.3.190.0120.00916.55
7.3.180.0100.01016.41
7.3.170.0120.00716.30
7.3.160.0110.00616.50
7.2.330.0140.00716.46
7.2.320.0130.01316.51
7.2.310.0030.01416.60
7.2.300.0060.01016.49
7.2.290.0090.00616.50
7.2.60.0090.00317.02
7.2.00.0030.01019.61
7.1.200.0030.01015.95
7.1.100.0000.01318.14
7.1.70.0000.00816.98
7.1.60.0070.01119.40
7.1.50.0190.01316.99
7.1.00.0100.07022.49
7.0.200.0070.00716.82
7.0.60.0100.07021.71
7.0.50.0070.03717.78
7.0.40.0030.05320.00
7.0.30.0370.05720.05
7.0.20.0300.07720.22
7.0.10.0070.04320.18
7.0.00.0100.05020.20
5.6.280.0130.03720.90
5.6.210.0030.04020.60
5.6.200.0100.04318.13
5.6.190.0100.08020.39
5.6.180.0370.07020.41
5.6.170.0400.06320.71
5.6.160.0030.05320.40
5.6.150.0000.06318.24
5.6.140.0070.07718.15
5.6.130.0070.08718.21
5.6.120.0070.07020.97
5.6.110.0130.04321.02
5.6.100.0030.08021.00
5.6.90.0030.04320.95
5.6.80.0070.05320.44
5.5.350.3900.04320.43
5.5.340.0170.07317.92
5.5.330.0000.04720.40
5.5.320.0670.05020.31
5.5.310.0100.06320.20
5.5.300.0070.05717.92
5.5.290.0070.08017.98
5.5.280.0070.07320.88
5.5.270.0070.05320.67
5.5.260.0170.06020.96
5.5.250.0100.03320.68
5.5.240.0200.07720.07

preferences:
55.54 ms | 401 KiB | 5 Q