3v4l.org

run code in 300+ PHP versions simultaneously
<?php # URL that generated this code: # http://txt2re.com/index-php.php3?s=directv%20-%20some%20stuff%20hereHR34NC-5001nc&26&28&54&55&-62&56&51&52 $txt='H21-100KC-R'; $re='.*?(T?[a-z]?[a-z]\\d\\d).*?((-\\d\\d\\d)?)'; if ($c=preg_match_all ("/".$re."/is", $txt, $matches)) { $w1=$matches[1][0]; $w2=$matches[2][0]; print "$w1$w2\n"; }

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.0140.00017.00
8.3.50.0120.01222.07
8.3.40.0120.00618.92
8.3.30.0110.00319.21
8.3.20.0040.00420.16
8.3.10.0060.00323.48
8.3.00.0060.00319.63
8.2.180.0110.00418.42
8.2.170.0090.00622.96
8.2.160.0070.00720.38
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00022.32
8.2.110.0060.00322.26
8.2.100.0120.00018.03
8.2.90.0000.00819.36
8.2.80.0060.00318.04
8.2.70.0000.01217.75
8.2.60.0030.00518.03
8.2.50.0000.00818.07
8.2.40.0030.00520.19
8.2.30.0040.00418.16
8.2.20.0040.00417.96
8.2.10.0040.00418.10
8.2.00.0040.00417.78
8.1.280.0040.01125.92
8.1.270.0080.00023.91
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.77
8.1.230.0040.00818.97
8.1.220.0040.00417.79
8.1.210.0000.00918.77
8.1.200.0060.00317.48
8.1.190.0030.00517.48
8.1.180.0060.00318.10
8.1.170.0030.00718.70
8.1.160.0000.00722.09
8.1.150.0080.00018.78
8.1.140.0030.00617.59
8.1.130.0050.00217.91
8.1.120.0000.00717.63
8.1.110.0080.00017.60
8.1.100.0000.00717.61
8.1.90.0000.00717.51
8.1.80.0070.00017.61
8.1.70.0000.00717.50
8.1.60.0060.00317.66
8.1.50.0040.00417.67
8.1.40.0040.00417.56
8.1.30.0080.00017.80
8.1.20.0050.00317.65
8.1.10.0050.00317.61
8.1.00.0040.00417.69
8.0.300.0040.00420.61
8.0.290.0070.00017.28
8.0.280.0000.00818.48
8.0.270.0000.00717.16
8.0.260.0000.00617.29
8.0.250.0000.00717.16
8.0.240.0070.00016.97
8.0.230.0040.00417.12
8.0.220.0070.00017.04
8.0.210.0050.00317.05
8.0.200.0000.00717.09
8.0.190.0040.00417.09
8.0.180.0000.00817.06
8.0.170.0040.00417.06
8.0.160.0070.00016.91
8.0.150.0080.00017.02
8.0.140.0030.00617.02
8.0.130.0030.00313.48
8.0.120.0040.00416.91
8.0.110.0000.00816.94
8.0.100.0000.00717.08
8.0.90.0040.00417.08
8.0.80.0120.00317.01
8.0.70.0040.00416.95
8.0.60.0040.00416.98
8.0.50.0000.00716.82
8.0.30.0100.00917.42
8.0.20.0120.00617.40
8.0.10.0000.00716.97
8.0.00.0070.01317.09
7.4.330.0000.00515.04
7.4.320.0000.00616.80
7.4.300.0000.00716.66
7.4.290.0030.00316.71
7.4.280.0030.00316.70
7.4.270.0000.00716.67
7.4.260.0030.00516.65
7.4.250.0000.00716.61
7.4.240.0020.00616.69
7.4.230.0030.00316.57
7.4.220.0100.01016.66
7.4.210.0060.00916.72
7.4.200.0040.00416.66
7.4.190.0030.00316.80
7.4.160.0120.00416.81
7.4.150.0030.01417.40
7.4.140.0080.00917.86
7.4.130.0100.00716.76
7.4.120.0160.00216.73
7.4.110.0120.00916.64
7.4.100.0090.00916.74
7.4.90.0070.01516.82
7.4.80.0000.01819.39
7.4.70.0060.01516.55
7.4.60.0070.01416.52
7.4.50.0030.00316.42
7.4.40.0080.00816.62
7.4.30.0120.00416.70
7.4.00.0060.01015.25
7.3.330.0000.00513.21
7.3.320.0050.00013.25
7.3.310.0050.00216.52
7.3.300.0030.00316.39
7.3.290.0100.01016.47
7.3.280.0020.01516.45
7.3.270.0140.00417.40
7.3.260.0070.01016.59
7.3.250.0110.01016.72
7.3.240.0040.01216.57
7.3.230.0070.01016.60
7.3.210.0090.00916.44
7.3.200.0100.01019.39
7.3.190.0060.01216.38
7.3.180.0100.00716.72
7.3.170.0050.01116.75
7.3.160.0000.02116.93
7.3.120.0070.01014.82
7.3.10.0070.00316.95
7.3.00.0050.00516.97
7.2.330.0060.01416.82
7.2.320.0110.00816.73
7.2.310.0090.01217.00
7.2.300.0120.01216.86
7.2.290.0070.01316.96
7.2.130.0030.01017.23
7.2.120.0070.00717.18
7.2.110.0090.00517.10
7.2.100.0000.01417.26
7.2.90.0070.01017.19
7.2.80.0060.00716.92
7.2.70.0060.00317.18
7.2.60.0040.01116.82
7.2.50.0000.01417.02
7.2.40.0030.01317.22
7.2.30.0040.01117.07
7.2.20.0070.00716.88
7.2.10.0090.00617.18
7.2.00.0080.00618.26
7.1.250.0000.00916.03
7.1.200.0080.00416.01
7.1.100.0060.00618.67
7.1.70.0030.00617.54
7.1.60.0000.02219.46
7.1.50.0070.01417.13
7.1.00.0030.07722.46
7.0.200.0000.00716.75
7.0.140.0030.07322.03
7.0.100.0030.05020.05
7.0.90.0100.06019.92
7.0.80.0170.08019.86
7.0.70.0030.08719.93
7.0.60.0100.07719.79
7.0.50.0030.06020.17
7.0.40.0130.07320.18
7.0.30.0070.06320.05
7.0.20.0030.08320.18
7.0.10.0100.08020.17
7.0.00.0030.06720.16
5.6.280.0030.07321.09
5.6.250.0030.07320.72
5.6.240.0070.08020.64
5.6.230.0100.07720.71
5.6.220.0030.05320.62
5.6.210.0000.09020.57
5.6.200.0030.08721.05
5.6.190.0000.09021.03
5.6.180.0070.08721.01
5.6.170.0130.08021.06
5.6.160.0070.06721.07
5.6.150.0030.04321.13
5.6.140.0070.04021.16
5.6.130.0000.04021.00
5.6.120.0100.03721.07
5.6.110.0070.03321.03
5.6.100.0000.05720.98
5.6.90.0130.03321.08
5.6.80.0100.03320.43
5.6.70.0030.04320.32
5.6.60.0000.04020.47
5.6.50.0130.06720.41
5.6.40.0000.04320.43
5.6.30.0030.04020.35
5.6.20.0030.04020.31
5.6.10.0000.04020.31
5.6.00.0070.03720.37
5.5.380.0130.04720.36
5.5.370.0030.08320.51
5.5.360.0030.08320.48
5.5.350.0100.08020.45
5.5.340.0130.06720.89
5.5.330.0200.05720.73
5.5.320.0170.07020.82
5.5.310.0100.08020.79
5.5.300.0030.05020.74
5.5.290.0000.04720.87
5.5.280.0030.04720.82
5.5.270.0030.04020.88
5.5.260.0030.04320.72
5.5.250.0070.05320.57
5.5.240.0070.04020.25
5.5.230.0100.03320.24
5.5.220.0000.04320.01
5.5.210.0070.03720.27
5.5.200.0100.03320.17
5.5.190.0030.04020.27
5.5.180.0000.04320.07
5.5.160.0070.04720.19
5.5.150.0070.03320.20
5.5.140.0030.04319.98
5.5.130.0070.03319.96
5.5.120.0030.04020.16
5.5.110.0100.04720.20
5.5.100.0100.05720.01
5.5.90.0030.04720.10
5.5.80.0030.03720.16
5.5.70.0000.05320.08
5.5.60.0030.03719.93
5.5.50.0000.04020.13
5.5.40.0070.03720.04
5.5.30.0030.04319.95
5.5.20.0130.03720.02
5.5.10.0000.04319.99
5.5.00.0130.05320.11
5.4.450.0030.04019.23
5.4.440.0030.04719.23
5.4.430.0130.05019.21
5.4.420.0070.03719.35
5.4.410.0030.03719.34
5.4.400.0000.04018.95
5.4.390.0000.04319.10
5.4.380.0100.05319.23
5.4.370.0070.07019.09
5.4.360.0030.05719.23
5.4.350.0130.03718.78
5.4.340.0070.03719.12
5.4.320.0030.03718.79
5.4.310.0030.03318.96
5.4.300.0100.03319.14
5.4.290.0000.04019.07
5.4.280.0030.05019.12
5.4.270.0100.04319.06
5.4.260.0000.04018.96
5.4.250.0030.04318.80
5.4.240.0030.04719.04
5.4.230.0030.03719.11
5.4.220.0070.03319.13
5.4.210.0030.05318.78
5.4.200.0030.03719.04
5.4.190.0030.04319.17
5.4.180.0070.03019.02
5.4.170.0070.03018.97
5.4.160.0070.06718.95
5.4.150.0100.07718.95
5.4.140.0030.07716.34
5.4.130.0030.06316.33
5.4.120.0070.07716.26
5.4.110.0070.07016.27
5.4.100.0030.06016.26
5.4.90.0070.07316.20
5.4.80.0070.07016.43
5.4.70.0130.06716.29
5.4.60.0070.07016.28
5.4.50.0100.06716.31
5.4.40.0000.07316.45
5.4.30.0100.07316.20
5.4.20.0100.07016.45
5.4.10.0130.06016.39
5.4.00.0100.05315.55
5.3.290.0000.04314.57
5.3.280.0130.02314.41
5.3.270.0070.04314.44
5.3.260.0130.02714.58
5.3.250.0070.07714.51
5.3.240.0030.07314.57
5.3.230.0000.08314.52
5.3.220.0000.08014.40
5.3.210.0100.07314.50
5.3.200.0130.04714.50
5.3.190.0030.08014.51
5.3.180.0070.07014.57
5.3.170.0030.06714.55
5.3.160.0070.07014.58
5.3.150.0070.07314.56
5.3.140.0070.07714.53
5.3.130.0100.07014.51
5.3.120.0070.07014.38
5.3.110.0100.07314.50
5.3.100.0100.06314.04
5.3.90.0100.07013.84
5.3.80.0030.04313.96
5.3.70.0070.07313.79
5.3.60.0130.06313.99
5.3.50.0070.07013.80
5.3.40.0070.06713.80
5.3.30.0100.04313.90
5.3.20.0070.07013.68
5.3.10.0030.08013.44
5.3.00.0030.07013.59
5.2.170.0070.04310.98
5.2.160.0000.03311.08
5.2.150.0000.06011.14
5.2.140.0070.05710.98
5.2.130.0070.05311.09
5.2.120.0030.06011.10
5.2.110.0000.06011.13
5.2.100.0070.05311.09
5.2.90.0100.02311.13
5.2.80.0000.06710.95
5.2.70.0030.06011.13
5.2.60.0070.05311.09
5.2.50.0030.06710.86
5.2.40.0070.03010.95
5.2.30.0100.05310.80
5.2.20.0070.05710.96
5.2.10.0070.05710.90
5.2.00.0000.05710.76
5.1.60.0030.04710.05
5.1.50.0030.0309.97
5.1.40.0000.0509.96
5.1.30.0000.05710.40
5.1.20.0100.05010.26
5.1.10.0000.04710.13
5.1.00.0000.03310.07
5.0.50.0030.0478.53
5.0.40.0000.0338.24
5.0.30.0000.0378.23
5.0.20.0000.0378.23
5.0.10.0000.0278.23
5.0.00.0000.0678.23
4.4.90.0130.0278.23
4.4.80.0000.0438.23
4.4.70.0070.0338.23
4.4.60.0000.0378.23
4.4.50.0000.0308.23
4.4.40.0000.0538.23
4.4.30.0030.0338.23
4.4.20.0000.0208.23
4.4.10.0030.0208.23
4.4.00.0030.0508.23
4.3.110.0000.0378.23
4.3.100.0000.0378.23
4.3.90.0000.0308.23
4.3.80.0070.0538.23
4.3.70.0030.0178.23
4.3.60.0000.0278.23
4.3.50.0000.0338.23
4.3.40.0000.0308.23
4.3.30.0030.0208.23
4.3.20.0000.0378.23
4.3.10.0030.0178.23
4.3.00.0000.0378.23

preferences:
37.31 ms | 401 KiB | 5 Q