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 7Hr34NC-5001nc'; $re1='.*?'; # Non-greedy match on filler $re41='([a-z]?[a-z])'; # Any Single Word Character (Not Whitespace) 1 or 2 $re43='(\\d\\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.$re45.$re46.$re47.$re48.$re49."/is", $txt, $matches)) { $w1=$matches[1][0]; $d1=$matches[2][0]; $c1=$matches[3][0]; $d3=$matches[4][0]; $d4=$matches[5][0]; $d5=$matches[6][0]; print "($w1) ($d1) ($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.60.0110.00816.75
8.3.50.0090.00922.24
8.3.40.0000.01519.13
8.3.30.0140.00019.27
8.3.20.0000.00720.21
8.3.10.0040.00423.66
8.3.00.0080.00019.63
8.2.180.0110.00718.66
8.2.170.0000.01422.96
8.2.160.0140.00320.35
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0050.00322.44
8.2.110.0120.00622.24
8.2.100.0080.00417.84
8.2.90.0030.00617.97
8.2.80.0080.00317.97
8.2.70.0090.00017.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0090.00020.00
8.2.30.0040.00418.06
8.2.20.0060.00317.81
8.2.10.0080.00018.14
8.2.00.0050.00217.78
8.1.280.0090.00625.92
8.1.270.0000.00823.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.54
8.1.230.0030.00720.86
8.1.220.0000.00817.78
8.1.210.0030.00618.98
8.1.200.0060.00417.35
8.1.190.0040.00417.48
8.1.180.0070.00318.10
8.1.170.0040.00418.59
8.1.160.0070.00022.05
8.1.150.0040.00418.67
8.1.140.0000.00817.67
8.1.130.0000.00717.87
8.1.120.0040.00417.60
8.1.110.0000.00817.58
8.1.100.0040.00417.49
8.1.90.0030.00417.56
8.1.80.0040.00417.63
8.1.70.0030.00317.63
8.1.60.0040.00817.64
8.1.50.0040.00417.62
8.1.40.0070.00017.57
8.1.30.0000.00817.71
8.1.20.0000.00717.88
8.1.10.0030.00617.57
8.1.00.0040.00417.70
8.0.300.0050.00320.03
8.0.290.0040.00417.05
8.0.280.0000.00718.46
8.0.270.0000.00717.30
8.0.260.0030.00317.26
8.0.250.0030.00417.08
8.0.240.0070.00017.10
8.0.230.0020.00517.15
8.0.220.0030.00317.00
8.0.210.0040.00417.01
8.0.200.0000.00717.09
8.0.190.0000.00817.05
8.0.180.0080.00016.97
8.0.170.0040.00417.04
8.0.160.0030.00317.06
8.0.150.0000.00816.99
8.0.140.0030.00616.95
8.0.130.0000.00513.52
8.0.120.0080.00016.93
8.0.110.0040.00416.89
8.0.100.0050.00216.95
8.0.90.0040.00417.06
8.0.80.0060.00917.01
8.0.70.0000.00817.01
8.0.60.0050.00217.11
8.0.50.0030.00516.89
8.0.30.0080.01017.10
8.0.20.0180.00617.40
8.0.10.0000.00717.16
8.0.00.0090.01016.75
7.4.330.0050.00015.18
7.4.320.0050.00216.77
7.4.300.0070.00016.83
7.4.290.0030.00516.74
7.4.280.0080.00016.73
7.4.270.0000.00716.85
7.4.260.0000.00716.70
7.4.250.0050.00316.83
7.4.240.0040.00416.73
7.4.230.0070.00016.82
7.4.220.0000.01816.65
7.4.210.0050.01216.74
7.4.200.0030.00316.64
7.4.190.0050.00216.86
7.4.160.0060.01016.58
7.4.150.0140.00417.40
7.4.140.0160.00817.86
7.4.130.0120.00616.67
7.4.120.0090.00916.78
7.4.110.0030.01616.91
7.4.100.0160.00316.79
7.4.90.0030.01416.71
7.4.80.0080.01319.39
7.4.70.0070.01116.67
7.4.60.0090.01316.73
7.4.50.0070.00016.59
7.4.40.0160.00616.77
7.4.30.0120.00416.63
7.4.00.0090.00614.91
7.3.330.0030.00313.27
7.3.320.0030.00213.39
7.3.310.0000.00716.31
7.3.300.0030.00316.39
7.3.290.0040.01116.44
7.3.280.0040.01316.47
7.3.270.0060.01217.40
7.3.260.0100.00716.78
7.3.250.0080.00816.48
7.3.240.0070.01016.80
7.3.230.0100.01016.50
7.3.210.0040.01316.86
7.3.200.0170.00319.39
7.3.190.0070.01116.78
7.3.180.0080.00816.42
7.3.170.0030.01316.68
7.3.160.0150.00616.56
7.3.120.0000.01614.99
7.2.330.0140.00316.70
7.2.320.0150.00716.89
7.2.310.0150.00316.93
7.2.300.0090.00916.78
7.2.290.0110.00816.83
7.2.60.0060.01016.87
7.2.00.0090.00619.56
7.1.200.0040.00416.00
7.1.100.0090.00318.64
7.1.70.0090.00317.39
7.1.60.0070.01519.46
7.1.50.0070.01717.22
7.1.00.0030.07322.55
7.0.200.0040.00416.84
7.0.140.0070.06322.07
7.0.100.0300.05719.90
7.0.90.0100.04320.00
7.0.80.0270.06320.13
7.0.70.0330.07019.95
7.0.60.0030.08719.96
7.0.50.0230.05720.35
7.0.40.0030.08320.10
7.0.30.0170.07020.08
7.0.20.0100.08720.07
7.0.10.0100.09020.14
7.0.00.0100.08020.08
5.6.280.0070.07021.12
5.6.250.0100.07720.72
5.6.240.0070.08020.66
5.6.230.0070.08720.49
5.6.220.0100.03720.61
5.6.210.0000.08320.66
5.6.200.0130.08321.02
5.6.190.0200.05321.13
5.6.180.0070.07021.02
5.6.170.0030.08721.02
5.6.160.0170.06321.00
5.6.150.0070.08721.00
5.6.140.0100.07021.04
5.6.130.0100.05021.08
5.6.120.0030.05320.99
5.6.110.0070.07721.08
5.6.100.0070.07320.95
5.6.90.0170.03320.91
5.6.80.0130.06320.32
5.6.70.0000.05020.32
5.6.60.0070.07020.42
5.6.50.0070.07320.51
5.6.40.0100.07320.29
5.6.30.0100.06720.43
5.6.20.0070.08020.41
5.6.10.0070.07720.29
5.6.00.0100.08720.44
5.5.380.0100.08020.37
5.5.370.0030.06020.57
5.5.360.0130.06720.47
5.5.350.0100.08320.42
5.5.340.0030.09020.91
5.5.330.0070.06720.84
5.5.320.0130.07020.88
5.5.310.0130.07020.77
5.5.300.0130.05720.85
5.5.290.0130.07320.88
5.5.280.0000.08720.74
5.5.270.0030.07720.86
5.5.260.0100.06320.91
5.5.250.0030.05020.69
5.5.240.0100.07720.10
5.5.230.0070.05720.18
5.5.220.0070.04320.17
5.5.210.0100.04320.28
5.5.200.0170.03720.24
5.5.190.0030.05320.24
5.5.180.0000.08720.23
5.5.160.0130.07320.18
5.5.150.0100.08020.20
5.5.140.0130.04020.20
5.5.130.0130.07020.18
5.5.120.0030.04720.17
5.5.110.0130.05320.07
5.5.100.0070.07320.05
5.5.90.0070.07019.97
5.5.80.0030.03720.05
5.5.70.0000.08719.93
5.5.60.0030.06019.93
5.5.50.0070.07720.11
5.5.40.0070.07719.89
5.5.30.0100.07720.11
5.5.20.0170.05020.04
5.5.10.0070.09320.05
5.5.00.0100.07020.12
5.4.450.0130.07319.38
5.4.440.0100.04719.42
5.4.430.0130.06019.43
5.4.420.0170.06319.37
5.4.410.0100.07019.16
5.4.400.0070.04018.79
5.4.390.0070.08018.94
5.4.380.0100.06319.05
5.4.370.0070.04318.80
5.4.360.0070.07719.24
5.4.350.0100.06718.93
5.4.340.0000.05319.02
5.4.320.0130.06719.07
5.4.310.0100.07319.06
5.4.300.0100.06319.09
5.4.290.0000.08719.22
5.4.280.0070.07718.96
5.4.270.0100.07319.09
5.4.260.0100.07019.13
5.4.250.0030.04319.21
5.4.240.0100.07019.13
5.4.230.0070.03719.21
5.4.220.0130.05719.01
5.4.210.0070.07319.01
5.4.200.0030.08719.02
5.4.190.0070.04019.08
5.4.180.0000.08319.12
5.4.170.0130.05318.93
5.4.160.0130.06718.91
5.4.150.0100.04018.76
5.4.140.0070.07316.29
5.4.130.0070.07016.40
5.4.120.0030.03716.28
5.4.110.0100.06316.32
5.4.100.0130.06716.42
5.4.90.0100.04316.42
5.4.80.0130.06316.20
5.4.70.0100.07016.29
5.4.60.0030.06716.27
5.4.50.0230.05016.28
5.4.40.0070.05316.28
5.4.30.0070.07316.18
5.4.20.0070.05016.23
5.4.10.0170.06316.35
5.4.00.0030.04315.77
5.3.290.0130.07014.66
5.3.280.0000.08314.46
5.3.270.0100.04014.57
5.3.260.0130.06714.59
5.3.250.0070.06014.45
5.3.240.0130.06314.60
5.3.230.0100.06014.61
5.3.220.0030.07714.43
5.3.210.0170.03714.56
5.3.200.0130.07014.39
5.3.190.0100.06314.52
5.3.180.0030.05714.57
5.3.170.0070.06714.41
5.3.160.0100.05014.43
5.3.150.0070.07714.57
5.3.140.0170.03314.52
5.3.130.0070.03714.55
5.3.120.0030.04714.46
5.3.110.0100.05714.51
5.3.100.0030.05713.89
5.3.90.0100.06013.98
5.3.80.0030.06713.95
5.3.70.0130.06314.02
5.3.60.0130.07313.99
5.3.50.0000.07713.80
5.3.40.0170.06013.91
5.3.30.0100.06313.92
5.3.20.0070.04313.68
5.3.10.0000.05013.61
5.3.00.0070.04013.65
5.2.170.0200.02711.14
5.2.160.0030.06711.10
5.2.150.0130.06011.15
5.2.140.0030.06011.14
5.2.130.0070.05711.10
5.2.120.0100.06011.16
5.2.110.0100.05311.02
5.2.100.0100.05311.13
5.2.90.0030.05311.14
5.2.80.0130.05010.94
5.2.70.0000.06310.95
5.2.60.0100.05311.02
5.2.50.0130.04311.01
5.2.40.0070.06011.01
5.2.30.0070.05010.82
5.2.20.0130.05310.85
5.2.10.0030.06310.93
5.2.00.0030.04310.65
5.1.60.0000.0379.98
5.1.50.0000.06010.03
5.1.40.0000.05010.03
5.1.30.0070.06010.27
5.1.20.0070.04710.39
5.1.10.0130.03710.13
5.1.00.0030.05710.07
5.0.50.0030.0438.55
5.0.40.0130.0338.46
5.0.30.0030.0638.24
5.0.20.0030.0438.30
5.0.10.0030.0408.21
5.0.00.0000.0678.23
4.4.90.0030.0177.80
4.4.80.0000.0207.80
4.4.70.0030.0307.80
4.4.60.0000.0277.80
4.4.50.0030.0377.80
4.4.40.0030.0237.80
4.4.30.0100.0207.80
4.4.20.0000.0207.80
4.4.10.0000.0207.80
4.4.00.0070.0437.80
4.3.110.0000.0207.80
4.3.100.0070.0277.80
4.3.90.0030.0337.80
4.3.80.0000.0577.80
4.3.70.0100.0277.80
4.3.60.0070.0207.80
4.3.50.0030.0337.80
4.3.40.0000.0537.80
4.3.30.0070.0277.80
4.3.20.0030.0207.80
4.3.10.0000.0377.80
4.3.00.0070.0377.80

preferences:
39.48 ms | 400 KiB | 5 Q