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('/(?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.00616.75
8.3.50.0080.01222.89
8.3.40.0070.00718.96
8.3.30.0090.00618.77
8.3.20.0040.00419.15
8.3.10.0050.00321.86
8.3.00.0050.00320.95
8.2.180.0120.00318.48
8.2.170.0150.00622.96
8.2.160.0070.00720.53
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0120.00626.16
8.2.120.0050.00321.12
8.2.110.0030.00621.03
8.2.100.0100.01117.56
8.2.90.0030.00619.05
8.2.80.0040.00417.97
8.2.70.0030.00517.91
8.2.60.0000.00818.04
8.2.50.0000.00818.10
8.2.40.0000.00820.59
8.2.30.0040.00419.38
8.2.20.0040.00418.09
8.2.10.0050.00218.15
8.2.00.0040.00417.71
8.1.280.0150.00625.92
8.1.270.0040.00422.05
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0050.00522.59
8.1.230.0090.00319.01
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0090.00017.23
8.1.190.0090.00017.40
8.1.180.0030.00518.10
8.1.170.0030.00618.75
8.1.160.0040.00418.90
8.1.150.0060.00320.31
8.1.140.0000.00819.57
8.1.130.0000.00817.71
8.1.120.0080.00017.49
8.1.110.0000.00717.44
8.1.100.0000.00817.55
8.1.90.0030.00517.56
8.1.80.0000.00717.55
8.1.70.0000.00717.56
8.1.60.0030.00617.55
8.1.50.0000.00817.58
8.1.40.0080.00017.60
8.1.30.0080.00017.68
8.1.20.0040.00417.79
8.1.10.0030.00617.77
8.1.00.0000.00817.68
8.0.300.0000.00818.77
8.0.290.0030.00516.63
8.0.280.0000.00718.50
8.0.270.0070.00017.26
8.0.260.0030.00317.21
8.0.250.0040.00417.02
8.0.240.0000.00617.02
8.0.230.0100.00017.02
8.0.220.0000.00716.87
8.0.210.0000.00716.97
8.0.200.0030.00717.05
8.0.190.0000.00817.02
8.0.180.0050.00216.97
8.0.170.0050.00316.90
8.0.160.0000.00816.93
8.0.150.0040.00416.79
8.0.140.0000.00716.90
8.0.130.0000.00513.34
8.0.120.0060.00316.84
8.0.110.0070.00016.82
8.0.100.0000.00816.77
8.0.90.0040.00417.02
8.0.80.0140.00716.86
8.0.70.0000.00716.89
8.0.60.0070.00016.86
8.0.50.0000.00716.83
8.0.30.0140.00817.15
8.0.20.0130.00717.42
8.0.10.0000.00716.97
8.0.00.0150.00316.98
7.4.330.0030.00315.55
7.4.320.0030.00316.51
7.4.300.0000.00616.66
7.4.290.0000.00716.73
7.4.280.0080.00016.63
7.4.270.0030.00316.74
7.4.260.0000.00716.59
7.4.250.0000.00716.71
7.4.240.0070.00016.71
7.4.230.0000.00816.82
7.4.220.0090.00916.73
7.4.210.0060.00916.61
7.4.200.0040.00416.64
7.4.160.0160.00416.76
7.4.150.0120.00617.40
7.4.140.0080.00917.86
7.4.130.0070.01016.68
7.4.120.0120.00916.74
7.4.110.0070.01016.62
7.4.100.0070.01116.65
7.4.90.0110.00616.78
7.4.80.0200.00319.39
7.4.70.0060.01016.65
7.4.60.0130.00316.61
7.4.50.0070.00716.64
7.4.40.0070.01016.78
7.4.30.0100.00616.69
7.4.00.0110.00715.36
7.3.330.0030.00313.28
7.3.320.0000.00513.24
7.3.310.0040.00216.41
7.3.300.0000.00816.18
7.3.290.0080.00716.39
7.3.280.0090.00816.36
7.3.270.0130.01017.40
7.3.260.0110.00716.38
7.3.250.0140.00416.58
7.3.240.0120.00716.54
7.3.230.0100.00716.50
7.3.210.0060.01216.72
7.3.200.0120.00316.80
7.3.190.0150.00416.64
7.3.180.0090.01316.62
7.3.170.0100.00616.34
7.3.160.0090.00916.63
7.2.330.0070.01516.71
7.2.320.0130.01016.86
7.2.310.0040.01416.85
7.2.300.0100.00616.64
7.2.290.0070.01416.87
7.2.00.0090.00319.68
7.1.70.0000.00917.23
7.1.60.0040.00717.16
7.1.00.0030.07722.52
7.0.200.0110.01116.71
7.0.130.0070.05722.06
7.0.120.0100.05322.02
7.0.110.0100.05322.01
7.0.100.0100.05022.01
7.0.90.0030.06021.98
7.0.80.0070.06022.11
7.0.70.0130.04721.97
7.0.60.0000.06022.08
7.0.50.0030.05722.13
7.0.40.0070.05322.06
7.0.30.0070.05321.97
7.0.20.0030.05722.10
7.0.10.0030.05321.97
7.0.00.0130.04722.19
5.6.280.0070.05320.80
5.6.270.0130.05320.84
5.6.260.0030.05721.03
5.6.250.0100.05021.02
5.6.240.0070.05720.99
5.6.230.0030.06021.03
5.6.220.0070.05320.96
5.6.210.0070.05320.93
5.6.200.0030.06020.85
5.6.190.0030.06320.83
5.6.180.0100.05020.75
5.6.170.0100.05020.99
5.6.160.0030.05720.98
5.6.150.0070.06021.03
5.6.140.0100.05320.74
5.6.130.0100.04720.99
5.6.120.0000.06020.98
5.6.110.0070.05320.97
5.6.100.0100.05320.96
5.6.90.0130.06321.03
5.6.80.0030.05320.17
5.6.70.0070.05020.16
5.6.60.0000.06020.45
5.6.50.0000.05720.36
5.6.40.0070.05020.37
5.6.30.0100.05020.20
5.6.20.0100.05720.41
5.6.10.0030.05320.43
5.6.00.0100.05020.28

preferences:
56.72 ms | 401 KiB | 5 Q