3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ "Time: 10:40 Request: page.php Action: whatever this is Refer: Facebook", "Action: This Example BB: Bla bla Request: 555" ]; foreach ($strings as $string) { print_r(preg_split('/\S+:\h+.*?(?=\h+\S+:)\K\h+/', $string)); }

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.10.0110.00718.62
8.5.00.0120.01019.97
8.4.150.0010.00114.05
8.4.140.0120.00917.80
8.4.130.0090.00818.19
8.4.120.0140.00621.95
8.4.110.0110.00822.42
8.4.100.0150.00617.58
8.4.90.0090.01118.53
8.4.80.0130.00819.72
8.4.70.0030.00518.05
8.4.60.0100.01018.58
8.4.50.0080.01218.55
8.4.40.0060.01319.47
8.4.30.0030.00617.91
8.4.20.0140.00320.49
8.4.10.0000.00917.44
8.3.280.0100.00918.54
8.3.270.0170.00616.80
8.3.260.0130.00616.85
8.3.250.0050.00318.93
8.3.240.0110.00816.86
8.3.230.0140.00816.66
8.3.220.0120.00718.93
8.3.210.0100.00816.66
8.3.200.0070.00216.54
8.3.190.0110.00817.16
8.3.180.0060.00417.15
8.3.170.0000.00820.69
8.3.160.0030.01020.53
8.3.150.0130.00616.99
8.3.140.0040.00417.22
8.3.130.0050.00318.46
8.3.120.0030.00620.66
8.3.110.0080.00020.94
8.3.100.0000.00824.06
8.3.90.0040.00426.77
8.3.80.0040.00418.43
8.3.70.0150.00016.63
8.3.60.0110.01118.43
8.3.50.0130.00619.52
8.3.40.0100.01018.79
8.3.30.0040.01118.63
8.3.20.0000.00720.64
8.3.10.0040.00421.73
8.3.00.0050.00221.85
8.2.290.0130.00620.41
8.2.280.0090.00218.84
8.2.270.0050.01417.48
8.2.260.0110.00716.69
8.2.250.0120.00616.82
8.2.240.0030.00617.15
8.2.230.0000.00822.58
8.2.220.0060.00337.54
8.2.210.0050.00326.77
8.2.200.0070.00318.66
8.2.190.0060.00916.75
8.2.180.0210.00016.75
8.2.170.0030.01022.96
8.2.160.0030.01020.93
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00621.25
8.2.110.0060.00321.30
8.2.100.0040.00717.84
8.2.90.0000.00818.03
8.2.80.0030.00519.32
8.2.70.0080.00017.88
8.2.60.0030.00517.75
8.2.50.0040.00418.10
8.2.40.0040.00419.30
8.2.30.0080.00020.67
8.2.20.0060.00318.07
8.2.10.0040.00419.59
8.2.00.0030.00518.00
8.1.330.0100.00921.95
8.1.320.0100.00616.52
8.1.310.0070.01118.27
8.1.300.0130.00316.48
8.1.290.0060.00330.84
8.1.280.0090.00925.92
8.1.270.0040.00422.27
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0040.00422.33
8.1.230.0030.00820.97
8.1.220.0050.00517.74
8.1.210.0060.00318.91
8.1.200.0040.00417.36
8.1.190.0060.00317.36
8.1.180.0080.00018.10
8.1.170.0030.00618.60
8.1.160.0000.00818.96
8.1.150.0000.00818.92
8.1.140.0070.00019.08
8.1.130.0000.00920.23
8.1.120.0040.00317.48
8.1.110.0080.00017.63
8.1.100.0040.00417.50
8.1.90.0030.00617.56
8.1.80.0000.00817.43
8.1.70.0040.00417.61
8.1.60.0040.00417.70
8.1.50.0050.00317.56
8.1.40.0040.00417.68
8.1.30.0030.00617.64
8.1.20.0000.00817.83
8.1.10.0040.00417.57
8.1.00.0080.00017.43
8.0.300.0060.00319.98
8.0.290.0050.00216.88
8.0.280.0030.00318.47
8.0.270.0040.00417.34
8.0.260.0030.00318.52
8.0.250.0000.00817.00
8.0.240.0030.00317.06
8.0.230.0070.00017.02
8.0.220.0060.00316.89
8.0.210.0030.00316.93
8.0.200.0040.00417.09
8.0.190.0060.00317.18
8.0.180.0070.00017.07
8.0.170.0000.00916.98
8.0.160.0030.00517.10
8.0.150.0070.00016.87
8.0.140.0000.00817.05
8.0.130.0030.00313.53
8.0.120.0000.00716.93
8.0.110.0000.00816.91
8.0.100.0040.00417.05
8.0.90.0000.00716.91
8.0.80.0070.00716.93
8.0.70.0000.00717.06
8.0.60.0000.00816.91
8.0.50.0000.00716.91
8.0.30.0090.00917.39
8.0.20.0130.00917.28
8.0.10.0040.00417.02
8.0.00.0140.00717.02
7.4.330.0030.00316.71
7.4.320.0000.00616.64
7.4.300.0040.00416.80
7.4.290.0030.00316.82
7.4.280.0040.00416.65
7.4.270.0000.00716.70
7.4.260.0070.00016.80
7.4.250.0030.00316.80
7.4.240.0050.00316.82
7.4.230.0000.00716.62
7.4.220.0040.00416.80
7.4.210.0080.00816.72
7.4.200.0050.00216.72
7.4.160.0090.00816.68
7.4.140.0180.00717.86
7.4.130.0120.01216.73
7.4.120.0180.00016.97
7.4.110.0060.01216.61
7.4.100.0070.01016.52
7.4.90.0060.01016.72
7.4.80.0090.00919.39
7.4.70.0150.00916.65
7.4.60.0090.00616.71
7.4.50.0120.00416.61
7.4.40.0120.00416.61
7.4.00.0030.01314.92
7.3.330.0000.00513.16
7.3.320.0000.00613.24
7.3.310.0000.00716.39
7.3.300.0000.00716.40
7.3.290.0030.00316.46
7.3.280.0110.00516.39
7.3.260.0100.00916.47
7.3.240.0060.01216.53
7.3.230.0100.00616.51
7.3.210.0060.01016.63
7.3.200.0130.00316.54
7.3.190.0100.00616.34
7.3.180.0140.00316.54
7.3.170.0070.01016.41
7.3.160.0060.00916.65
7.3.40.0080.01214.55
7.3.30.0130.01414.68
7.3.20.0110.00916.82
7.3.10.0080.00416.69
7.3.00.0040.01116.79
7.2.330.0090.01216.70
7.2.320.0170.00016.78
7.2.310.0050.01116.86
7.2.300.0110.00716.77
7.2.290.0040.01416.78
7.2.170.0040.00715.21
7.2.160.0110.01815.26
7.2.150.0000.02116.91
7.2.140.0110.00017.11
7.2.130.0030.00917.11
7.2.120.0170.00016.92
7.2.110.0060.00917.02
7.2.100.0000.01617.13
7.2.90.0110.01417.05
7.2.80.0160.00616.88
7.2.70.0100.00717.16
7.2.60.0100.00217.00
7.2.50.0090.00416.93
7.2.40.0130.01317.00
7.2.30.0180.00617.13
7.2.20.0110.01117.05
7.2.10.0130.01017.02
7.2.00.0120.00317.09
7.1.280.0130.00615.89
7.1.270.0060.01716.02
7.1.260.0190.00315.80
7.1.250.0080.00816.10

preferences:
43.65 ms | 403 KiB | 5 Q