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 7wHR34-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.0000.01416.75
8.3.50.0120.00522.24
8.3.40.0060.00918.95
8.3.30.0040.01119.08
8.3.20.0070.00020.38
8.3.10.0040.00423.39
8.3.00.0030.00619.27
8.2.180.0070.00718.38
8.2.170.0120.00322.96
8.2.160.0100.00720.30
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00222.38
8.2.110.0030.00622.37
8.2.100.0040.00818.03
8.2.90.0000.00818.16
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0090.00017.93
8.2.50.0000.00818.07
8.2.40.0040.00419.93
8.2.30.0000.00718.23
8.2.20.0030.00617.91
8.2.10.0050.00318.04
8.2.00.0000.00817.84
8.1.280.0070.00725.92
8.1.270.0080.00024.02
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.59
8.1.230.0040.00820.90
8.1.220.0040.00417.79
8.1.210.0000.00818.83
8.1.200.0030.00617.47
8.1.190.0030.00617.47
8.1.180.0000.00919.01
8.1.170.0050.00318.62
8.1.160.0030.00622.05
8.1.150.0000.00718.71
8.1.140.0000.00817.51
8.1.130.0070.00017.82
8.1.120.0080.00017.59
8.1.110.0040.00417.58
8.1.100.0000.00717.62
8.1.90.0040.00417.65
8.1.80.0040.00417.51
8.1.70.0040.00417.58
8.1.60.0000.00817.70
8.1.50.0050.00317.70
8.1.40.0070.00017.65
8.1.30.0000.00817.76
8.1.20.0040.00417.76
8.1.10.0050.00317.65
8.1.00.0070.00017.60
8.0.300.0000.00820.03
8.0.290.0000.00717.05
8.0.280.0040.00418.47
8.0.270.0000.00817.25
8.0.260.0000.00617.22
8.0.250.0000.00717.14
8.0.240.0070.00317.10
8.0.230.0030.00317.10
8.0.220.0030.00317.03
8.0.210.0000.00917.04
8.0.200.0060.00017.17
8.0.190.0000.00817.01
8.0.180.0000.00717.05
8.0.170.0040.00417.02
8.0.160.0000.00717.02
8.0.150.0000.00717.00
8.0.140.0070.00417.01
8.0.130.0000.00613.45
8.0.120.0050.00316.99
8.0.110.0040.00417.07
8.0.100.0040.00416.91
8.0.90.0050.00317.06
8.0.80.0060.01017.09
8.0.70.0000.00717.04
8.0.60.0000.00716.84
8.0.50.0050.00217.05
8.0.30.0120.00917.37
8.0.20.0070.01517.40
8.0.10.0000.00717.16
8.0.00.0080.01116.89
7.4.330.0050.00015.11
7.4.320.0030.00316.80
7.4.300.0030.00316.74
7.4.290.0040.00416.68
7.4.280.0070.00016.69
7.4.270.0050.00216.75
7.4.260.0000.00716.67
7.4.250.0000.00916.71
7.4.240.0040.00416.65
7.4.230.0030.00316.83
7.4.220.0030.01616.63
7.4.210.0090.00816.68
7.4.200.0000.00716.51
7.4.190.0030.00316.70
7.4.160.0140.00316.80
7.4.150.0100.01117.40
7.4.140.0100.00717.86
7.4.130.0060.01316.65
7.4.120.0090.01116.59
7.4.110.0090.01216.64
7.4.100.0110.01116.63
7.4.90.0070.01016.46
7.4.80.0200.00319.39
7.4.70.0090.00916.82
7.4.60.0060.01316.63
7.4.50.0000.00916.30
7.4.40.0070.01016.59
7.4.30.0140.00616.70
7.4.00.0080.00414.90
7.3.330.0000.00513.21
7.3.320.0000.00513.33
7.3.310.0000.00716.44
7.3.300.0040.00416.53
7.3.290.0140.00716.56
7.3.280.0170.00316.50
7.3.270.0070.01417.40
7.3.260.0080.00816.46
7.3.250.0120.01016.60
7.3.240.0090.00916.49
7.3.230.0030.01316.63
7.3.210.0110.01116.58
7.3.200.0180.00019.39
7.3.190.0090.00916.65
7.3.180.0070.01016.51
7.3.170.0070.01316.83
7.3.160.0130.00416.89
7.3.120.0030.01015.01
7.3.10.0070.00716.60
7.3.00.0070.00716.85
7.2.330.0070.01016.87
7.2.320.0130.00417.03
7.2.310.0100.01016.84
7.2.300.0110.01116.77
7.2.290.0070.01316.89
7.2.130.0090.00617.20
7.2.120.0070.00717.19
7.2.110.0050.00817.13
7.2.100.0070.00317.21
7.2.90.0100.00717.35
7.2.80.0070.00716.84
7.2.70.0040.01117.02
7.2.60.0040.00817.29
7.2.50.0040.01117.25
7.2.40.0100.00717.25
7.2.30.0100.00017.32
7.2.20.0060.00917.31
7.2.10.0090.00617.20
7.2.00.0030.01017.30
7.1.250.0070.00715.76
7.1.70.0000.00917.58
7.1.60.0030.02119.46
7.1.50.0040.01516.90
7.1.00.0070.07722.44
7.0.200.0030.00316.96
7.0.140.0100.06722.01
7.0.100.0400.06320.05
7.0.90.0000.04719.88
7.0.80.0100.07719.94
7.0.70.0030.07719.95
7.0.60.0270.08320.08
7.0.50.0430.04020.37
7.0.40.0070.05020.12
7.0.30.0170.07320.14
7.0.20.0070.08320.10
7.0.10.0070.08320.04
7.0.00.0130.08320.12
5.6.280.0100.06720.86
5.6.250.0070.04320.62
5.6.240.0030.09020.60
5.6.230.0030.04720.48
5.6.220.0030.07320.61
5.6.210.0170.05320.55
5.6.200.0070.04321.08
5.6.190.0030.08721.02
5.6.180.0070.08021.13
5.6.170.0070.08321.08
5.6.160.0030.08321.06
5.6.150.0200.07721.04
5.6.140.0070.04721.08
5.6.130.0000.09320.99
5.6.120.0030.05020.91
5.6.110.0030.07021.03
5.6.100.0070.08721.12
5.6.90.0130.05021.04
5.6.80.0170.07720.45
5.6.70.0100.08020.38
5.6.60.0100.07720.32
5.6.50.0030.08720.49
5.6.40.0030.06320.39
5.6.30.0070.06320.52
5.6.20.0100.07720.48
5.6.10.0100.08020.52
5.6.00.0170.06020.30
5.5.380.0000.08020.45
5.5.370.0000.08720.51
5.5.360.0070.06720.49
5.5.350.0030.03720.48
5.5.340.0130.07320.92
5.5.330.0170.06720.75
5.5.320.0070.08020.91
5.5.310.0100.07720.82
5.5.300.0000.09020.87
5.5.290.0070.07320.75
5.5.280.0030.07320.76
5.5.270.0130.07720.77
5.5.260.0030.09020.86
5.5.250.0070.08720.74
5.5.240.0130.06720.21
5.5.230.0030.08720.25
5.5.220.0070.07320.16
5.5.210.0070.07720.23
5.5.200.0030.04320.08
5.5.190.0070.04320.18
5.5.180.0100.07719.99
5.5.160.0100.07720.27
5.5.150.0030.04720.23
5.5.140.0070.07320.17
5.5.130.0200.06720.13
5.5.120.0030.08020.14
5.5.110.0070.07319.98
5.5.100.0100.07720.00
5.5.90.0100.07719.94
5.5.80.0100.07320.07
5.5.70.0070.08020.14
5.5.60.0100.07319.93
5.5.50.0100.07719.96
5.5.40.0100.04720.13
5.5.30.0070.08020.05
5.5.20.0130.06020.07
5.5.10.0100.07319.97
5.5.00.0030.05320.11
5.4.450.0200.06719.47
5.4.440.0070.04719.39
5.4.430.0030.08319.35
5.4.420.0070.07719.52
5.4.410.0170.06719.22
5.4.400.0070.07719.07
5.4.390.0170.06318.98
5.4.380.0130.07019.14
5.4.370.0030.07719.05
5.4.360.0130.07019.09
5.4.350.0030.04018.96
5.4.340.0070.07718.95
5.4.320.0070.07319.23
5.4.310.0130.05719.03
5.4.300.0030.08019.09
5.4.290.0100.06318.83
5.4.280.0070.08018.78
5.4.270.0130.07319.12
5.4.260.0030.04719.22
5.4.250.0030.08019.05
5.4.240.0070.07318.96
5.4.230.0070.06719.14
5.4.220.0100.08019.02
5.4.210.0100.03719.14
5.4.200.0070.04019.02
5.4.190.0100.05719.10
5.4.180.0000.04718.89
5.4.170.0070.06719.09
5.4.160.0130.06319.04
5.4.150.0130.07019.00
5.4.140.0130.07016.35
5.4.130.0070.06316.26
5.4.120.0000.05016.32
5.4.110.0030.07016.42
5.4.100.0070.04716.42
5.4.90.0000.07316.42
5.4.80.0070.03316.39
5.4.70.0170.06016.22
5.4.60.0030.04316.35
5.4.50.0030.07716.39
5.4.40.0030.05316.43
5.4.30.0030.08016.28
5.4.20.0070.07716.29
5.4.10.0030.07716.32
5.4.00.0030.06715.81
5.3.290.0130.07314.63
5.3.280.0100.07714.45
5.3.270.0100.05714.59
5.3.260.0000.04714.59
5.3.250.0070.07314.42
5.3.240.0070.07314.61
5.3.230.0030.07714.58
5.3.220.0100.07314.39
5.3.210.0100.05314.55
5.3.200.0100.06714.40
5.3.190.0000.04714.51
5.3.180.0130.05314.42
5.3.170.0070.06014.52
5.3.160.0070.07314.44
5.3.150.0070.07014.55
5.3.140.0170.06714.53
5.3.130.0170.06714.54
5.3.120.0100.07314.41
5.3.110.0030.07714.54
5.3.100.0070.06013.89
5.3.90.0030.08013.98
5.3.80.0000.07313.99
5.3.70.0100.07713.97
5.3.60.0100.06013.96
5.3.50.0100.07313.80
5.3.40.0030.06713.93
5.3.30.0030.07313.76
5.3.20.0100.07013.66
5.3.10.0070.07313.51
5.3.00.0070.07713.41
5.2.170.0070.06311.14
5.2.160.0100.05010.96
5.2.150.0100.06710.96
5.2.140.0070.03311.18
5.2.130.0030.04711.14
5.2.120.0070.04011.09
5.2.110.0100.02711.08
5.2.100.0000.06710.96
5.2.90.0030.06311.17
5.2.80.0130.04711.07
5.2.70.0070.05311.01
5.2.60.0030.06310.90
5.2.50.0130.04311.05
5.2.40.0130.05710.97
5.2.30.0030.05710.97
5.2.20.0000.04010.81
5.2.10.0000.04010.91
5.2.00.0100.05310.75
5.1.60.0100.0439.98
5.1.50.0070.0539.97
5.1.40.0070.05010.00
5.1.30.0030.05310.39
5.1.20.0100.03710.39
5.1.10.0100.05310.06
5.1.00.0000.06010.06
5.0.50.0000.0239.15
5.0.40.0030.0309.15
5.0.30.0030.0439.15
5.0.20.0000.0239.15
5.0.10.0030.0209.15
5.0.00.0030.0439.15
4.4.90.0000.0379.15
4.4.80.0000.0379.15
4.4.70.0070.0309.15
4.4.60.0070.0239.15
4.4.50.0000.0309.15
4.4.40.0000.0539.15
4.4.30.0000.0409.15
4.4.20.0030.0379.15
4.4.10.0070.0279.15
4.4.00.0030.0539.15
4.3.110.0000.0339.15
4.3.100.0030.0139.15
4.3.90.0070.0109.15
4.3.80.0030.0239.15
4.3.70.0000.0179.15
4.3.60.0070.0109.15
4.3.50.0000.0179.15
4.3.40.0000.0279.15
4.3.30.0000.0179.15
4.3.20.0000.0279.15
4.3.10.0000.0179.15
4.3.00.0000.0179.15

preferences:
51.68 ms | 401 KiB | 5 Q