3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Seats: 11;12; Name: qqqq;wwww; Start: Прешов, АВ Košická 2725/2 End: Мукачево, АЗ Лавковская, 1б Date: 2019-06-22 Time: 09:40 PM"; $lines = explode("\n", trim($str)); $data = array_reduce($lines, function($res, $line){ [$key, $value] = preg_split('#\s*:\s*#', $line, 2); $res[$key] = $value; return $res; }, []); var_dump($data); preg_match_all('#(\d+);#', $data['Seats'], $m); var_dump($m[1]);

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.0050.01418.55
8.3.50.0080.01017.47
8.3.40.0060.00918.98
8.3.30.0040.01118.77
8.3.20.0000.00820.76
8.3.10.0080.00021.95
8.3.00.0060.00323.66
8.2.180.0110.01116.63
8.2.170.0100.01019.07
8.2.160.0170.00022.96
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0030.00521.10
8.2.110.0060.00321.23
8.2.100.0110.00017.99
8.2.90.0060.00318.16
8.2.80.0050.00318.04
8.2.70.0000.00817.93
8.2.60.0040.00418.09
8.2.50.0040.00418.10
8.2.40.0040.00421.37
8.2.30.0070.00019.23
8.2.20.0000.00818.07
8.2.10.0000.00719.32
8.2.00.0040.00419.39
8.1.280.0060.00925.92
8.1.270.0070.00022.06
8.1.260.0030.00526.35
8.1.250.0020.00528.09
8.1.240.0040.00423.92
8.1.230.0090.00620.90
8.1.220.0080.00017.74
8.1.210.0050.00418.84
8.1.200.0000.01217.47
8.1.190.0030.00517.25
8.1.180.0030.00618.10
8.1.170.0030.00518.71
8.1.160.0080.00018.93
8.1.150.0000.00818.83
8.1.140.0060.00318.91
8.1.130.0030.00320.21
8.1.120.0070.00017.70
8.1.110.0000.00917.65
8.1.100.0030.00517.56
8.1.90.0020.00517.65
8.1.80.0040.00417.62
8.1.70.0040.00417.52
8.1.60.0040.00517.75
8.1.50.0030.00517.70
8.1.40.0060.00317.69
8.1.30.0050.00317.73
8.1.20.0100.00017.80
8.1.10.0070.00017.63
8.1.00.0000.00717.66
8.0.300.0000.00719.77
8.0.290.0070.00316.88
8.0.280.0040.00418.43
8.0.270.0000.00716.95
8.0.260.0030.00318.39
8.0.250.0070.00017.05
8.0.240.0040.00417.02
8.0.230.0070.00317.09
8.0.220.0000.00716.86
8.0.210.0070.00016.92
8.0.200.0070.00017.04
8.0.190.0000.00716.96
8.0.180.0000.00716.98
8.0.170.0040.00417.07
8.0.160.0000.01117.01
8.0.150.0000.00816.95
8.0.140.0050.00316.88
8.0.130.0060.00013.34
8.0.120.0040.00417.02
8.0.110.0040.00417.08
8.0.100.0100.00017.00
8.0.90.0000.00717.00
8.0.80.0040.01117.08
8.0.70.0000.00716.93
8.0.60.0000.00716.93
8.0.50.0000.00717.01
8.0.30.0120.01217.15
8.0.20.0110.00917.02
8.0.10.0020.00517.11
8.0.00.0140.00916.83
7.4.330.0030.00315.55
7.4.320.0060.00016.66
7.4.300.0030.00616.57
7.4.290.0040.00416.69
7.4.280.0060.00316.71
7.4.270.0030.00316.70
7.4.260.0000.00716.70
7.4.250.0000.00716.82
7.4.240.0030.00316.76
7.4.230.0000.00716.55
7.4.220.0040.00416.90
7.4.210.0110.00616.79
7.4.200.0000.00716.68
7.4.160.0120.00616.62
7.4.130.0110.01516.85
7.4.120.0060.01316.71
7.4.110.0060.01416.76
7.4.100.0140.00316.76
7.4.90.0030.01316.85
7.4.80.0150.00319.39
7.4.70.0130.01016.67
7.4.60.0130.00316.77
7.4.50.0090.00216.71
7.4.40.0150.00316.79
7.4.00.0050.01014.84
7.3.330.0060.00013.36
7.3.320.0030.00313.52
7.3.310.0070.00016.51
7.3.300.0070.00016.53
7.3.290.0030.00316.40
7.3.280.0070.01216.47
7.3.260.0090.01116.68
7.3.240.0130.00716.59
7.3.230.0110.00716.44
7.3.210.0060.01216.52
7.3.200.0100.00616.46
7.3.190.0100.00716.79
7.3.180.0040.01716.87
7.3.170.0100.00716.79
7.3.160.0100.01316.65
7.3.120.0060.01215.08
7.3.110.0050.01315.11
7.3.100.0070.01015.20
7.3.90.0120.00615.07
7.3.80.0120.00314.98
7.3.70.0070.00714.87
7.3.60.0100.00515.03
7.3.50.0070.00814.77
7.3.40.0030.01514.96
7.3.30.0070.00514.79
7.3.20.0100.01215.74
7.3.10.0080.00415.98
7.3.00.0110.01015.81
7.2.330.0060.01216.83
7.2.320.0060.01616.72
7.2.310.0110.00616.72
7.2.300.0100.01616.94
7.2.290.0030.01416.82
7.2.250.0030.01315.35
7.2.240.0100.01014.78
7.2.230.0070.01015.23
7.2.220.0030.01315.11
7.2.210.0030.01215.02
7.2.200.0040.01515.27
7.2.190.0080.00615.16
7.2.180.0060.01115.13
7.2.170.0080.01214.98
7.2.160.0180.00715.13
7.2.150.0110.00715.25
7.2.140.0730.00715.20
7.2.130.0190.00515.07
7.2.120.0120.00415.08
7.2.110.0150.01315.17
7.2.100.0220.00715.20
7.2.90.0200.00015.41
7.2.80.0120.00915.21
7.2.70.0160.01614.90
7.2.60.0150.00615.07
7.2.50.0100.01015.18
7.2.40.0130.00714.82
7.2.30.0080.01115.10
7.2.20.0170.00615.21
7.2.10.0180.01515.13
7.2.00.0110.01115.18
7.1.330.0110.00315.67
7.1.320.0050.01015.74
7.1.310.0120.00616.05
7.1.300.0140.01014.92
7.1.290.0180.00614.96
7.1.280.0050.01314.80
7.1.270.0200.01014.92
7.1.260.0130.00715.09
7.1.250.0040.01614.10

preferences:
61.07 ms | 401 KiB | 5 Q