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 7HR34-200nc'; $re='.*?([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.0070.01016.63
8.3.50.0110.01222.12
8.3.40.0150.00018.90
8.3.30.0070.00719.19
8.3.20.0080.00020.39
8.3.10.0040.00423.36
8.3.00.0030.00619.63
8.2.180.0070.01418.42
8.2.170.0040.01122.96
8.2.160.0100.01020.36
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00722.20
8.2.110.0110.00022.20
8.2.100.0060.00618.09
8.2.90.0000.00818.16
8.2.80.0120.00017.97
8.2.70.0040.00417.63
8.2.60.0060.00318.03
8.2.50.0000.00818.07
8.2.40.0000.00819.93
8.2.30.0000.00718.16
8.2.20.0020.00517.96
8.2.10.0000.00718.16
8.2.00.0040.00417.91
8.1.280.0140.00725.92
8.1.270.0060.00324.02
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00922.48
8.1.230.0070.00420.85
8.1.220.0080.00017.74
8.1.210.0000.00819.05
8.1.200.0060.00317.47
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0040.00418.77
8.1.160.0050.00322.11
8.1.150.0030.00618.89
8.1.140.0000.00717.60
8.1.130.0030.00517.86
8.1.120.0040.00417.65
8.1.110.0000.00717.54
8.1.100.0040.00417.59
8.1.90.0040.00417.62
8.1.80.0030.00617.57
8.1.70.0000.00817.62
8.1.60.0000.01017.76
8.1.50.0030.00517.70
8.1.40.0040.00417.64
8.1.30.0030.00517.73
8.1.20.0040.00417.66
8.1.10.0050.00317.77
8.1.00.0040.00417.61
8.0.300.0040.00419.86
8.0.290.0000.00717.05
8.0.280.0000.00718.38
8.0.270.0030.00317.30
8.0.260.0000.00817.29
8.0.250.0030.00317.15
8.0.240.0000.00717.00
8.0.230.0030.00517.13
8.0.220.0040.00417.02
8.0.210.0090.00016.98
8.0.200.0000.00617.09
8.0.190.0000.00716.97
8.0.180.0040.00417.05
8.0.170.0000.00816.96
8.0.160.0040.00417.11
8.0.150.0000.00716.98
8.0.140.0040.00817.01
8.0.130.0030.00313.54
8.0.120.0030.00517.05
8.0.110.0050.00317.05
8.0.100.0000.00716.82
8.0.90.0040.00416.96
8.0.80.0120.00317.11
8.0.70.0000.00717.09
8.0.60.0040.00316.92
8.0.50.0000.00717.07
8.0.30.0070.01217.13
8.0.20.0130.00617.40
8.0.10.0040.00317.07
8.0.00.0110.00716.79
7.4.330.0020.00215.00
7.4.320.0030.00316.71
7.4.300.0000.00616.66
7.4.290.0000.00716.78
7.4.280.0040.00416.65
7.4.270.0000.00716.67
7.4.260.0000.00716.71
7.4.250.0040.00416.75
7.4.240.0020.00616.74
7.4.230.0000.00716.57
7.4.220.0090.00916.62
7.4.210.0080.00616.75
7.4.200.0030.00616.55
7.4.190.0050.00216.61
7.4.160.0030.01216.62
7.4.150.0100.01017.40
7.4.140.0100.00717.86
7.4.130.0110.00716.58
7.4.120.0120.00616.68
7.4.110.0040.01216.60
7.4.100.0150.00316.53
7.4.90.0100.00716.69
7.4.80.0130.00919.39
7.4.70.0160.00316.79
7.4.60.0070.01416.50
7.4.50.0040.00416.77
7.4.40.0100.00616.81
7.4.30.0040.01216.55
7.4.00.0060.01115.23
7.3.330.0020.00213.21
7.3.320.0060.00013.33
7.3.310.0000.00916.55
7.3.300.0030.00316.39
7.3.290.0120.00316.43
7.3.280.0080.01016.52
7.3.270.0070.01117.40
7.3.260.0130.01016.50
7.3.250.0130.00316.70
7.3.240.0070.01016.69
7.3.230.0130.00416.50
7.3.210.0110.00716.45
7.3.200.0140.00319.39
7.3.190.0000.01816.70
7.3.180.0070.01316.52
7.3.170.0180.00016.68
7.3.160.0060.00916.61
7.3.120.0050.01314.83
7.3.110.0100.00715.19
7.3.100.0070.00714.70
7.3.90.0000.01115.05
7.3.80.0090.00615.03
7.3.70.0100.00714.88
7.3.60.0100.00314.83
7.3.50.0130.00315.05
7.3.40.0040.01114.93
7.3.30.0000.01215.10
7.3.20.0000.01416.72
7.3.10.0130.00017.05
7.3.00.0040.00416.61
7.2.330.0090.00916.82
7.2.320.0030.01716.84
7.2.310.0140.00716.80
7.2.300.0040.01316.85
7.2.290.0070.01516.79
7.2.250.0040.01515.41
7.2.240.0110.00715.33
7.2.230.0090.00615.32
7.2.220.0080.00415.25
7.2.210.0070.00715.10
7.2.200.0060.00315.14
7.2.190.0000.01515.26
7.2.180.0030.00715.37
7.2.170.0100.00315.39
7.2.00.0000.01019.34
7.1.330.0040.01116.06
7.1.320.0040.01116.19
7.1.310.0070.00315.77
7.1.300.0080.00415.75
7.1.290.0060.00616.10
7.1.280.0030.01015.83
7.1.270.0060.00616.06
7.1.260.0030.00915.89
7.1.200.0000.01115.96
7.1.100.0030.00918.64
7.1.70.0040.00417.29
7.1.60.0070.01719.46
7.1.50.0130.00716.89
7.1.00.0070.07322.36
7.0.200.0070.00016.93
7.0.140.0100.06722.01
7.0.100.0230.07319.88
7.0.90.0200.06719.96
7.0.80.0230.05719.89
7.0.70.0330.07020.01
7.0.60.0170.06019.98
7.0.50.0130.06720.39
7.0.40.0030.04020.13
7.0.30.0070.05320.19
7.0.20.0100.08020.07
7.0.10.0170.08020.13
7.0.00.0170.07720.09
5.6.280.0000.07721.10
5.6.250.0130.04320.52
5.6.240.0130.05320.69
5.6.230.0130.06720.71
5.6.220.0070.08020.52
5.6.210.0130.07320.55
5.6.200.0000.05021.03
5.6.190.0070.08721.04
5.6.180.0100.07021.11
5.6.170.0130.03020.95
5.6.160.0100.03321.12
5.6.150.0100.05021.16
5.6.140.0100.04721.11
5.6.130.0000.06721.03
5.6.120.0070.04021.04
5.6.110.0030.04321.00
5.6.100.0070.08020.96
5.6.90.0100.06021.10
5.6.80.0070.06320.34
5.6.70.0030.07720.35
5.6.60.0070.06720.47
5.6.50.0130.07720.31
5.6.40.0030.03720.40
5.6.30.0100.03320.24
5.6.20.0070.05020.38
5.6.10.0030.05020.36
5.6.00.0130.07020.36
5.5.380.0030.08320.41
5.5.370.0130.04720.34
5.5.360.0070.05020.44
5.5.350.0200.06720.39
5.5.340.0070.04720.92
5.5.330.0000.05720.83
5.5.320.0130.07720.88
5.5.310.0000.04720.63
5.5.300.0100.06020.84
5.5.290.0100.08720.90
5.5.280.0030.04320.76
5.5.270.0070.04020.89
5.5.260.0070.04020.86
5.5.250.0130.07320.68
5.5.240.0100.03020.24
5.5.230.0070.06720.26
5.5.220.0100.08020.29
5.5.210.0030.05720.29
5.5.200.0100.07720.26
5.5.190.0100.07320.20
5.5.180.0170.08020.22
5.5.160.0100.03720.23
5.5.150.0130.02720.23
5.5.140.0100.07720.10
5.5.130.0070.04720.21
5.5.120.0070.06320.14
5.5.110.0100.06320.17
5.5.100.0070.08020.10
5.5.90.0130.04320.12
5.5.80.0070.04020.05
5.5.70.0030.04020.13
5.5.60.0100.05020.16
5.5.50.0100.07720.11
5.5.40.0100.03320.05
5.5.30.0030.04720.10
5.5.20.0030.06320.01
5.5.10.0030.05720.02
5.5.00.0170.02719.96
5.4.450.0070.05319.35
5.4.440.0070.04719.36
5.4.430.0030.05019.37
5.4.420.0100.07019.30
5.4.410.0100.07719.43
5.4.400.0070.07319.12
5.4.390.0070.08718.79
5.4.380.0030.07719.14
5.4.370.0000.06019.07
5.4.360.0070.03319.12
5.4.350.0000.07018.96
5.4.340.0070.03319.04
5.4.320.0100.03719.12
5.4.310.0070.07719.09
5.4.300.0030.06719.03
5.4.290.0030.05319.09
5.4.280.0030.06318.96
5.4.270.0070.05019.02
5.4.260.0030.04718.94
5.4.250.0100.06719.02
5.4.240.0070.03318.95
5.4.230.0070.07319.05
5.4.220.0030.06319.05
5.4.210.0130.03319.14
5.4.200.0070.05319.13
5.4.190.0100.07019.08
5.4.180.0030.08318.94
5.4.170.0170.06319.13
5.4.160.0070.07718.96
5.4.150.0070.07718.96
5.4.140.0000.03716.37
5.4.130.0000.04016.26
5.4.120.0070.06316.32
5.4.110.0030.05316.26
5.4.100.0070.04316.30
5.4.90.0000.04716.40
5.4.80.0130.06316.39
5.4.70.0200.05716.36
5.4.60.0070.06016.42
5.4.50.0100.06016.41
5.4.40.0030.07316.36
5.4.30.0070.07316.20
5.4.20.0100.06716.30
5.4.10.0100.07016.29
5.4.00.0070.06015.78
5.3.290.0130.07014.67
5.3.280.0000.06314.53
5.3.270.0000.08314.43
5.3.260.0070.06314.46
5.3.250.0000.08014.56
5.3.240.0070.04314.55
5.3.230.0030.03714.61
5.3.220.0100.03014.38
5.3.210.0030.08014.40
5.3.200.0000.04014.52
5.3.190.0070.06014.43
5.3.180.0070.03014.51
5.3.170.0170.05714.57
5.3.160.0000.04014.57
5.3.150.0030.08014.51
5.3.140.0000.08314.38
5.3.130.0000.08314.51
5.3.120.0030.07714.53
5.3.110.0000.04714.51
5.3.100.0000.04314.04
5.3.90.0030.03713.99
5.3.80.0130.07013.99
5.3.70.0030.07313.79
5.3.60.0000.04013.86
5.3.50.0070.03713.90
5.3.40.0100.04713.93
5.3.30.0130.06313.88
5.3.20.0030.05713.68
5.3.10.0070.03013.51
5.3.00.0070.06313.59
5.2.170.0100.06312.85
5.2.160.0000.03312.85
5.2.150.0070.06012.85
5.2.140.0070.05712.85
5.2.130.0070.05312.85
5.2.120.0070.06012.85
5.2.110.0070.05012.85
5.2.100.0100.05012.85
5.2.90.0070.04312.85
5.2.80.0070.06012.85
5.2.70.0070.02312.85
5.2.60.0100.06012.85
5.2.50.0000.05712.85
5.2.40.0030.06012.85
5.2.30.0030.03012.85
5.2.20.0000.03312.85
5.2.10.0030.02712.85
5.2.00.0070.04312.85
5.1.60.0030.04012.85
5.1.50.0030.04312.85
5.1.40.0030.04012.85
5.1.30.0030.05012.85
5.1.20.0030.02312.85
5.1.10.0000.04312.85
5.1.00.0130.04312.85
5.0.50.0030.04712.85
5.0.40.0100.01312.85
5.0.30.0030.03312.85
5.0.20.0070.01312.85
5.0.10.0000.04312.85
5.0.00.0130.06012.85
4.4.90.0030.03312.85
4.4.80.0070.02012.85
4.4.70.0030.01312.85
4.4.60.0000.01712.85
4.4.50.0000.01712.85
4.4.40.0000.02312.85
4.4.30.0000.02012.85
4.4.20.0000.03312.85
4.4.10.0100.02712.85
4.4.00.0000.06012.85
4.3.110.0030.03712.85
4.3.100.0030.02312.85
4.3.90.0030.01312.85
4.3.80.0070.03312.85
4.3.70.0000.03712.85
4.3.60.0000.02712.85
4.3.50.0000.01712.85
4.3.40.0030.04712.85
4.3.30.0000.03312.85
4.3.20.0030.03712.85
4.3.10.0000.03312.85
4.3.00.0030.03312.85

preferences:
56.37 ms | 401 KiB | 5 Q