3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sentence = "Locally meet daily newlywed for next 3 days"; // Use preg_match() function to check match preg_match_all('/\b(?!(?:daily|weekly|monthly))(\w+ly)\b/', $sentence, $matches, PREG_OFFSET_CAPTURE); // Display matches result print_r($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.5.00.0150.00622.02
8.4.150.0030.00014.05
8.4.140.0130.01217.77
8.4.130.0080.00018.01
8.4.120.0120.00820.63
8.4.110.0050.00518.93
8.4.100.0130.01018.08
8.4.90.0130.00720.55
8.4.80.0090.01218.98
8.4.70.0060.00319.05
8.4.60.0160.00618.70
8.4.50.0090.00919.68
8.4.40.0100.01020.43
8.4.30.0100.00718.48
8.4.20.0070.01418.13
8.4.10.0120.00320.63
8.3.280.0110.01118.48
8.3.270.0090.01116.55
8.3.260.0090.01016.67
8.3.250.0110.00918.66
8.3.240.0190.00116.53
8.3.230.0070.00716.64
8.3.220.0080.00919.06
8.3.210.0100.00916.65
8.3.200.0050.00316.51
8.3.190.0110.00717.22
8.3.180.0040.00316.74
8.3.170.0160.00317.13
8.3.160.0090.00918.35
8.3.150.0140.00420.84
8.3.140.0080.00016.63
8.3.130.0050.00316.52
8.3.120.0060.00320.84
8.3.110.0100.01020.94
8.3.100.0070.00320.36
8.3.90.0080.00026.77
8.3.80.0000.00919.36
8.3.70.0110.00416.58
8.3.60.0000.01516.50
8.3.50.0070.00923.64
8.3.40.0100.01018.79
8.3.30.0030.01518.67
8.3.20.0030.00624.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.290.0120.00720.65
8.2.280.0030.00518.59
8.2.270.0110.00717.18
8.2.260.0070.01118.28
8.2.250.0000.00816.82
8.2.240.0080.00018.94
8.2.230.0000.01022.58
8.2.220.0090.00024.06
8.2.210.0140.00026.77
8.2.200.0030.00618.88
8.2.190.0040.01116.63
8.2.180.0140.00425.92
8.2.170.0070.01122.96
8.2.160.0040.01122.96
8.2.150.0080.00025.66
8.2.140.0000.01424.66
8.2.130.0080.00026.16
8.2.120.0080.00021.13
8.2.110.0030.00722.29
8.2.100.0110.00017.91
8.2.90.0030.00617.88
8.2.80.0060.00318.86
8.2.70.0060.00317.91
8.2.60.0050.00318.22
8.2.50.0040.00419.21
8.2.40.0080.00021.23
8.2.30.0040.00419.26
8.2.20.0000.00817.95
8.2.10.0080.00019.19
8.2.00.0000.00719.19
8.1.330.0100.00916.35
8.1.320.0070.01317.89
8.1.310.0130.00618.39
8.1.300.0110.00816.20
8.1.290.0060.00330.84
8.1.280.0070.01125.92
8.1.270.0200.00023.82
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0130.00323.82
8.1.230.0030.00917.64
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0080.00017.38
8.1.190.0000.00817.23
8.1.180.0050.00319.00
8.1.170.0030.00518.63
8.1.160.0030.00619.04
8.1.150.0040.00418.85
8.1.140.0000.00818.80
8.1.130.0040.00420.01
8.1.120.0040.00417.45
8.1.110.0060.00317.59
8.1.100.0040.00317.57
8.1.90.0040.00417.46
8.1.80.0000.00717.45
8.1.70.0040.00417.49
8.1.60.0060.00317.57
8.1.50.0040.00817.44
8.1.40.0000.00817.43
8.1.30.0030.00517.58
8.1.20.0000.00817.67
8.1.10.0040.00417.52
8.1.00.0030.00517.49
8.0.300.0040.00418.93
8.0.290.0040.00416.88
8.0.280.0070.00018.47
8.0.270.0030.00317.00
8.0.260.0030.00320.24
8.0.250.0000.00717.04
8.0.240.0030.00317.04
8.0.230.0030.00617.04
8.0.220.0040.00416.95
8.0.210.0070.00017.01
8.0.200.0080.00017.05
8.0.190.0040.00417.04
8.0.180.0040.00416.95
8.0.170.0090.00016.99
8.0.160.0040.00416.86
8.0.150.0000.00716.79
8.0.140.0000.00716.86
8.0.130.0060.00013.39
8.0.120.0000.00816.92
8.0.110.0050.00316.75
8.0.100.0040.00416.96
8.0.90.0090.00016.88
8.0.80.0080.01216.92
8.0.70.0040.00416.92
8.0.60.0040.00416.86
8.0.50.0050.00217.01
8.0.30.0120.00617.46
8.0.20.0120.00617.28
8.0.10.0050.00217.10
8.0.00.0140.00516.92
7.4.330.0050.00015.55
7.4.320.0000.00616.76
7.4.300.0060.00016.72
7.4.290.0000.00816.79
7.4.280.0060.00316.65
7.4.270.0000.00716.72
7.4.260.0050.00013.35
7.4.250.0030.00316.74
7.4.240.0030.00316.61
7.4.230.0030.00316.64
7.4.220.0030.00316.68
7.4.210.0080.00616.61
7.4.200.0030.00316.80
7.4.130.0140.00416.74
7.4.120.0060.01216.37
7.4.110.0160.00916.66
7.4.100.0130.00616.68
7.4.90.0110.00716.67
7.4.80.0120.00819.39
7.4.70.0060.01316.58
7.4.60.0080.00816.59
7.4.50.0080.01616.54
7.4.40.0040.01416.50
7.4.30.0060.01216.52
7.4.20.0130.00316.52
7.4.10.0030.01516.46
7.4.00.0150.00316.50
7.3.330.0070.00016.29
7.3.320.0060.00013.01
7.3.310.0030.00316.36
7.3.300.0070.00016.13
7.3.290.0030.01016.24
7.3.280.0160.00016.24
7.3.260.0170.00316.30
7.3.240.0070.01116.36
7.3.230.0070.01116.35
7.3.210.0070.01016.72
7.3.200.0080.00816.52
7.3.190.0080.00816.19
7.3.180.0140.00716.29
7.3.170.0040.01416.51
7.3.160.0160.00316.43
7.3.150.0120.00616.29
7.3.140.0070.01416.73
7.3.130.0050.01616.21
7.3.120.0040.01416.27
7.3.110.0060.01016.23
7.3.100.0100.00716.35
7.3.90.0030.01316.34
7.3.80.0120.00316.23
7.3.70.0130.00616.45
7.3.60.0070.01016.42
7.3.50.0060.01316.28
7.3.40.0030.01316.25
7.3.30.0070.01016.37
7.3.20.0200.00016.34
7.3.10.0160.00316.26
7.3.00.0130.00616.54
7.2.330.0070.01116.48
7.2.320.0070.01516.62
7.2.310.0100.00716.67
7.2.300.0040.01216.84
7.2.290.0090.00916.54
7.2.280.0070.01116.54
7.2.270.0100.01316.71
7.2.260.0120.01216.48
7.2.250.0070.01016.40
7.2.240.0000.01716.50
7.2.230.0140.00316.62
7.2.220.0100.00716.42
7.2.210.0060.01216.33
7.2.200.0110.00716.63
7.2.190.0060.01216.42
7.2.180.0140.00416.59
7.2.170.0160.00616.48
7.2.160.0120.00616.43
7.2.150.0150.00616.47
7.2.140.0090.00916.59
7.2.130.0280.00916.73
7.2.120.0080.00816.68
7.2.110.0170.00716.78
7.2.100.0120.00616.58
7.2.90.0040.01616.80
7.2.80.0150.00416.55
7.2.70.0040.01616.63
7.2.60.0130.00616.32
7.2.50.0130.00916.60
7.2.40.0150.00716.70
7.2.30.0120.00916.65
7.2.20.0060.01216.50
7.2.10.0110.01416.61
7.2.00.0120.00616.57

preferences:
30.62 ms | 403 KiB | 5 Q