3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = ' ~^ (?: (?:(?P<function>function)\s*\(\s* (?:(?P<table1>.+)(?:\.))?(?P<column1>[^ ]+) \s*\)) | (?:(?P<table2>.+)(?:\.))?(?P<column2>[^ ]+) ) (?:\s+as\s+(?P<alias>.+))? $~ix '; var_dump(PCRE_VERSION); var_dump(preg_match($pattern, 'id')); var_dump(preg_last_error());

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.0040.01118.43
8.3.50.0160.00318.08
8.3.40.0060.01018.60
8.3.30.0120.00318.63
8.3.20.0080.00020.73
8.3.10.0080.00021.77
8.3.00.0080.00022.51
8.2.180.0150.00417.00
8.2.170.0040.01122.96
8.2.160.0070.00720.90
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00319.79
8.2.120.0000.00726.35
8.2.110.0070.00422.25
8.2.100.0070.00419.70
8.2.90.0000.00817.74
8.2.80.0030.00619.03
8.2.70.0030.00518.04
8.2.60.0040.00418.09
8.2.50.0040.00418.10
8.2.40.0040.00421.20
8.2.30.0000.00719.32
8.2.20.0000.00718.04
8.2.10.0000.00719.23
8.2.00.0040.00418.32
8.1.280.0150.00025.92
8.1.270.0070.00020.33
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00319.09
8.1.230.0060.00617.77
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0090.00017.35
8.1.190.0000.00917.48
8.1.180.0050.00318.10
8.1.170.0050.00318.65
8.1.160.0000.00720.66
8.1.150.0000.00718.77
8.1.140.0040.00419.05
8.1.130.0040.00420.32
8.1.120.0070.00317.46
8.1.110.0000.00717.52
8.1.100.0040.00417.50
8.1.90.0040.00417.41
8.1.80.0000.00717.62
8.1.70.0000.00717.44
8.1.60.0050.00517.53
8.1.50.0040.00417.67
8.1.40.0060.00317.50
8.1.30.0050.00517.78
8.1.20.0030.00617.74
8.1.10.0050.00317.61
8.1.00.0030.00517.55
8.0.300.0040.00420.08
8.0.290.0050.00316.75
8.0.280.0070.00018.41
8.0.270.0000.00717.22
8.0.260.0030.00318.29
8.0.250.0000.00817.04
8.0.240.0040.00416.98
8.0.230.0060.00316.92
8.0.220.0030.00316.88
8.0.210.0000.00716.98
8.0.200.0070.00017.05
8.0.190.0050.00517.08
8.0.180.0050.00217.02
8.0.170.0000.00816.97
8.0.160.0040.00417.01
8.0.150.0110.00016.89
8.0.140.0040.00416.89
8.0.130.0030.00313.40
8.0.120.0000.00716.99
8.0.110.0050.00317.03
8.0.100.0000.00817.00
8.0.90.0050.00317.02
8.0.80.0120.00616.89
8.0.70.0040.00417.04
8.0.60.0030.00517.03
8.0.50.0000.00716.95
8.0.30.0100.00917.26
8.0.20.0250.00317.23
8.0.10.0000.00817.09
8.0.00.0060.01216.97
7.4.330.0050.00016.80
7.4.320.0040.00416.55
7.4.300.0000.00716.73
7.4.290.0000.00716.67
7.4.280.0060.00316.68
7.4.270.0000.00716.52
7.4.260.0000.00716.67
7.4.250.0040.00416.52
7.4.240.0000.00716.74
7.4.230.0070.00016.46
7.4.220.0050.00316.56
7.4.210.0100.00816.75
7.4.200.0030.00316.65
7.4.160.0090.00816.60
7.4.140.0120.00617.86
7.4.130.0160.01016.61
7.4.120.0060.01316.71
7.4.110.0030.01316.57
7.4.100.0150.00316.55
7.4.90.0070.01116.46
7.4.80.0150.00319.39
7.4.70.0070.01016.63
7.4.60.0130.00316.45
7.4.50.0060.00616.62
7.4.40.0130.00316.70
7.4.00.0070.01114.97
7.3.330.0000.00513.08
7.3.320.0030.00313.02
7.3.310.0070.00016.25
7.3.300.0030.00316.29
7.3.290.0030.00316.34
7.3.280.0110.00516.24
7.3.260.0070.01216.54
7.3.240.0110.00716.42
7.3.230.0100.00716.39
7.3.210.0060.01216.54
7.3.200.0060.01216.52
7.3.190.0060.01216.54
7.3.180.0090.01216.67
7.3.170.0070.01016.55
7.3.160.0060.01516.59
7.3.120.0030.01615.06
7.3.110.0090.00914.97
7.3.100.0100.00614.63
7.3.90.0100.00614.70
7.3.80.0030.01014.98
7.3.70.0040.00714.95
7.3.60.0070.01014.85
7.3.50.0040.01114.73
7.3.40.0030.01414.50
7.3.30.0060.01014.74
7.3.20.0390.00615.77
7.3.10.0350.00515.69
7.3.00.0420.00315.73
7.2.330.0110.00716.57
7.2.320.0170.00916.53
7.2.310.0130.00316.52
7.2.300.0060.01216.55
7.2.290.0140.00316.56
7.2.250.0100.00715.04
7.2.240.0070.01314.96
7.2.230.0030.01515.09
7.2.220.0030.01414.93
7.2.210.0060.00314.97
7.2.200.0000.01314.85
7.2.190.0040.00815.03
7.2.180.0040.00814.91
7.2.170.0030.00914.96
7.2.160.0090.01214.77
7.2.150.0650.00614.80
7.2.140.0520.00315.12
7.2.130.0850.00314.86
7.2.120.0680.00014.95
7.2.110.0580.00314.93
7.2.100.0520.00314.94
7.2.90.0460.01015.15
7.2.80.0630.00314.88
7.2.70.0530.00714.88
7.2.60.1380.01014.69
7.2.50.0610.00414.98
7.2.40.0620.01014.87
7.2.30.0620.01015.08
7.2.20.0800.01015.11
7.2.10.0680.00014.82
7.2.00.0600.01314.95
7.1.330.0090.00615.68
7.1.320.0060.00315.72
7.1.310.0030.01015.93
7.1.300.0040.00815.75
7.1.290.0060.00615.74
7.1.280.0070.00315.88
7.1.270.0360.00314.92
7.1.260.0320.00315.00
7.1.250.0610.00613.64

preferences:
61.96 ms | 400 KiB | 5 Q