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 7H34NC-5001nc'; $re1='.*?'; # Non-greedy match on filler $re41='([a-z]?[a-z])'; # Any Single Word Character (Not Whitespace) 1 or 2 $re43='(\\d)'; # Any Single Digit 1 $re44='(\\d)'; # Any Single Digit 2 $re45='.*?'; # Non-greedy match on filler $re46='(-)'; # Any Single Character 1 $re47='(\\d)'; # Any Single Digit 3 $re48='(\\d)'; # Any Single Digit 4 $re49='(\\d)'; # Any Single Digit 5 if ($c=preg_match_all ("/".$re1.$re41.$re43.$re44.$re45.$re46.$re47.$re48.$re49."/is", $txt, $matches)) { $w1=$matches[1][0]; $w2=$matches[2][0]; $d1=$matches[3][0]; $d2=$matches[4][0]; $c1=$matches[5][0]; $d3=$matches[6][0]; print "($w1) ($w2) ($d1) ($d2) ($c1) ($d3) ($d4) ($d5) \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.40.0120.00619.04
8.3.30.0040.01119.23
8.3.20.0080.00020.14
8.3.10.0040.00423.65
8.3.00.0040.00419.42
8.2.170.0140.00722.96
8.2.160.0070.01320.41
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00022.37
8.2.110.0060.00320.38
8.2.100.0090.00318.16
8.2.90.0030.00619.17
8.2.80.0060.00317.97
8.2.70.0040.00417.88
8.2.60.0080.00018.05
8.2.50.0000.00918.07
8.2.40.0000.00820.02
8.2.30.0000.00818.25
8.2.20.0000.00817.98
8.2.10.0000.00818.28
8.2.00.0060.00318.01
8.1.270.0080.00024.02
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00723.84
8.1.230.0120.00017.77
8.1.220.0040.00417.80
8.1.210.0030.00518.77
8.1.200.0030.00617.60
8.1.190.0000.00817.47
8.1.180.0030.00719.14
8.1.170.0040.00418.84
8.1.160.0040.00421.96
8.1.150.0040.00418.82
8.1.140.0040.00417.49
8.1.130.0030.00317.89
8.1.120.0050.00217.70
8.1.110.0040.00417.60
8.1.100.0000.00817.67
8.1.90.0000.00817.63
8.1.80.0040.00417.61
8.1.70.0000.00717.66
8.1.60.0040.00417.77
8.1.50.0080.00017.70
8.1.40.0040.00417.61
8.1.30.0080.00017.70
8.1.20.0040.00417.78
8.1.10.0000.00817.75
8.1.00.0030.00517.57
8.0.300.0000.00818.77
8.0.290.0040.00417.13
8.0.280.0000.00718.50
8.0.270.0040.00417.23
8.0.260.0040.00417.31
8.0.250.0070.00017.20
8.0.240.0040.00417.22
8.0.230.0040.00417.26
8.0.220.0000.00717.14
8.0.210.0090.00017.16
8.0.200.0000.00717.15
8.0.190.0040.00417.09
8.0.180.0030.00517.16
8.0.170.0040.00417.07
8.0.160.0000.00717.14
8.0.150.0070.00016.96
8.0.140.0030.00717.14
8.0.130.0070.00013.60
8.0.120.0030.00517.13
8.0.110.0030.00516.96
8.0.100.0040.00417.08
8.0.90.0040.00417.02
8.0.80.0110.00417.06
8.0.70.0000.00716.96
8.0.60.0070.00017.00
8.0.50.0070.00016.93
8.0.30.0120.00717.33
8.0.20.0110.00817.40
8.0.10.0030.00317.05
8.0.00.0060.01616.95
7.4.330.0000.00515.11
7.4.320.0000.00616.85
7.4.300.0030.00316.76
7.4.290.0030.00316.79
7.4.280.0040.00416.75
7.4.270.0000.00716.64
7.4.260.0080.00016.67
7.4.250.0040.00416.73
7.4.240.0030.00316.82
7.4.230.0070.00016.80
7.4.220.0060.01216.73
7.4.210.0080.00916.77
7.4.200.0050.00216.60
7.4.190.0050.00316.84
7.4.160.0040.01216.70
7.4.150.0120.00417.40
7.4.140.0120.00517.86
7.4.130.0100.00816.79
7.4.120.0070.01016.82
7.4.110.0140.00616.91
7.4.100.0100.01016.62
7.4.90.0040.01316.81
7.4.80.0130.01319.39
7.4.70.0150.00916.76
7.4.60.0070.01316.64
7.4.50.0050.00316.73
7.4.40.0100.00716.68
7.4.30.0080.00816.63
7.4.00.0120.00415.07
7.3.330.0000.00513.31
7.3.320.0030.00313.46
7.3.310.0080.00016.73
7.3.300.0050.00216.61
7.3.290.0070.00716.63
7.3.280.0080.01016.54
7.3.270.0110.00717.40
7.3.260.0150.00916.62
7.3.250.0070.01116.64
7.3.240.0130.00316.59
7.3.230.0060.01016.69
7.3.210.0040.01316.66
7.3.200.0090.00919.39
7.3.190.0060.01616.63
7.3.180.0130.00716.68
7.3.170.0110.01116.61
7.3.160.0030.01316.61
7.3.120.0120.00615.25
7.2.330.0110.00816.89
7.2.320.0050.01716.96
7.2.310.0120.00916.78
7.2.300.0120.00616.91
7.2.290.0130.01116.92
7.2.00.0030.00619.61
7.1.200.0060.00615.99
7.1.100.0100.00318.27
7.1.70.0060.00617.54
7.1.60.0180.00719.46
7.1.50.0150.00417.22
7.1.00.0030.07322.46
7.0.200.0040.00416.67
7.0.140.0000.07721.98
7.0.100.0000.09019.98
7.0.90.0170.06719.82
7.0.80.0070.06719.98
7.0.70.0030.06019.91
7.0.60.0170.07020.04
7.0.50.0100.07020.13
7.0.40.0130.07720.02
7.0.30.0130.07720.05
7.0.20.0130.07320.00
7.0.10.0100.08319.98
7.0.00.0200.07720.08
5.6.280.0030.07321.11
5.6.250.0130.07720.68
5.6.240.0070.08720.59
5.6.230.0170.07720.61
5.6.220.0100.05020.55
5.6.210.0100.07720.62
5.6.200.0000.08721.00
5.6.190.0130.08021.05
5.6.180.0100.08320.98
5.6.170.0030.09021.02
5.6.160.0100.08321.04
5.6.150.0070.09021.02
5.6.140.0170.07020.90
5.6.130.0070.08720.93
5.6.120.0100.08021.07
5.6.110.0170.07720.89
5.6.100.0030.04720.89
5.6.90.0130.07320.98
5.6.80.0070.04720.43
5.6.70.0070.08020.30
5.6.60.0000.08320.44
5.6.50.0170.06720.38
5.6.40.0000.08720.28
5.6.30.0200.06720.35
5.6.20.0070.07020.36
5.6.10.0030.08020.34
5.6.00.0070.07720.35
5.5.380.0130.08020.38
5.5.370.0130.07020.34
5.5.360.0230.06320.36
5.5.350.0100.08020.33
5.5.340.0030.08020.77
5.5.330.0070.08320.61
5.5.320.0030.08320.80
5.5.310.0200.07720.70
5.5.300.0100.08020.80
5.5.290.0170.07020.60
5.5.280.0100.05320.79
5.5.270.0170.06720.84
5.5.260.0100.08020.87
5.5.250.0000.08020.61
5.5.240.0030.08020.08
5.5.230.0100.07720.11
5.5.220.0170.07320.23
5.5.210.0070.08020.23
5.5.200.0030.05720.22
5.5.190.0070.08320.20
5.5.180.0070.08020.07
5.5.160.0070.06720.23
5.5.150.0030.05320.23
5.5.140.0030.08320.23
5.5.130.0100.08020.04
5.5.120.0100.07720.07
5.5.110.0100.07320.04
5.5.100.0030.08720.13
5.5.90.0070.07720.07
5.5.80.0100.07720.08
5.5.70.0070.08020.12
5.5.60.0130.06320.04
5.5.50.0070.06720.04
5.5.40.0070.08019.92
5.5.30.0070.08019.96
5.5.20.0170.07320.05
5.5.10.0070.08019.94
5.5.00.0100.04320.05
5.4.450.0070.08719.16
5.4.440.0130.07019.14
5.4.430.0100.06719.29
5.4.420.0070.06319.13
5.4.410.0100.08019.27
5.4.400.0070.07319.04
5.4.390.0130.07319.04
5.4.380.0070.07018.96
5.4.370.0030.07718.82
5.4.360.0100.07019.06
5.4.350.0130.07019.13
5.4.340.0170.06719.06
5.4.320.0100.06319.07
5.4.310.0070.07718.79
5.4.300.0130.07018.80
5.4.290.0030.07719.22
5.4.280.0070.08319.03
5.4.270.0100.07318.78
5.4.260.0100.07319.09
5.4.250.0070.07718.78
5.4.240.0100.07018.97
5.4.230.0130.07319.04
5.4.220.0130.07719.24
5.4.210.0130.07319.09
5.4.200.0030.08018.94
5.4.190.0070.07718.80
5.4.180.0030.07318.97
5.4.170.0130.06719.12
5.4.160.0100.06018.97
5.4.150.0100.08019.04
5.4.140.0100.07016.29
5.4.130.0100.06016.29
5.4.120.0070.07016.23
5.4.110.0030.07716.36
5.4.100.0100.07016.26
5.4.90.0070.07316.24
5.4.80.0030.07016.43
5.4.70.0000.07716.42
5.4.60.0070.07316.41
5.4.50.0100.04316.27
5.4.40.0100.07716.39
5.4.30.0100.07016.23
5.4.20.0070.07716.18
5.4.10.0070.08016.29
5.4.00.0070.07315.73
5.3.290.0200.06314.65
5.3.280.0070.08014.48
5.3.270.0100.07314.53
5.3.260.0170.07014.46
5.3.250.0100.07314.61
5.3.240.0030.06014.62
5.3.230.0030.08014.57
5.3.220.0030.07714.52
5.3.210.0070.07314.52
5.3.200.0070.06014.56
5.3.190.0130.06014.52
5.3.180.0100.04014.52
5.3.170.0070.07014.53
5.3.160.0100.07714.54
5.3.150.0070.07314.53
5.3.140.0030.08314.56
5.3.130.0030.08014.50
5.3.120.0030.08014.55
5.3.110.0070.07314.53
5.3.100.0100.07713.87
5.3.90.0030.07714.04
5.3.80.0130.06314.04
5.3.70.0070.07713.94
5.3.60.0070.06713.96
5.3.50.0000.07713.92
5.3.40.0070.07313.81
5.3.30.0070.05013.88
5.3.20.0030.07313.66
5.3.10.0070.06013.52
5.3.00.0030.06313.67
5.2.170.0070.06011.14
5.2.160.0100.05710.98
5.2.150.0030.05711.00
5.2.140.0030.06011.14
5.2.130.0030.05711.11
5.2.120.0030.06011.11
5.2.110.0100.06010.98
5.2.100.0000.06711.07
5.2.90.0000.04311.11
5.2.80.0100.05711.11
5.2.70.0070.06010.95
5.2.60.0070.06311.06
5.2.50.0000.06310.89
5.2.40.0130.05310.97
5.2.30.0030.06310.98
5.2.20.0070.05710.87
5.2.10.0000.05310.80
5.2.00.0000.06710.78
5.1.60.0070.05310.06
5.1.50.0000.03010.01
5.1.40.0030.05310.07
5.1.30.0030.03710.27
5.1.20.0030.06010.37
5.1.10.0100.05310.16
5.1.00.0070.0539.96
5.0.50.0070.0308.41
5.0.40.0030.0438.50
5.0.30.0000.0708.28
5.0.20.0000.0478.20
5.0.10.0070.0378.24
5.0.00.0000.0708.12
4.4.90.0070.0338.12
4.4.80.0030.0378.12
4.4.70.0070.0308.12
4.4.60.0070.0308.12
4.4.50.0000.0378.12
4.4.40.0030.0408.12
4.4.30.0070.0278.12
4.4.20.0030.0338.12
4.4.10.0000.0408.12
4.4.00.0000.0478.12
4.3.110.0070.0338.12
4.3.100.0000.0338.12
4.3.90.0030.0378.12
4.3.80.0030.0508.12
4.3.70.0070.0238.12
4.3.60.0000.0378.12
4.3.50.0000.0278.12
4.3.40.0000.0578.12
4.3.30.0030.0378.12
4.3.20.0000.0378.12
4.3.10.0000.0378.12
4.3.00.0000.0308.12

preferences:
43.28 ms | 400 KiB | 5 Q