3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parsing_regex_arguments = '`"((?:\\"|[^"])+)"|([^\s]+)`'; $test = 'arg1 arg2 "arg3" "test \"2\"" arg4'; $matches = array(); preg_match_all($parsing_regex_arguments, $test, $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.0090.01316.63
8.3.50.0090.00616.36
8.3.40.0160.00318.84
8.3.30.0160.00318.82
8.3.20.0070.00021.90
8.3.10.0040.00423.66
8.3.00.0060.00319.56
8.2.180.0080.01116.75
8.2.170.0110.00722.96
8.2.160.0140.00420.39
8.2.150.0040.00424.18
8.2.140.0060.00624.66
8.2.130.0070.00020.52
8.2.120.0040.00426.35
8.2.110.0040.00420.57
8.2.100.0080.00417.81
8.2.90.0050.00319.09
8.2.80.0090.00017.97
8.2.70.0000.00817.61
8.2.60.0080.00017.91
8.2.50.0040.00418.10
8.2.40.0000.00820.64
8.2.30.0030.00620.89
8.2.20.0050.00318.02
8.2.10.0040.00418.12
8.2.00.0080.00017.93
8.1.280.0150.00625.92
8.1.270.0000.00820.65
8.1.260.0030.00626.35
8.1.250.0180.00028.09
8.1.240.0090.00021.98
8.1.230.0110.00019.10
8.1.220.0000.00817.74
8.1.210.0040.00718.77
8.1.200.0000.01017.38
8.1.190.0000.00817.22
8.1.180.0020.00818.10
8.1.170.0040.00418.66
8.1.160.0020.00518.88
8.1.150.0040.00420.75
8.1.140.0040.00419.46
8.1.130.0030.00318.76
8.1.120.0000.00717.41
8.1.110.0000.01117.57
8.1.100.0050.00317.52
8.1.90.0040.00417.57
8.1.80.0070.00017.53
8.1.70.0040.00417.46
8.1.60.0040.00417.72
8.1.50.0000.00917.44
8.1.40.0040.00417.56
8.1.30.0090.00017.75
8.1.20.0040.00417.76
8.1.10.0030.00517.65
8.1.00.0080.00017.48
8.0.300.0070.00020.04
8.0.290.0000.00716.75
8.0.280.0040.00418.39
8.0.270.0030.00317.21
8.0.260.0060.00018.85
8.0.250.0000.00717.07
8.0.240.0040.00416.99
8.0.230.0000.00716.92
8.0.220.0070.00016.97
8.0.210.0030.00517.01
8.0.200.0030.00516.89
8.0.190.0040.00416.99
8.0.180.0040.00417.04
8.0.170.0070.00016.88
8.0.160.0050.00316.86
8.0.150.0070.00016.94
8.0.140.0080.00016.94
8.0.130.0060.00013.43
8.0.120.0000.00716.96
8.0.110.0070.00016.91
8.0.100.0050.00316.97
8.0.90.0050.00216.80
8.0.80.0070.01416.93
8.0.70.0000.00716.91
8.0.60.0080.00017.00
8.0.50.0000.00816.76
8.0.30.0130.01217.13
8.0.20.0150.00717.40
8.0.10.0040.00417.03
8.0.00.0100.00716.65
7.4.330.0050.00016.82
7.4.320.0030.00316.70
7.4.300.0000.00716.63
7.4.290.0030.00316.66
7.4.280.0050.00216.71
7.4.270.0030.00316.72
7.4.260.0040.00416.59
7.4.250.0000.00716.63
7.4.240.0040.00416.66
7.4.230.0030.00316.77
7.4.220.0040.01716.79
7.4.210.0130.00716.71
7.4.200.0050.00316.77
7.4.160.0120.00816.55
7.4.150.0110.00717.40
7.4.140.0130.00917.86
7.4.130.0060.01216.59
7.4.120.0120.00816.60
7.4.110.0050.01416.52
7.4.100.0030.02016.57
7.4.90.0080.01116.56
7.4.80.0070.01519.39
7.4.70.0070.01016.63
7.4.60.0050.01116.63
7.4.50.0110.00416.56
7.4.40.0000.01616.54
7.4.30.0110.01016.48
7.4.00.0080.01115.05
7.3.330.0050.00013.10
7.3.320.0000.00513.08
7.3.310.0000.00716.33
7.3.300.0050.00216.21
7.3.290.0080.00916.29
7.3.280.0060.01116.30
7.3.270.0040.01517.40
7.3.260.0100.00816.40
7.3.250.0100.00916.56
7.3.240.0080.01116.34
7.3.230.0110.00716.25
7.3.210.0130.00916.40
7.3.200.0100.00616.29
7.3.190.0000.02216.19
7.3.180.0060.01016.18
7.3.170.0140.00516.29
7.3.160.0080.00816.33
7.3.120.0070.00814.90
7.3.110.0030.01014.69
7.3.100.0060.00614.74
7.3.90.0070.01014.74
7.3.80.0110.00315.11
7.3.70.0080.00514.93
7.3.60.0030.00514.58
7.3.50.0030.01014.75
7.3.40.0060.00414.86
7.3.30.0060.00414.78
7.3.20.0060.00816.73
7.3.10.0060.00716.69
7.3.00.0090.00316.63
7.2.330.0070.01016.54
7.2.320.0030.01516.67
7.2.310.0140.00416.46
7.2.300.0060.01016.41
7.2.290.0090.00916.62
7.2.250.0040.01415.02
7.2.240.0100.00714.83
7.2.230.0060.00815.01
7.2.220.0060.00915.05
7.2.210.0080.00814.91
7.2.200.0090.00715.10
7.2.190.0110.00214.95
7.2.180.0090.00614.93
7.2.170.0060.00715.05
7.1.330.0070.00815.66
7.1.320.0050.00816.00
7.1.310.0020.01015.85
7.1.300.0020.01116.07
7.1.290.0040.00815.95
7.1.280.0080.00315.89
7.1.270.0020.01315.89
7.1.260.0060.00715.63
7.1.70.0070.00717.36
7.1.60.0370.00733.33
7.1.50.0400.00733.20
7.1.40.0370.01332.75
7.1.30.0400.01332.57
7.1.20.0400.01732.83
7.1.10.0230.01315.16
7.1.00.0330.01315.16
7.0.200.0170.01315.04
7.0.190.0230.00315.05
7.0.180.0300.00314.79
7.0.170.2300.01314.33
7.0.160.0230.01314.62
7.0.150.0330.01314.48
7.0.140.0370.01014.69
7.0.130.0230.01314.87
7.0.120.0230.01314.79
7.0.110.0230.01014.74
7.0.100.0330.01014.63
7.0.90.0300.01714.89
7.0.80.0370.01014.78
7.0.70.0330.01314.71
7.0.60.0430.00714.57
7.0.50.0270.00714.64
7.0.40.0330.01314.91
7.0.30.0230.01314.81
7.0.20.0400.01714.57
7.0.10.0370.01714.71
7.0.00.0270.01314.94

preferences:
39.32 ms | 400 KiB | 5 Q