3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex= '#Schedule a (?<scheduletype>\w+)\swith\s(?<person>\w+)\sat\s(?<time>\w+)#'; preg_match($regex, 'Schedule a meeting with Ann at 3pm', $matches); echo $matches['scheduletype']."\n"; echo $matches['person']."\n"; echo $matches['time']."\n";

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.0000.01516.50
8.3.60.0070.00718.43
8.3.50.0070.00718.52
8.3.40.0060.01218.81
8.3.30.0070.00718.66
8.3.20.0080.00021.94
8.3.10.0040.00421.60
8.3.00.0030.00623.65
8.2.190.0070.01417.00
8.2.180.0120.00316.75
8.2.170.0070.00718.91
8.2.160.0150.00022.96
8.2.150.0050.00324.18
8.2.140.0030.00724.66
8.2.130.0000.00820.93
8.2.120.0080.00026.35
8.2.110.0070.00321.09
8.2.100.0060.00617.97
8.2.90.0050.00318.16
8.2.80.0080.00017.97
8.2.70.0080.00017.80
8.2.60.0040.00417.90
8.2.50.0030.00618.10
8.2.40.0080.00019.20
8.2.30.0050.00321.32
8.2.20.0040.00418.22
8.2.10.0050.00218.03
8.2.00.0000.00819.10
8.1.280.0150.00025.92
8.1.270.0140.00023.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0100.00722.14
8.1.230.0040.00820.97
8.1.220.0030.00717.77
8.1.210.0040.00419.16
8.1.200.0030.00617.35
8.1.190.0030.00517.35
8.1.180.0050.00318.10
8.1.170.0000.00818.83
8.1.160.0000.00818.83
8.1.150.0060.00319.05
8.1.140.0040.00417.74
8.1.130.0030.00519.09
8.1.120.0030.00517.63
8.1.110.0040.00417.54
8.1.100.0000.00717.61
8.1.90.0050.00317.55
8.1.80.0000.01017.54
8.1.70.0070.00017.63
8.1.60.0080.00417.70
8.1.50.0000.00817.58
8.1.40.0000.00817.73
8.1.30.0040.00417.82
8.1.20.0000.00717.71
8.1.10.0030.00617.64
8.1.00.0050.00317.68
8.0.300.0070.00019.82
8.0.290.0050.00316.88
8.0.280.0000.00718.51
8.0.270.0050.00316.97
8.0.260.0030.00318.59
8.0.250.0000.00817.08
8.0.240.0040.00417.10
8.0.230.0030.00317.10
8.0.220.0080.00016.92
8.0.210.0030.00316.88
8.0.200.0030.00317.00
8.0.190.0060.00317.02
8.0.180.0030.00517.00
8.0.170.0090.00016.97
8.0.160.0040.00417.04
8.0.150.0040.00417.05
8.0.140.0030.00416.89
8.0.130.0000.00613.50
8.0.120.0000.00917.07
8.0.110.0050.00317.01
8.0.100.0040.00416.90
8.0.90.0000.00716.93
8.0.80.0060.00916.99
8.0.70.0040.00416.99
8.0.60.0040.00416.80
8.0.50.0040.00416.85
8.0.30.0090.01017.25
8.0.20.0170.00517.58
8.0.10.0000.00817.07
8.0.00.0090.00917.12
7.4.330.0000.00416.80
7.4.320.0000.00616.77
7.4.300.0070.00016.65
7.4.290.0040.00816.66
7.4.280.0060.00316.50
7.4.270.0000.00716.66
7.4.260.0000.00716.57
7.4.250.0070.00016.63
7.4.240.0030.00616.64
7.4.230.0030.00316.77
7.4.220.0030.00616.74
7.4.210.0070.01116.77
7.4.200.0070.00016.54
7.4.160.0150.00316.70
7.4.140.0120.00617.86
7.4.130.0090.00916.57
7.4.120.0110.00616.69
7.4.110.0140.00716.54
7.4.100.0070.01016.73
7.4.90.0090.00916.55
7.4.80.0040.01419.39
7.4.70.0070.01516.59
7.4.60.0150.00916.46
7.4.50.0000.01816.52
7.4.40.0060.01216.64
7.4.00.0030.01215.26
7.3.330.0000.00513.30
7.3.320.0030.00413.29
7.3.310.0000.00716.50
7.3.300.0030.00316.47
7.3.290.0070.00016.45
7.3.280.0100.00716.36
7.3.260.0140.00516.71
7.3.240.0110.00916.55
7.3.230.0070.01016.52
7.3.210.0040.01416.54
7.3.200.0080.00816.48
7.3.190.0120.00916.64
7.3.180.0060.00916.65
7.3.170.0110.00716.71
7.3.160.0090.00616.61
7.3.80.0130.00314.97
7.3.70.0090.00714.84
7.3.60.0050.01014.85
7.3.50.0070.00914.85
7.3.40.0070.01014.96
7.3.30.0110.00614.79
7.3.20.0140.00516.56
7.3.10.0120.00816.67
7.3.00.0080.01116.68
7.2.330.0070.01016.92
7.2.320.0110.01116.71
7.2.310.0090.00916.68
7.2.300.0060.01016.81
7.2.290.0160.00816.80
7.2.210.0070.01415.15
7.2.200.0090.00814.96
7.2.190.0070.00815.13
7.2.180.0070.01115.10
7.2.170.0130.00715.12
7.2.160.0110.00615.30
7.2.150.0060.01416.91
7.2.140.0090.00916.78
7.2.130.0060.01316.73
7.2.120.0110.00717.08
7.2.110.0110.00517.06
7.2.100.0100.00616.99
7.2.90.0120.00316.86
7.2.80.0050.01016.99
7.2.70.0060.01117.01
7.2.60.0120.00517.01
7.2.50.0020.01517.07
7.2.40.2190.01117.26
7.2.30.0120.00617.35
7.2.20.0090.00817.35
7.2.10.0090.01117.26
7.2.00.2630.00917.35
7.1.310.0080.01015.93
7.1.300.0070.00715.74
7.1.290.0030.01215.78
7.1.280.0070.01115.87
7.1.270.0040.01415.79
7.1.260.0050.01015.81
7.1.250.0090.00715.93
7.1.240.0140.00615.93
7.1.230.0060.01215.97
7.1.220.0120.01015.77
7.1.210.0130.00715.82
7.1.200.0130.00415.67
7.1.190.0080.01115.87
7.1.180.0100.01115.75
7.1.170.0100.00915.79
7.1.160.2080.01116.29
7.1.150.0070.01216.16
7.1.140.0090.01316.27
7.1.130.1850.01216.14
7.1.120.1240.00816.25
7.1.110.1130.00916.06
7.1.100.1270.00715.98
7.1.90.1940.00916.05
7.1.80.0770.00816.05
7.1.70.0120.00615.74
7.1.60.0150.01121.66
7.1.50.1900.00921.53
7.1.40.1900.01021.43
7.1.30.1320.00821.46
7.1.20.2150.01121.53
7.1.10.1850.01315.50
7.1.00.1650.00715.65
7.0.330.0090.00915.22
5.6.400.0130.00714.50
5.6.390.0090.01214.48
5.6.380.0110.01114.35

preferences:
62.05 ms | 401 KiB | 5 Q