3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = "FH_189.90.192.12 2016-02-02 21:03:05 M CTAG COMPLD total_blocks=1 block_number=1 block_records=13 list of ONU state -------------------------------------------------------------------------------- ONUID AdminState OperState AUTH AUTHINFO ONUIP LASTOFFTIME 4 UP UP MAC c0-7e-40-48-4f-30 -- 2016-01-29 08:53:35 6 UP UP MAC c0-7e-40-48-4f-6f -- 2016-01-29 08:53:35 5 UP LOS MAC c0-7e-40-48-64-20 -- 2016-01-31 21:17:56 8 UP LOS MAC c0-7e-40-48-4f-5e -- 2015-10-01 10:21:55 9 UP UP MAC c0-7e-40-48-62-ce -- 2016-01-29 08:53:35 10 UP UP MAC c0-7e-40-48-4f-69 -- 2016-01-29 08:53:34 11 UP UP MAC c0-7e-40-48-4f-4d -- 2016-02-01 17:53:57 12 UP UP MAC c0-7e-40-48-4f-33 -- 2015-11-23 19:40:14 13 UP LOS MAC c0-7e-40-48-4f-7d -- 2015-10-01 10:22:05 14 UP UP MAC c0-7e-40-48-4f-28 -- 2016-01-29 08:53:34 15 UP UP MAC c0-7e-40-48-4f-e5 -- 2016-01-29 08:53:33 16 UP UP MAC c0-7e-40-48-4f-af -- 2016-01-29 08:53:34 17 UP UP MAC c0-7e-40-48-4f-91 -- 2015-10-01 10:22:13 -------------------------------------------------------------------------------- ;"; $pattern = "/\d{1,}\s(UP)\s(UP|LOS)\s(MAC)\s\w{2}-\w{2}-\w{2}-\w{2}-\w{2}-\w{2}\s--\s\w{4}-\w{2}-\w{2}\s\d{2}:\d{2}:\d{2}/"; preg_match($pattern, $subject, $matches); 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.3.60.0120.00918.43
8.3.50.0060.00918.22
8.3.40.0070.01118.80
8.3.30.0070.00718.63
8.3.20.0040.00420.39
8.3.10.0030.00520.64
8.3.00.0030.00620.46
8.2.180.0110.00318.59
8.2.170.0070.00722.96
8.2.160.0100.00322.33
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00420.87
8.2.120.0030.00626.35
8.2.110.0030.00621.16
8.2.100.0120.00017.91
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0000.00718.04
8.2.50.0040.00418.09
8.2.40.0000.00920.55
8.2.30.0000.00819.50
8.2.20.0070.00017.84
8.2.10.0040.00418.02
8.2.00.0040.00418.00
8.1.280.0150.00625.92
8.1.270.0030.00523.96
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0120.00317.48
8.1.230.0110.00017.76
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0050.00517.35
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0030.00518.70
8.1.160.0080.00020.74
8.1.150.0040.00418.86
8.1.140.0050.00319.54
8.1.130.0000.00717.62
8.1.120.0030.00517.54
8.1.110.0050.00317.52
8.1.100.0030.00517.48
8.1.90.0000.00817.46
8.1.80.0050.00317.45
8.1.70.0000.00717.45
8.1.60.0000.00817.71
8.1.50.0040.00417.57
8.1.40.0050.00317.59
8.1.30.0030.00617.73
8.1.20.0040.00417.76
8.1.10.0000.00717.62
8.1.00.0040.00417.56
8.0.300.0080.00018.77
8.0.290.0050.00216.75
8.0.280.0050.00318.40
8.0.270.0040.00417.13
8.0.260.0070.00017.22
8.0.250.0030.00317.07
8.0.240.0060.00017.02
8.0.230.0030.00317.08
8.0.220.0070.00016.87
8.0.210.0000.00816.97
8.0.200.0000.00617.01
8.0.190.0060.00317.01
8.0.180.0000.00717.03
8.0.170.0040.00417.02
8.0.160.0040.00416.98
8.0.150.0030.00416.95
8.0.140.0050.00316.86
8.0.130.0030.00313.36
8.0.120.0060.00316.84
8.0.110.0040.00416.98
8.0.100.0030.00516.85
8.0.90.0030.00516.88
8.0.80.0040.02116.95
8.0.70.0040.00416.86
8.0.60.0000.00816.94
8.0.50.0040.00416.94
8.0.30.0150.00517.19
8.0.20.0170.00817.40
8.0.10.0050.00216.93
8.0.00.0090.01216.98
7.4.330.0050.00016.80
7.4.320.0000.00616.65
7.4.300.0000.00716.67
7.4.290.0000.00716.79
7.4.280.0050.00216.66
7.4.270.0000.00716.51
7.4.260.0000.00716.57
7.4.250.0000.00716.62
7.4.240.0030.00316.77
7.4.230.0030.00316.49
7.4.220.0120.00616.83
7.4.210.0070.01016.79
7.4.200.0030.00316.45
7.4.160.0060.01016.37
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0060.01016.63
7.4.120.0050.01216.72
7.4.110.0070.01316.48
7.4.100.0090.00916.63
7.4.90.0100.00716.63
7.4.80.0070.01719.39
7.4.70.0070.01016.75
7.4.60.0030.01516.68
7.4.50.0040.01116.38
7.4.40.0090.00916.45
7.4.30.0140.00316.52
7.4.00.0080.00814.91
7.3.330.0030.00413.20
7.3.320.0050.00013.26
7.3.310.0000.00816.12
7.3.300.0000.00716.32
7.3.290.0100.00516.28
7.3.280.0040.01516.26
7.3.270.0030.01317.40
7.3.260.0100.01016.63
7.3.250.0110.00616.28
7.3.240.0140.00816.37
7.3.230.0140.01016.39
7.3.210.0140.00316.58
7.3.200.0110.00616.22
7.3.190.0070.01016.32
7.3.180.0060.01016.35
7.3.170.0100.00716.41
7.3.160.0120.00316.28
7.3.10.0080.00816.70
7.3.00.0140.00016.73
7.2.330.0090.00916.54
7.2.320.0090.00916.57
7.2.310.0040.01216.75
7.2.300.0130.01016.59
7.2.290.0100.00716.73
7.2.130.0060.00616.81
7.2.120.0100.00716.93
7.2.110.0140.00916.77
7.2.100.0100.01016.65
7.2.90.0100.00516.66
7.2.80.0100.00516.67
7.2.70.0110.00516.91
7.2.60.0050.01216.90
7.2.50.0070.00716.73
7.2.40.0070.00716.96
7.2.30.0030.01016.93
7.2.20.0040.01216.95
7.2.10.0040.01216.70
7.2.00.0080.00518.05
7.1.250.0130.00315.76
7.1.200.0040.00716.00
7.1.100.0070.00718.37
7.1.70.0070.00217.02
7.1.60.0150.01119.77
7.1.50.0030.01016.77
7.1.00.0070.07322.48
7.0.200.0030.00716.57
7.0.60.0230.06721.69
7.0.50.0070.07717.93
7.0.40.0030.09020.07
7.0.30.0200.04320.10
7.0.20.0200.03720.08
7.0.10.0030.06320.18
7.0.00.0070.08720.12
5.6.280.0030.07321.00
5.6.210.0170.07720.62
5.6.200.0070.04018.28
5.6.190.0030.07020.51
5.6.180.0230.05020.57
5.6.170.0400.07020.46
5.6.160.0130.07720.54
5.6.150.0130.03318.29
5.6.140.0130.06718.18
5.6.130.0130.06718.15
5.6.120.0070.08720.98
5.6.110.0070.03721.02
5.6.100.0100.03721.03
5.6.90.0330.06720.96
5.6.80.0000.04020.28
5.5.350.0300.07720.40
5.5.340.0030.06718.08
5.5.330.0070.04320.18
5.5.320.0500.05020.28
5.5.310.0270.06320.26
5.5.300.0100.03318.07
5.5.290.0170.06718.02
5.5.280.0030.08020.76
5.5.270.0070.08020.74
5.5.260.0170.07320.88
5.5.250.0200.07720.57
5.5.240.0300.06320.26

preferences:
71.57 ms | 401 KiB | 5 Q