3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/.+\s\(ID:([^(\)$)]+)\)$/', 'abc (xyz) (ID:http://exam()ple.com)', $match); print_r($match);

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.0130.00616.75
8.3.50.0100.00823.07
8.3.40.0110.00318.79
8.3.30.0120.00818.84
8.3.20.0050.00318.82
8.3.10.0030.00521.68
8.3.00.0040.00419.15
8.2.180.0130.00716.75
8.2.170.0150.00022.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.24
8.2.110.0060.00321.16
8.2.100.0110.00017.78
8.2.90.0000.00817.84
8.2.80.0060.00319.21
8.2.70.0040.00417.80
8.2.60.0040.00417.75
8.2.50.0040.00418.10
8.2.40.0040.00420.41
8.2.30.0000.01019.21
8.2.20.0050.00317.96
8.2.10.0000.00717.96
8.2.00.0050.00217.62
8.1.280.0060.01225.92
8.1.270.0040.00422.18
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.34
8.1.230.0040.00820.77
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0040.00417.22
8.1.190.0080.00017.13
8.1.180.0040.00418.10
8.1.170.0050.00318.54
8.1.160.0040.00418.67
8.1.150.0040.00420.30
8.1.140.0000.00819.50
8.1.130.0000.00717.61
8.1.120.0040.00417.50
8.1.110.0000.00817.39
8.1.100.0070.00017.53
8.1.90.0030.00617.46
8.1.80.0040.00417.49
8.1.70.0000.00717.45
8.1.60.0030.00517.53
8.1.50.0060.00317.54
8.1.40.0000.00817.56
8.1.30.0000.00817.75
8.1.20.0060.00317.68
8.1.10.0040.00417.58
8.1.00.0030.00617.57
8.0.300.0000.00719.73
8.0.290.0080.00016.75
8.0.280.0070.00018.23
8.0.270.0030.00317.16
8.0.260.0040.00417.07
8.0.250.0040.00416.88
8.0.240.0030.00316.98
8.0.230.0000.00716.89
8.0.220.0040.00416.79
8.0.210.0030.00316.94
8.0.200.0060.00316.84
8.0.190.0030.00316.85
8.0.180.0000.00816.83
8.0.170.0030.00616.83
8.0.160.0020.00516.96
8.0.150.0000.00816.73
8.0.140.0030.00316.84
8.0.130.0000.00513.36
8.0.120.0060.00316.93
8.0.110.0030.00517.00
8.0.100.0070.00016.74
8.0.90.0050.00216.96
8.0.80.0040.01416.93
8.0.70.0050.00316.91
8.0.60.0040.00417.00
8.0.50.0020.00516.85
8.0.30.0090.00917.15
8.0.20.0100.01117.40
8.0.10.0040.00416.83
8.0.00.0090.00916.95
7.4.330.0080.00015.55
7.4.320.0030.00316.49
7.4.300.0060.00016.54
7.4.290.0030.00616.69
7.4.280.0030.00616.71
7.4.270.0070.00016.59
7.4.260.0000.00816.61
7.4.250.0030.00316.66
7.4.240.0080.00016.68
7.4.230.0030.00316.49
7.4.220.0120.01216.72
7.4.210.0060.00916.54
7.4.200.0060.00316.40
7.4.160.0120.00316.63
7.4.150.0080.01117.40
7.4.140.0110.00517.86
7.4.130.0110.01016.59
7.4.120.0100.01016.66
7.4.110.0140.00416.64
7.4.100.0130.00416.55
7.4.90.0030.01316.47
7.4.80.0090.00919.39
7.4.70.0060.01016.63
7.4.60.0160.00016.43
7.4.50.0090.00916.63
7.4.40.0090.01116.42
7.4.30.0130.00716.69
7.4.00.0060.00914.91
7.3.330.0020.00213.04
7.3.320.0030.00313.03
7.3.310.0030.00316.13
7.3.300.0070.00016.25
7.3.290.0070.00716.28
7.3.280.0100.00716.27
7.3.270.0060.01117.40
7.3.260.0110.00616.40
7.3.250.0080.01016.32
7.3.240.0130.00516.35
7.3.230.0110.00716.42
7.3.210.0060.01216.31
7.3.200.0100.01016.25
7.3.190.0150.00616.26
7.3.180.0110.01116.21
7.3.170.0100.00716.63
7.3.160.0030.01316.44
7.2.330.0100.01016.57
7.2.320.0090.00916.63
7.2.310.0100.00716.64
7.2.300.0120.01216.53
7.2.290.0000.02016.57
7.2.60.0040.00816.70
7.2.00.0260.00319.52
7.1.200.0100.00315.78
7.1.70.0130.00317.34
7.1.60.0030.00717.52
7.1.00.0070.07322.44
7.0.200.0660.00314.61
7.0.130.0100.07322.03
7.0.120.0130.07722.09
7.0.110.0030.06022.11
7.0.100.0100.06322.00
7.0.90.0030.06022.12
7.0.80.0030.06022.03
7.0.70.0070.05322.10
7.0.60.0030.06022.15
7.0.50.0030.05722.21
7.0.40.0170.05722.13
7.0.30.0100.05022.08
7.0.20.0030.05722.06
7.0.10.0000.06022.17
7.0.00.0000.06022.07
5.6.280.0070.08020.88
5.6.270.0130.07020.95
5.6.260.0100.07321.05
5.6.250.0070.06020.86
5.6.240.0070.05720.97
5.6.230.0070.05721.09
5.6.220.0030.06321.05
5.6.210.0070.05320.97
5.6.200.0070.05720.94
5.6.190.0070.05721.04
5.6.180.0070.07720.79
5.6.170.0070.05320.93
5.6.160.0070.05320.83
5.6.150.0030.07320.74
5.6.140.0170.04720.92
5.6.130.0070.05321.01
5.6.120.0100.05321.03
5.6.110.0100.05320.91
5.6.100.0130.05720.92
5.6.90.0100.05020.98
5.6.80.0100.05020.43
5.6.70.0030.05320.12
5.6.60.0030.06020.22
5.6.50.0100.05020.41
5.6.40.0070.05020.21
5.6.30.0030.05720.39
5.6.20.0130.06720.34
5.6.10.0030.05320.29
5.6.00.0070.06720.18

preferences:
51.43 ms | 401 KiB | 5 Q