3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "01/11/2016 Aggregated Micro Power Holdings plc (AMPH) JPMorgan Global Growth & Income plc (JPGI) Murray Income Trust plc (MUT)"; preg_match('/(\d+\/\d+\/\d+)\s/', $string, $match); $date = trim($match[0]); $string = substr($string,strlen($match[0])); preg_match_all('/\G(?P<name>.*)?\((?P<abbr>.*)?\)/', $string, $firms); //$firms = preg_split('/\)\s/',$string); var_dump($firms);

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.0160.00618.31
8.3.50.0120.00320.14
8.3.40.0040.01118.93
8.3.30.0110.00418.93
8.3.20.0000.00819.02
8.3.10.0040.00421.73
8.3.00.0040.00420.71
8.2.180.0060.00916.75
8.2.170.0070.01422.96
8.2.160.0070.00720.39
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0090.00020.96
8.2.120.0040.00426.35
8.2.110.0060.00320.35
8.2.100.0090.00318.03
8.2.90.0000.00817.88
8.2.80.0000.00917.97
8.2.70.0080.00317.93
8.2.60.0040.00418.03
8.2.50.0000.00818.10
8.2.40.0040.00420.59
8.2.30.0030.00519.27
8.2.20.0070.00017.96
8.2.10.0000.00718.08
8.2.00.0040.00417.70
8.1.280.0150.00325.92
8.1.270.0040.00422.01
8.1.260.0070.00028.09
8.1.250.0050.00228.09
8.1.240.0030.00622.47
8.1.230.0110.00020.95
8.1.220.0040.00418.77
8.1.210.0060.00318.97
8.1.200.0030.00617.13
8.1.190.0090.00317.35
8.1.180.0030.00618.10
8.1.170.0080.00018.77
8.1.160.0070.00018.86
8.1.150.0060.00321.99
8.1.140.0000.00819.58
8.1.130.0060.00317.54
8.1.120.0000.00717.53
8.1.110.0050.00317.42
8.1.100.0040.00417.58
8.1.90.0050.00317.56
8.1.80.0020.00517.39
8.1.70.0030.00317.55
8.1.60.0060.00317.61
8.1.50.0090.00017.64
8.1.40.0080.00017.60
8.1.30.0000.00817.81
8.1.20.0030.00517.68
8.1.10.0040.00417.71
8.1.00.0050.00317.66
8.0.300.0000.00719.91
8.0.290.0030.00616.75
8.0.280.0000.00818.43
8.0.270.0070.00017.21
8.0.260.0070.00017.23
8.0.250.0060.00316.98
8.0.240.0000.00717.07
8.0.230.0060.00316.92
8.0.220.0040.00417.01
8.0.210.0000.00817.07
8.0.200.0090.00017.08
8.0.190.0070.00017.06
8.0.180.0000.00816.99
8.0.170.0050.00317.03
8.0.160.0040.00417.05
8.0.150.0000.00716.85
8.0.140.0040.00416.93
8.0.130.0060.00013.44
8.0.120.0080.00016.83
8.0.110.0000.00716.80
8.0.100.0040.00416.87
8.0.90.0000.00716.98
8.0.80.0070.01016.96
8.0.70.0030.00516.82
8.0.60.0040.00417.05
8.0.50.0040.00416.79
8.0.30.0080.01217.36
8.0.20.0130.00617.41
8.0.10.0080.00016.97
8.0.00.0090.00917.11
7.4.330.0030.00315.55
7.4.320.0030.00316.67
7.4.300.0000.00716.54
7.4.290.0030.00316.50
7.4.280.0080.00016.66
7.4.270.0040.00416.54
7.4.260.0000.00716.65
7.4.250.0070.00016.64
7.4.240.0050.00316.61
7.4.230.0030.00316.49
7.4.220.0180.00516.70
7.4.210.0070.01016.75
7.4.200.0080.00016.66
7.4.160.0120.00416.63
7.4.150.0140.00417.40
7.4.140.0130.01017.86
7.4.130.0070.01116.74
7.4.120.0070.01216.69
7.4.110.0090.00916.72
7.4.100.0090.01216.62
7.4.90.0150.00916.56
7.4.80.0120.01019.39
7.4.70.0100.00716.73
7.4.60.0120.00616.72
7.4.50.0070.01116.54
7.4.40.0130.00316.73
7.4.30.0060.01016.83
7.4.00.0040.00815.39
7.3.330.0000.00613.09
7.3.320.0000.00613.18
7.3.310.0040.00416.41
7.3.300.0070.00016.36
7.3.290.0060.00916.34
7.3.280.0100.00816.35
7.3.270.0150.00317.40
7.3.260.0080.01116.63
7.3.250.0080.01016.54
7.3.240.0070.01216.46
7.3.230.0100.00716.55
7.3.210.0090.00916.36
7.3.200.0090.00916.54
7.3.190.0110.00816.68
7.3.180.0050.01116.43
7.3.170.0110.00616.24
7.3.160.0040.01416.36
7.2.330.0110.00716.73
7.2.320.0120.00616.63
7.2.310.0070.01016.83
7.2.300.0070.01016.70
7.2.290.0180.00316.88
7.2.60.0030.01017.03
7.2.50.0090.00617.20
7.2.00.0040.01119.45
7.1.200.0040.00415.81
7.1.70.0030.00717.38
7.1.60.0110.00317.20
7.1.00.0070.06722.35
7.0.200.0150.00816.63
7.0.130.0070.06322.09
7.0.120.0130.05322.00
7.0.110.0170.05322.02
7.0.100.0000.06322.09
7.0.90.0130.06721.94
7.0.80.0030.06022.14
7.0.70.0030.06322.06
7.0.60.0070.07022.06
7.0.50.0100.07022.04
7.0.40.0070.05722.11
7.0.30.0070.06022.18
7.0.20.0130.05022.11
7.0.10.0070.05722.07
7.0.00.0030.06022.08
5.6.280.0130.05720.87
5.6.270.0170.05020.84
5.6.260.0070.05720.87
5.6.250.0100.05320.86
5.6.240.0170.05321.03
5.6.230.0130.05320.92
5.6.220.0070.05721.00
5.6.210.0000.06320.94
5.6.200.0100.05720.93
5.6.190.0030.06320.98
5.6.180.0030.06320.84
5.6.170.0070.06020.78
5.6.160.0100.05320.82
5.6.150.0130.05320.79
5.6.140.0130.05320.99
5.6.130.0100.05320.82
5.6.120.0070.06020.98
5.6.110.0070.06021.02
5.6.100.0100.05720.90
5.6.90.0000.06321.05
5.6.80.0170.04320.38
5.6.70.0030.06020.37
5.6.60.0070.05320.30
5.6.50.0030.05720.21
5.6.40.0100.05020.27
5.6.30.0100.05320.09
5.6.20.0130.05020.38
5.6.10.0100.05320.36
5.6.00.0100.05020.13

preferences:
57.35 ms | 400 KiB | 5 Q