3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Faktura č.: XYZ"; preg_match("~^\\s*Faktura\\s+č.:\\s*(?P<invoice>\S+)(?:\\s+za\\s+období\\s+0?(?P<month>\\d{1,2})\\s*/\\s*(?P<year>\\d{4}))?\\s*$~iu", $str, $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.0120.00316.88
8.3.50.0030.01016.49
8.3.40.0110.00418.92
8.3.30.0130.00318.79
8.3.20.0050.00320.29
8.3.10.0040.00421.72
8.3.00.0000.00821.92
8.2.180.0100.01016.88
8.2.170.0110.00722.96
8.2.160.0080.00619.13
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00421.25
8.2.120.0050.00326.35
8.2.110.0070.00321.31
8.2.100.0100.00318.07
8.2.90.0040.00417.75
8.2.80.0040.00418.91
8.2.70.0000.00817.63
8.2.60.0050.00317.80
8.2.50.0060.00318.07
8.2.40.0050.00318.22
8.2.30.0040.00418.16
8.2.20.0000.00918.09
8.2.10.0000.00718.11
8.2.00.0000.00718.01
8.1.280.0170.00025.92
8.1.270.0040.00422.06
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00619.44
8.1.230.0090.00617.89
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0000.00817.48
8.1.180.0000.00918.10
8.1.170.0060.00318.74
8.1.160.0040.00419.02
8.1.150.0050.00318.88
8.1.140.0040.00419.63
8.1.130.0000.00818.84
8.1.120.0000.00717.55
8.1.110.0050.00317.43
8.1.100.0060.00317.46
8.1.90.0040.00417.57
8.1.80.0000.00717.39
8.1.70.0050.00317.61
8.1.60.0030.00617.66
8.1.50.0040.00417.53
8.1.40.0000.00817.66
8.1.30.0000.00817.71
8.1.20.0070.00017.65
8.1.10.0040.00417.55
8.1.00.0000.00817.50
8.0.300.0050.00318.77
8.0.290.0030.00616.88
8.0.280.0030.00318.34
8.0.270.0070.00017.22
8.0.260.0030.00316.98
8.0.250.0030.00317.02
8.0.240.0050.00317.14
8.0.230.0090.00017.13
8.0.220.0040.00417.09
8.0.210.0040.00417.12
8.0.200.0000.00617.12
8.0.190.0000.00817.05
8.0.180.0080.00017.07
8.0.170.0000.00717.08
8.0.160.0060.00616.94
8.0.150.0040.00417.00
8.0.140.0000.00716.97
8.0.130.0030.00313.52
8.0.120.0070.00017.07
8.0.110.0040.00416.98
8.0.100.0000.00717.18
8.0.90.0050.00317.12
8.0.80.0070.01117.11
8.0.70.0000.00716.99
8.0.60.0080.00017.14
8.0.50.0050.00317.14
8.0.30.0150.00417.30
8.0.20.0130.00717.40
8.0.10.0040.00417.20
8.0.00.0150.00416.91
7.4.330.0050.00015.55
7.4.320.0000.00616.84
7.4.300.0070.00016.74
7.4.290.0030.00316.81
7.4.280.0040.00416.79
7.4.270.0040.00416.83
7.4.260.0000.00716.78
7.4.250.0040.00416.74
7.4.240.0000.00916.79
7.4.230.0030.00316.61
7.4.220.0070.01116.70
7.4.210.0050.01316.77
7.4.200.0070.00016.74
7.4.160.0120.00716.68
7.4.150.0140.00317.40
7.4.140.0070.01117.86
7.4.130.0190.00616.68
7.4.120.0070.01416.65
7.4.110.0110.00616.49
7.4.100.0120.00616.55
7.4.90.0130.00616.77
7.4.80.0060.01619.39
7.4.70.0080.00816.57
7.4.60.0080.00816.66
7.4.50.0070.00416.37
7.4.40.0090.00916.72
7.4.30.0110.00616.75
7.4.00.0110.00715.13
7.3.330.0050.00013.12
7.3.320.0000.00513.18
7.3.310.0050.00216.34
7.3.300.0000.00716.32
7.3.290.0000.00716.36
7.3.280.0080.00916.32
7.3.270.0160.00317.40
7.3.260.0110.00516.60
7.3.250.0070.01116.42
7.3.240.0120.00616.46
7.3.230.0050.02016.63
7.3.210.0000.01716.66
7.3.200.0090.00916.51
7.3.190.0060.01616.74
7.3.180.0120.00416.58
7.3.170.0130.00316.73
7.3.160.0080.00816.33
7.2.330.0130.00616.74
7.2.320.0130.00616.39
7.2.310.0110.00716.72
7.2.300.0100.00716.63
7.2.290.0070.01016.46
7.2.60.0000.01316.90
7.2.00.0030.01719.32
7.1.200.0070.00715.88
7.1.100.0000.01218.29
7.1.70.0090.00917.19
7.1.60.0260.01335.33
7.1.50.0260.01635.16
7.1.40.0200.01334.36
7.1.30.0400.00634.54
7.1.20.0280.02134.67
7.1.10.0100.01016.70
7.1.00.0200.00416.79
7.0.200.0120.00616.76
7.0.190.0060.01216.96
7.0.180.0060.00916.41
7.0.170.0130.00916.65
7.0.160.0150.00716.55
7.0.150.0080.00816.38
7.0.140.0100.00916.30
7.0.130.0110.01016.63
7.0.120.0090.01416.56
7.0.110.0120.00916.57
7.0.100.0150.00616.50
7.0.90.0110.01116.42
7.0.80.0090.00916.27
7.0.70.0120.00616.45
7.0.60.0150.00316.25
7.0.50.0060.01116.76
7.0.40.0070.01016.85
7.0.30.0140.00816.60
7.0.20.0030.01816.50
7.0.10.0060.00916.67
7.0.00.0000.02116.64

preferences:
49.84 ms | 401 KiB | 5 Q