3v4l.org

run code in 300+ PHP versions simultaneously
<?php $definition = '*@table bee\n@table aa'; preg_match_all('/\s*@table\s+([a-z]+)(?:\(\s*([^)\s]+)\s*\))?/i', $definition, $matched); var_dump($matched);

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.00716.63
8.3.50.0130.00921.08
8.3.40.0080.00818.73
8.3.30.0160.00318.72
8.3.20.0040.00420.34
8.3.10.0040.00423.36
8.3.00.0000.00819.64
8.2.180.0000.01518.79
8.2.170.0110.00422.96
8.2.160.0070.00720.32
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00917.63
8.2.110.0110.00022.41
8.2.100.0090.00317.91
8.2.90.0040.00419.05
8.2.80.0050.00517.97
8.2.70.0030.00517.63
8.2.60.0030.00517.80
8.2.50.0040.00418.07
8.2.40.0080.00019.38
8.2.30.0000.00820.56
8.2.20.0060.00317.77
8.2.10.0080.00017.89
8.2.00.0040.00417.89
8.1.280.0040.01125.92
8.1.270.0120.00923.78
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0060.00322.66
8.1.230.0060.00617.65
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0000.00917.36
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0000.00918.64
8.1.160.0050.00321.93
8.1.150.0040.00418.79
8.1.140.0030.00617.52
8.1.130.0070.00017.66
8.1.120.0000.00817.61
8.1.110.0090.00017.38
8.1.100.0040.00417.44
8.1.90.0050.00317.58
8.1.80.0030.00417.46
8.1.70.0020.00517.61
8.1.60.0080.00017.65
8.1.50.0040.00417.60
8.1.40.0060.00317.55
8.1.30.0040.00417.73
8.1.20.0050.00317.77
8.1.10.0000.00817.65
8.1.00.0000.00817.48
8.0.300.0060.00318.96
8.0.290.0040.00416.75
8.0.280.0040.00418.25
8.0.270.0000.00717.12
8.0.260.0030.00317.21
8.0.250.0020.00516.92
8.0.240.0040.00417.04
8.0.230.0000.00717.09
8.0.220.0070.00016.98
8.0.210.0000.00716.86
8.0.200.0030.00317.00
8.0.190.0040.00417.09
8.0.180.0040.00417.01
8.0.170.0080.00016.96
8.0.160.0040.00416.98
8.0.150.0060.00316.94
8.0.140.0000.00716.92
8.0.130.0000.00613.40
8.0.120.0000.00816.84
8.0.110.0040.00416.96
8.0.100.0000.00716.96
8.0.90.0000.00816.87
8.0.80.0090.00617.03
8.0.70.0040.00416.84
8.0.60.0070.00016.86
8.0.50.0040.00416.82
8.0.30.0110.00617.27
8.0.20.0140.00617.41
8.0.10.0030.00517.05
8.0.00.0100.01216.84
7.4.330.0050.00015.08
7.4.320.0000.00716.70
7.4.300.0000.00616.61
7.4.290.0040.00416.77
7.4.280.0030.00616.70
7.4.270.0050.00316.77
7.4.260.0000.00916.77
7.4.250.0070.00016.61
7.4.240.0030.00416.61
7.4.230.0030.00316.56
7.4.220.0110.00716.82
7.4.210.0130.00616.57
7.4.200.0030.00316.47
7.4.160.0120.00316.65
7.4.150.0140.00317.40
7.4.140.0150.00617.86
7.4.130.0090.00916.75
7.4.120.0060.01216.69
7.4.110.0060.01216.59
7.4.100.0150.00316.68
7.4.90.0110.00816.50
7.4.80.0090.00919.39
7.4.70.0070.01016.55
7.4.60.0100.00616.87
7.4.50.0050.00316.43
7.4.40.0100.01016.61
7.4.30.0070.01816.49
7.4.00.0120.00514.94
7.3.330.0020.00213.04
7.3.320.0060.00013.01
7.3.310.0030.00316.21
7.3.300.0040.00416.28
7.3.290.0100.00916.33
7.3.280.0110.01016.30
7.3.270.0080.00817.40
7.3.260.0000.01816.59
7.3.250.0130.00616.51
7.3.240.0150.00616.51
7.3.230.0060.01216.39
7.3.210.0070.01116.34
7.3.200.0110.00516.30
7.3.190.0100.01316.29
7.3.180.0060.00916.35
7.3.170.0100.00716.61
7.3.160.0090.00616.27
7.3.120.0030.01414.91
7.3.110.0100.00715.09
7.3.100.0070.00714.72
7.3.90.0060.00614.82
7.3.80.0080.00814.86
7.3.70.0070.00714.88
7.3.60.0030.01114.89
7.3.50.0090.00314.88
7.3.40.0000.01614.59
7.3.30.0030.01314.67
7.3.20.0040.01116.56
7.3.10.0080.00416.43
7.3.00.0090.00616.84
7.2.330.0090.00916.74
7.2.320.0070.01116.53
7.2.310.0070.01116.73
7.2.300.0070.01016.69
7.2.290.0120.00616.51
7.2.250.0110.00714.94
7.2.240.0080.00815.27
7.2.230.0070.00714.78
7.2.220.0050.00515.05
7.2.210.0030.01014.98
7.2.200.0060.00315.20
7.2.190.0000.01014.80
7.2.180.0100.00314.95
7.2.170.0070.00715.08
7.2.00.0060.01019.63
7.1.330.0030.01015.80
7.1.320.0090.00615.76
7.1.310.0130.00015.81
7.1.300.0060.00615.79
7.1.290.0070.00715.63
7.1.280.0030.01015.91
7.1.270.0070.00316.01
7.1.260.0060.00715.70
7.1.100.0000.01118.02
7.1.70.0000.01017.30
7.1.60.0100.01319.50
7.1.50.0070.01316.90
7.1.00.0070.07022.52
7.0.200.0050.00216.63
7.0.60.0070.08319.91
7.0.50.0130.06317.87
7.0.40.0100.08020.23
7.0.30.0400.06720.11
7.0.20.0300.03720.22
7.0.10.0030.09320.11
7.0.00.0000.09320.10
5.6.280.0000.03720.95
5.6.210.0130.04320.71
5.6.200.0170.07018.12
5.6.190.0100.08020.63
5.6.180.0400.06320.57
5.6.170.0200.03720.48
5.6.160.0100.06720.50
5.6.150.0030.04718.14
5.6.140.0100.06318.14
5.6.130.0070.08318.05
5.6.120.0130.07320.89
5.6.110.0000.09321.11
5.6.100.0070.08321.07
5.6.90.0130.03320.93
5.6.80.0000.04320.41
5.5.350.4330.04320.37
5.5.340.0100.08018.02
5.5.330.0130.05720.47
5.5.320.0230.04720.28
5.5.310.0330.07720.41
5.5.300.0130.05717.91
5.5.290.0030.08318.00
5.5.280.0130.06720.87
5.5.270.0070.08320.79
5.5.260.0100.03720.75
5.5.250.0100.06320.68
5.5.240.0000.08020.25
5.4.450.0870.06019.43
5.4.440.0730.07019.38
5.4.430.0730.07019.55
5.4.420.0900.05019.38
5.4.410.0900.05019.42
5.4.400.0770.05319.23
5.4.390.0870.04319.16
5.4.380.0770.05019.23
5.4.370.0870.06719.03
5.4.360.0970.07318.87
5.4.350.0900.05318.87
5.4.340.0770.05319.21
5.4.320.0800.04719.04
5.4.310.0730.05019.07
5.4.300.1100.05319.14
5.4.290.0730.06019.05
5.4.280.0770.05319.07
5.4.270.0730.05319.14
5.4.260.0800.05019.10
5.4.250.0730.05019.22
5.4.240.0770.05018.97
5.4.230.0730.05019.22
5.4.220.0700.05719.14
5.4.210.0830.06719.14
5.4.200.0700.05719.21
5.4.190.0930.04718.96
5.4.180.0830.06019.05
5.4.170.0700.06019.05
5.4.160.0830.06719.00
5.4.150.0770.05319.02
5.4.140.0700.06016.38
5.4.130.0700.05316.27
5.4.120.0670.05716.25
5.4.110.0800.04716.47
5.4.100.0800.04716.36
5.4.90.0770.05716.53
5.4.80.0970.05316.43
5.4.70.0370.04016.20
5.4.60.0270.06316.04
5.4.50.0200.03016.36
5.4.40.0070.07716.04
5.4.30.0070.06316.20
5.4.20.0300.07016.43
5.4.10.0270.03316.39

preferences:
33.05 ms | 401 KiB | 5 Q