3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "När:Sent lördag kväll och natt till söndag\nVar:Främst norra Jämtland\nIntensitet:Väst ca 21 m/s\nKommentar:-"; preg_match_all("/\w+:(.*?)\\n/", $text, $match); print_r($match);

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.0190.00018.31
8.3.50.0070.00716.30
8.3.40.0090.00618.84
8.3.30.0090.00618.91
8.3.20.0000.00820.65
8.3.10.0050.00323.66
8.3.00.0080.00022.57
8.2.180.0110.00716.60
8.2.170.0070.01122.96
8.2.160.0130.00721.21
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0050.00317.96
8.2.120.0030.00626.35
8.2.110.0090.00019.20
8.2.100.0070.00717.59
8.2.90.0030.00517.75
8.2.80.0000.00817.97
8.2.70.0000.00817.91
8.2.60.0030.00618.03
8.2.50.0040.00818.10
8.2.40.0090.00019.18
8.2.30.0040.00419.14
8.2.20.0000.00817.95
8.2.10.0040.00419.08
8.2.00.0080.00017.97
8.1.280.0090.01225.92
8.1.270.0090.00020.38
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00021.99
8.1.230.0000.01122.08
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0050.00317.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0080.00018.75
8.1.160.0080.00018.79
8.1.150.0040.00418.85
8.1.140.0000.00722.08
8.1.130.0000.01020.28
8.1.120.0040.00417.43
8.1.110.0070.00417.43
8.1.100.0070.00017.54
8.1.90.0040.00417.41
8.1.80.0000.00817.55
8.1.70.0000.00717.52
8.1.60.0040.00417.55
8.1.50.0070.00017.67
8.1.40.0000.00917.59
8.1.30.0030.00517.72
8.1.20.0060.00317.81
8.1.10.0000.00817.72
8.1.00.0000.00817.59
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.33
8.0.270.0030.00317.12
8.0.260.0030.00318.36
8.0.250.0000.00717.02
8.0.240.0030.00316.93
8.0.230.0070.00017.05
8.0.220.0000.00716.89
8.0.210.0000.00716.89
8.0.200.0030.00316.90
8.0.190.0080.00016.96
8.0.180.0030.00516.96
8.0.170.0040.00416.98
8.0.160.0000.00717.07
8.0.150.0050.00216.96
8.0.140.0030.00616.97
8.0.130.0050.00013.36
8.0.120.0030.00616.88
8.0.110.0000.00716.99
8.0.100.0040.00416.96
8.0.90.0040.00416.93
8.0.80.0070.00716.89
8.0.70.0000.00816.87
8.0.60.0000.00816.84
8.0.50.0070.00016.81
8.0.30.0150.00217.03
8.0.20.0140.00617.05
8.0.10.0040.00417.09
8.0.00.0070.01416.72
7.4.330.0000.00516.68
7.4.320.0000.00716.74
7.4.300.0040.00416.50
7.4.290.0040.00416.71
7.4.280.0040.00416.75
7.4.270.0030.00316.77
7.4.260.0070.00016.63
7.4.250.0040.00416.61
7.4.240.0000.00716.61
7.4.230.0070.00016.65
7.4.220.0040.00416.59
7.4.210.0060.00916.74
7.4.200.0070.00016.54
7.4.160.0080.00816.56
7.4.140.0110.01017.86
7.4.130.0070.01116.68
7.4.120.0060.01016.42
7.4.110.0060.01116.43
7.4.100.0150.00816.49
7.4.90.0090.00816.53
7.4.80.0160.00319.39
7.4.70.0090.00916.59
7.4.60.0090.01216.69
7.4.50.0070.00416.47
7.4.40.0100.00716.54
7.4.10.0040.01415.19
7.4.00.0050.01115.06
7.3.330.0050.00013.11
7.3.320.0030.00313.11
7.3.310.0030.00316.38
7.3.300.0070.00016.33
7.3.290.0000.00716.28
7.3.280.0050.01016.27
7.3.260.0100.00716.46
7.3.240.0100.00716.39
7.3.230.0130.00316.58
7.3.210.0120.00616.26
7.3.200.0130.00316.27
7.3.190.0090.00916.35
7.3.180.0100.00716.54
7.3.170.0040.01216.37
7.3.160.0100.00716.27
7.3.130.0070.01014.82
7.3.120.0070.01014.97
7.3.110.0060.01214.77
7.3.100.0030.00914.73
7.3.90.0090.00614.63
7.3.80.0060.00614.68
7.3.70.0090.00315.04
7.3.60.0090.00314.57
7.3.50.0040.01214.88
7.3.40.0120.00014.97
7.3.30.0100.00314.72
7.3.20.0770.00515.60
7.3.10.0280.00815.83
7.3.00.0180.01215.69
7.2.330.0000.01716.53
7.2.320.0030.01416.54
7.2.310.0110.00816.72
7.2.300.0060.01016.56
7.2.290.0110.01116.48
7.2.260.0060.01214.96
7.2.250.0030.00715.11
7.2.240.0070.00715.18
7.2.230.0090.00915.07
7.2.220.0090.00914.91
7.2.210.0000.01114.90
7.2.200.0070.00315.04
7.2.190.0030.01215.09
7.2.180.0060.00915.09
7.2.170.0040.01115.04
7.2.160.0130.00414.77
7.2.150.0320.00515.91
7.2.140.0290.00815.87
7.2.130.0240.00815.90
7.2.120.0300.00715.95
7.2.110.0270.00915.97
7.2.100.0280.00816.00
7.2.90.0240.00616.01
7.2.80.0170.01316.10
7.2.70.0260.00516.05
7.2.60.0250.00415.98
7.2.50.0210.00715.84
7.2.40.0290.00515.85
7.2.30.0190.00915.94
7.2.20.0240.00815.96
7.2.10.0250.01215.96
7.2.00.0260.00615.83
7.1.330.0030.01115.84
7.1.320.0050.00516.07
7.1.310.0090.00315.99
7.1.300.0070.01016.05
7.1.290.0090.00315.75
7.1.280.0070.00715.84
7.1.270.0280.00814.99
7.1.260.0280.00915.00
7.1.250.0260.00114.87
7.1.240.0000.00815.82
7.1.230.0000.00815.64
7.1.220.0030.00716.04
7.1.210.0030.00716.00
7.1.200.0000.01616.04
7.1.190.0060.00615.73
7.1.180.0070.01015.81
7.1.170.0060.00315.95
7.1.160.0040.00715.81
7.1.150.0050.00515.85
7.1.140.0040.00715.80
7.1.130.0000.01115.99
7.1.120.0060.00615.81
7.1.110.0040.00715.88
7.1.100.0100.00315.78
7.1.90.0000.01115.95
7.1.80.0040.00715.53
7.1.70.0000.00916.02
7.1.60.0000.00815.79
7.1.50.0040.00715.63
7.1.40.0040.00715.87
7.1.30.0040.01115.82
7.1.20.0110.00316.00
7.1.10.0080.00015.75
7.1.00.0030.00616.06

preferences:
59.07 ms | 400 KiB | 5 Q