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='directv - some stuff here 7THR34-200nc'; $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.0110.00416.63
8.3.50.0120.01022.09
8.3.40.0170.00319.05
8.3.30.0030.01019.26
8.3.20.0040.00420.18
8.3.10.0060.00323.56
8.3.00.0040.00419.38
8.2.180.0120.00616.86
8.2.170.0090.00622.96
8.2.160.0070.01020.47
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00722.39
8.2.110.0070.00321.06
8.2.100.0110.00018.03
8.2.90.0000.00918.03
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0050.00319.84
8.2.30.0070.00018.20
8.2.20.0040.00417.97
8.2.10.0040.00418.10
8.2.00.0000.00717.91
8.1.280.0120.00325.92
8.1.270.0040.00423.62
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.50
8.1.230.0080.00420.90
8.1.220.0060.00317.74
8.1.210.0080.00019.03
8.1.200.0050.00517.35
8.1.190.0030.00617.36
8.1.180.0030.00718.10
8.1.170.0050.00318.69
8.1.160.0040.00421.96
8.1.150.0000.00718.71
8.1.140.0000.00717.53
8.1.130.0030.00317.81
8.1.120.0040.00417.66
8.1.110.0050.00317.63
8.1.100.0050.00217.62
8.1.90.0040.00417.57
8.1.80.0080.00017.65
8.1.70.0030.00317.51
8.1.60.0030.00717.64
8.1.50.0030.00617.63
8.1.40.0050.00317.60
8.1.30.0040.00417.66
8.1.20.0050.00317.64
8.1.10.0080.00017.73
8.1.00.0040.00417.69
8.0.300.0000.00819.98
8.0.290.0000.00717.15
8.0.280.0040.00418.47
8.0.270.0030.00317.24
8.0.260.0040.00417.30
8.0.250.0070.00017.10
8.0.240.0000.00717.02
8.0.230.0000.00717.00
8.0.220.0000.00717.00
8.0.210.0000.00817.07
8.0.200.0070.00017.06
8.0.190.0030.00517.10
8.0.180.0000.00816.97
8.0.170.0040.00416.97
8.0.160.0040.00416.93
8.0.150.0030.00517.03
8.0.140.0030.00616.90
8.0.130.0050.00013.43
8.0.120.0050.00317.00
8.0.110.0040.00416.99
8.0.100.0000.00717.04
8.0.90.0070.00016.85
8.0.80.0120.00317.02
8.0.70.0030.00617.12
8.0.60.0040.00417.12
8.0.50.0030.00316.91
8.0.30.0100.01017.26
8.0.20.0070.01117.47
8.0.10.0000.00717.17
8.0.00.0120.00617.09
7.4.330.0050.00015.05
7.4.320.0000.00616.56
7.4.300.0060.00016.59
7.4.290.0030.00316.68
7.4.280.0000.00716.75
7.4.270.0040.00316.66
7.4.260.0000.00716.69
7.4.250.0000.00816.69
7.4.240.0030.00516.74
7.4.230.0000.00816.54
7.4.220.0070.01116.79
7.4.210.0070.00816.76
7.4.200.0040.00416.79
7.4.190.0000.00716.62
7.4.160.0120.00416.67
7.4.150.0080.00817.40
7.4.140.0070.01017.86
7.4.130.0100.00716.67
7.4.120.0090.00716.63
7.4.110.0030.01316.89
7.4.100.0080.01216.75
7.4.90.0060.01216.80
7.4.80.0070.01019.39
7.4.70.0040.01416.55
7.4.60.0160.00316.45
7.4.50.0040.00016.67
7.4.40.0130.00616.52
7.4.30.0130.00316.79
7.4.00.0070.01115.00
7.3.330.0000.00613.21
7.3.320.0050.00013.21
7.3.310.0030.00516.45
7.3.300.0060.00016.48
7.3.290.0070.01316.51
7.3.280.0080.00916.49
7.3.270.0070.01017.40
7.3.260.0000.01716.82
7.3.250.0170.00216.59
7.3.240.0140.00416.65
7.3.230.0110.00716.77
7.3.210.0140.00316.58
7.3.200.0000.01819.39
7.3.190.0060.01516.74
7.3.180.0150.00316.85
7.3.170.0070.01016.52
7.3.160.0100.00616.61
7.3.120.0030.01415.30
7.2.330.0110.01116.86
7.2.320.0090.01416.86
7.2.310.0060.01616.89
7.2.300.0080.00816.94
7.2.290.0130.01016.79
7.2.00.0070.01019.37
7.1.200.0080.00815.95
7.1.100.0040.00718.33
7.1.70.0030.00517.54
7.1.60.0090.01619.46
7.1.50.0110.01417.13
7.1.00.0070.07322.27
7.0.200.0000.00716.93
7.0.140.0030.07322.00
7.0.100.0230.06019.99
7.0.90.0100.07019.98
7.0.80.0030.06019.82
7.0.70.0030.08019.94
7.0.60.0230.04319.93
7.0.50.0200.08020.36
7.0.40.0100.08320.11
7.0.30.0170.06720.03
7.0.20.0030.08020.18
7.0.10.0070.06020.04
7.0.00.0100.08319.99
5.6.280.0030.07321.11
5.6.250.0130.07720.54
5.6.240.0130.08020.63
5.6.230.0170.07020.52
5.6.220.0130.05320.44
5.6.210.0070.08720.55
5.6.200.0070.08321.04
5.6.190.0170.05720.90
5.6.180.0130.06020.98
5.6.170.0170.06721.04
5.6.160.0100.07320.98
5.6.150.0130.05021.06
5.6.140.0170.05720.98
5.6.130.0030.05321.05
5.6.120.0100.04321.06
5.6.110.0030.05020.99
5.6.100.0100.03721.06
5.6.90.0000.04720.88
5.6.80.0000.05020.29
5.6.70.0100.03720.41
5.6.60.0130.05320.35
5.6.50.0170.06320.29
5.6.40.0130.08020.42
5.6.30.0130.06720.26
5.6.20.0070.06020.39
5.6.10.0100.07320.39
5.6.00.0130.04020.34
5.5.380.0070.05020.32
5.5.370.0100.06320.32
5.5.360.0030.05320.35
5.5.350.0100.08020.36
5.5.340.0070.05320.86
5.5.330.0000.05020.83
5.5.320.0130.05720.73
5.5.310.0170.07020.86
5.5.300.0070.07320.74
5.5.290.0130.08020.61
5.5.280.0200.07320.79
5.5.270.0130.03020.72
5.5.260.0070.04020.82
5.5.250.0100.04020.53
5.5.240.0070.04720.00
5.5.230.0030.09020.23
5.5.220.0070.05720.25
5.5.210.0030.07020.23
5.5.200.0100.06720.20
5.5.190.0200.05720.10
5.5.180.0130.07720.23
5.5.160.0030.04720.09
5.5.150.0130.05020.15
5.5.140.0100.05720.18
5.5.130.0070.04320.22
5.5.120.0030.07720.19
5.5.110.0030.05020.16
5.5.100.0000.05019.90
5.5.90.0070.08020.14
5.5.80.0030.04720.04
5.5.70.0130.04319.96
5.5.60.0170.07020.02
5.5.50.0070.06020.00
5.5.40.0100.07720.08
5.5.30.0100.08719.95
5.5.20.0030.08720.02
5.5.10.0100.07720.02
5.5.00.0130.04019.99
5.4.450.0170.07319.34
5.4.440.0070.07319.45
5.4.430.0000.05019.39
5.4.420.0100.03319.36
5.4.410.0030.03718.98
5.4.400.0000.03319.04
5.4.390.0030.04018.98
5.4.380.0070.06019.10
5.4.370.0100.06319.12
5.4.360.0130.07019.04
5.4.350.0100.06719.03
5.4.340.0100.06719.06
5.4.320.0170.03719.03
5.4.310.0030.08319.08
5.4.300.0100.07319.09
5.4.290.0070.07019.11
5.4.280.0070.03719.09
5.4.270.0000.07719.22
5.4.260.0000.05019.06
5.4.250.0200.06319.11
5.4.240.0070.05319.11
5.4.230.0100.06019.03
5.4.220.0170.06019.11
5.4.210.0030.06719.22
5.4.200.0070.03718.95
5.4.190.0070.07319.22
5.4.180.0030.08318.93
5.4.170.0070.08018.80
5.4.160.0070.07019.03
5.4.150.0000.06319.21
5.4.140.0100.04016.28
5.4.130.0100.05716.34
5.4.120.0100.03716.36
5.4.110.0030.04316.31
5.4.100.0130.03316.21
5.4.90.0170.06016.32
5.4.80.0070.04016.31
5.4.70.0200.06716.24
5.4.60.0130.06716.30
5.4.50.0030.05016.33
5.4.40.0070.06716.26
5.4.30.0030.07316.28
5.4.20.0070.07016.27
5.4.10.0100.07016.18
5.4.00.0170.04015.50
5.3.290.0070.05314.65
5.3.280.0100.06714.45
5.3.270.0100.07714.58
5.3.260.0070.06014.59
5.3.250.0030.05014.46
5.3.240.0100.07014.56
5.3.230.0100.05014.61
5.3.220.0100.03714.51
5.3.210.0030.05714.57
5.3.200.0170.05714.54
5.3.190.0030.04014.54
5.3.180.0100.03314.43
5.3.170.0100.07714.51
5.3.160.0070.07714.55
5.3.150.0030.06314.55
5.3.140.0070.07714.49
5.3.130.0070.06014.42
5.3.120.0030.07014.50
5.3.110.0070.04314.38
5.3.100.0000.08313.87
5.3.90.0000.04713.95
5.3.80.0030.05313.79
5.3.70.0070.07314.00
5.3.60.0030.07714.00
5.3.50.0100.07313.89
5.3.40.0030.04013.93
5.3.30.0070.07313.84
5.3.20.0100.04313.44
5.3.10.0070.06313.61
5.3.00.0070.07313.62
5.2.170.0070.06012.61
5.2.160.0130.05312.61
5.2.150.0030.04012.61
5.2.140.0070.05312.61
5.2.130.0070.05012.61
5.2.120.0100.03712.61
5.2.110.0030.03312.61
5.2.100.0130.06012.61
5.2.90.0030.05312.61
5.2.80.0000.04712.61
5.2.70.0030.05312.61
5.2.60.0000.07012.61
5.2.50.0070.06312.61
5.2.40.0030.05712.61
5.2.30.0100.05712.61
5.2.20.0070.05712.61
5.2.10.0070.06312.61
5.2.00.0100.03712.61
5.1.60.0130.04312.61
5.1.50.0000.04712.61
5.1.40.0030.03012.61
5.1.30.0070.03012.61
5.1.20.0070.06012.61
5.1.10.0100.04012.61
5.1.00.0100.03712.61
5.0.50.0030.03312.61
5.0.40.0030.02012.61
5.0.30.0070.05712.61
5.0.20.0100.04012.61
5.0.10.0070.04312.61
5.0.00.0030.05712.61
4.4.90.0030.04012.61
4.4.80.0070.02312.61
4.4.70.0000.02712.61
4.4.60.0000.03712.61
4.4.50.0000.02012.61
4.4.40.0000.05712.61
4.4.30.0000.03312.61
4.4.20.0030.01712.61
4.4.10.0030.03712.61
4.4.00.0000.02712.61
4.3.110.0000.03312.61
4.3.100.0030.02312.61
4.3.90.0000.03312.61
4.3.80.0030.04312.61
4.3.70.0000.02012.61
4.3.60.0070.03312.61
4.3.50.0000.03012.61
4.3.40.0070.04712.61
4.3.30.0000.03312.61
4.3.20.0030.02312.61
4.3.10.0000.02312.61
4.3.00.0030.03012.61

preferences:
51.92 ms | 401 KiB | 5 Q