3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = []; $reg = '/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:"\/\[\]\?\=\{\}\x7F]+)|(?:"((?:[^"\]|\.)*)")))?/'; preg_match_all($reg, 'User-Agent, Accept', $matches, PREG_SET_ORDER); var_dump($matches); echo 'aaa' ; var_dump('bb');

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.0070.00718.47
8.3.60.0120.00318.18
8.3.50.0040.01116.64
8.3.40.0100.01018.79
8.3.30.0140.00718.90
8.3.20.0140.00321.89
8.3.10.0050.00323.53
8.3.00.0070.00720.88
8.2.180.0110.00718.66
8.2.170.0120.00622.96
8.2.160.0070.00720.09
8.2.150.0120.00324.18
8.2.140.0100.00724.66
8.2.130.0070.00719.64
8.2.120.0050.00226.35
8.2.110.0030.00620.89
8.2.100.0080.00317.84
8.2.90.0080.00018.22
8.2.80.0080.00017.97
8.2.70.0030.00617.93
8.2.60.0000.00818.22
8.2.50.0050.00218.10
8.2.40.0000.00719.12
8.2.30.0040.00419.18
8.2.20.0050.00318.06
8.2.10.0000.00719.25
8.2.00.0040.00419.45
8.1.280.0070.01125.92
8.1.270.0110.00418.80
8.1.260.0100.01026.35
8.1.250.0080.00028.09
8.1.240.0060.00620.40
8.1.230.0110.00021.04
8.1.220.0000.00817.74
8.1.210.0090.00018.90
8.1.200.0030.00517.22
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0040.00418.47
8.1.160.0050.00318.89
8.1.150.0040.00418.78
8.1.140.0040.00420.59
8.1.130.0000.00620.18
8.1.120.0000.00717.39
8.1.110.0030.00317.43
8.1.100.0000.00717.41
8.1.90.0030.00617.44
8.1.80.0030.00617.44
8.1.70.0040.00417.28
8.1.60.0030.00517.46
8.1.50.0050.00217.52
8.1.40.0030.00517.44
8.1.30.0040.00417.58
8.1.20.0040.00417.55
8.1.10.0040.00417.40
8.1.00.0050.00217.48
8.0.300.0070.00020.03
8.0.290.0040.00416.75
8.0.280.0030.00318.39
8.0.270.0030.00317.21
8.0.260.0030.00318.37
8.0.250.0070.00016.94
8.0.240.0080.00016.94
8.0.230.0000.00717.01
8.0.220.0000.00616.89
8.0.210.0000.00716.75
8.0.200.0000.00717.01
8.0.190.0070.00016.96
8.0.180.0040.00416.95
8.0.170.0000.00916.91
8.0.160.0000.00716.87
8.0.150.0000.00716.76
8.0.140.0000.00716.75
8.0.130.0030.00313.34
8.0.120.0000.00816.86
8.0.110.0000.00716.84
8.0.100.0000.00816.89
8.0.90.0040.00416.80
8.0.80.0100.00716.91
8.0.70.0000.00716.86
8.0.60.0000.00716.78
8.0.50.0050.00316.77
8.0.30.0090.00817.01
8.0.20.0140.01117.40
8.0.10.0000.00717.11
8.0.00.0120.00916.71
7.4.330.0030.00315.55
7.4.320.0000.00616.54
7.4.300.0060.00016.53
7.4.290.0030.00316.63
7.4.280.0080.00016.62
7.4.270.0060.00016.55
7.4.260.0080.00016.49
7.4.250.0060.00316.48
7.4.240.0030.00316.55
7.4.230.0000.00716.55
7.4.220.0000.00816.36
7.4.210.0050.01316.62
7.4.200.0050.00316.54
7.4.160.0090.00716.50
7.4.140.0100.00817.86
7.4.130.0100.01316.53
7.4.120.0140.00316.78
7.4.110.0060.01216.41
7.4.100.0120.00616.40
7.4.90.0070.01716.60
7.4.80.0100.01019.39
7.4.70.0080.00916.76
7.4.60.0120.00416.45
7.4.50.0040.01116.46
7.4.40.0130.00816.45
7.4.00.0060.01014.93
7.3.330.0000.00513.18
7.3.320.0030.00313.18
7.3.310.0000.00716.10
7.3.300.0030.00316.26
7.3.290.0070.00016.28
7.3.280.0100.00616.27
7.3.260.0110.00816.48
7.3.240.0100.00716.31
7.3.230.0150.00416.50
7.3.210.0040.01516.52
7.3.200.0080.00816.39
7.3.190.0100.01216.29
7.3.180.0060.00916.47
7.3.170.0070.01516.29
7.3.160.0040.01216.55
7.3.120.0080.01014.77
7.3.110.0060.01214.67
7.3.100.0070.01114.72
7.3.90.0050.00814.61
7.3.80.0030.01014.82
7.3.70.0050.00814.85
7.3.60.0030.00814.73
7.3.50.0090.00214.83
7.3.40.0030.01114.64
7.3.30.0060.00914.68
7.3.20.0050.00616.52
7.3.10.0130.00815.97
7.3.00.0190.00315.88
7.2.330.0080.00916.27
7.2.320.0140.00316.46
7.2.310.0100.01416.46
7.2.300.0130.00316.50
7.2.290.0030.02016.70
7.2.250.0050.01414.98
7.2.240.0080.01014.80
7.2.230.0050.01214.67
7.2.220.0040.01015.02
7.2.210.0070.00714.90
7.2.200.0020.01214.93
7.2.190.0070.00514.96
7.2.180.0020.01214.99
7.2.170.0020.01414.86
7.2.130.0380.01014.92
7.2.120.1200.00614.93
7.2.110.0310.00715.04
7.2.100.0340.00714.96
7.2.90.0290.00315.06
7.2.80.0290.00315.15
7.2.70.0310.01415.03
7.2.60.0270.00714.75
7.2.50.0360.00714.89
7.2.40.0300.00314.98
7.2.30.0310.00314.91
7.2.20.0250.00614.71
7.2.10.0270.00714.77
7.2.00.0290.00615.03
7.1.330.0040.00815.81
7.1.320.0050.00815.84
7.1.310.0070.00715.66
7.1.300.0030.01215.75
7.1.290.0080.00515.63
7.1.280.0040.01215.87
7.1.270.0060.00915.79
7.1.260.0050.00815.82
7.1.250.0420.01013.99

preferences:
65.67 ms | 401 KiB | 5 Q