3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "address='St Marks Church',notes='The North East\'s premier...'"; preg_match_all( "/(address|notes)='\K(?:\\\'|[^'])*/", $string, $out ); var_export(array_combine($out[1], $out[0])); echo "\n---\n"; preg_match_all( "/(address|notes)='((?:\\\'|[^'])*)/", $string, $out, PREG_SET_ORDER ); var_export(array_column($out, 2, 1));

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.4.140.0110.01017.83
8.4.130.0100.01018.63
8.4.120.0110.01124.18
8.4.110.0120.01019.92
8.4.100.0090.00917.70
8.4.90.0130.00820.48
8.4.80.0120.00819.15
8.4.70.0110.00918.59
8.4.60.0100.01220.53
8.4.50.0100.00920.83
8.4.40.0040.00419.96
8.4.30.0120.00620.31
8.4.20.0030.01619.91
8.4.10.0040.00422.23
8.3.270.0110.00816.56
8.3.260.0050.00316.66
8.3.250.0150.00518.92
8.3.240.0070.01117.27
8.3.230.0150.00416.62
8.3.220.0040.00618.74
8.3.210.0030.00516.53
8.3.200.0040.00616.77
8.3.190.0130.00616.85
8.3.180.0100.00916.78
8.3.170.0080.01120.70
8.3.160.0070.01017.11
8.3.150.0120.00616.98
8.3.140.0100.00518.61
8.3.130.0120.00618.57
8.3.120.0070.00018.98
8.3.110.0060.00316.51
8.3.100.0070.00318.56
8.3.90.0030.00526.77
8.3.80.0060.00318.55
8.3.70.0100.01016.58
8.3.60.0190.00018.43
8.3.50.0120.00320.18
8.3.40.0140.00021.67
8.3.30.0110.00418.97
8.3.20.0000.00724.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.290.0110.00820.25
8.2.280.0130.00618.35
8.2.270.0150.00419.13
8.2.260.0070.00718.54
8.2.250.0090.00018.65
8.2.240.0090.00018.98
8.2.230.0060.00320.94
8.2.220.0130.00324.06
8.2.210.0150.00426.77
8.2.200.0030.00618.42
8.2.190.0070.01016.88
8.2.180.0040.01125.92
8.2.170.0080.00819.21
8.2.160.0080.00822.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00026.16
8.2.110.0060.00320.36
8.2.100.0070.00417.84
8.2.90.0000.00818.16
8.2.80.0090.00018.99
8.2.70.0030.00517.88
8.2.60.0030.00517.88
8.2.50.0040.00418.04
8.2.40.0060.00320.19
8.2.30.0040.00418.10
8.2.20.0000.00720.58
8.2.10.0000.00718.02
8.2.00.0040.00419.22
8.1.330.0060.01322.08
8.1.320.0110.00716.30
8.1.310.0120.00616.68
8.1.300.0160.00019.84
8.1.290.0100.00330.84
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0100.00021.03
8.1.230.0090.00317.77
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0030.00617.36
8.1.180.0080.00018.10
8.1.170.0070.00717.62
8.1.160.0040.00418.73
8.1.150.0070.00018.78
8.1.140.0040.00417.48
8.1.130.0000.00718.77
8.1.120.0000.00717.45
8.1.110.0000.00817.45
8.1.100.0020.00517.54
8.1.90.0040.00417.57
8.1.80.0050.00517.52
8.1.70.0030.01117.50
8.1.60.0130.00017.62
8.1.50.0120.00417.64
8.1.40.0100.00517.55
8.1.30.0140.00017.73
8.1.20.0060.00817.67
8.1.10.0050.00917.72
8.1.00.0120.00417.66
8.0.300.0040.00418.77
8.0.290.0050.00316.88
8.0.280.0000.00718.52
8.0.270.0000.00816.88
8.0.260.0000.00618.52
8.0.250.0050.00316.95
8.0.240.0080.00017.03
8.0.230.0020.00516.91
8.0.220.0000.00716.90
8.0.210.0050.00516.97
8.0.200.0150.00016.86
8.0.190.0120.00216.96
8.0.180.0160.00016.82
8.0.170.0090.00516.99
8.0.160.0100.00516.91
8.0.150.0110.00416.88
8.0.140.0120.00316.92
8.0.130.0110.00416.84
8.0.120.0100.00516.96
8.0.110.0100.00516.94
8.0.100.0130.00316.94
8.0.90.0090.00616.88
8.0.80.0090.00617.00
8.0.70.0150.00016.77
8.0.60.0100.00616.86
8.0.50.0090.00216.96
8.0.30.0140.00016.89
8.0.20.0070.00716.86
8.0.10.0060.00616.98
7.4.330.0000.00515.55
7.4.320.0000.00716.77
7.4.300.0070.00316.74
7.4.290.0130.00416.54
7.4.280.0140.00316.69
7.4.270.0140.00416.66
7.4.260.0120.00516.75
7.4.250.0110.00616.73
7.4.240.0110.00616.67
7.4.230.0170.00016.77
7.4.220.0070.00716.70
7.4.210.0100.00316.56
7.4.200.0070.00716.73
7.4.190.0090.00616.82
7.4.180.0150.00016.74
7.4.160.0100.00316.70
7.4.150.0050.00816.59
7.4.140.0080.00616.52
7.4.130.0090.00416.57
7.4.120.0040.00816.57
7.4.110.0110.00016.63
7.4.100.0000.01116.64
7.4.90.0080.00316.43
7.4.80.0050.00516.45
7.4.70.0120.00016.78
7.4.60.0090.00316.67
7.4.50.0130.00016.49
7.4.40.0030.01016.55
7.4.30.0120.00016.68
7.4.20.0040.00716.63
7.4.10.0020.00716.59
7.4.00.0070.00316.62

preferences:
100.33 ms | 403 KiB | 5 Q