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]; $d1=$matches[3][0]; $d2=$matches[4][0]; $c1=$matches[5][0]; $d3=$matches[6][0]; $d4=$matches[7][0]; $d5=$matches[8][0]; print "($w1) ($w2) ($d1) ($d2) ($c1) ($d3) ($d4) \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.70.0100.00718.55
8.3.60.0120.00316.87
8.3.50.0160.00422.25
8.3.40.0090.00619.13
8.3.30.0160.00319.01
8.3.20.0080.00020.30
8.3.10.0040.00423.66
8.3.00.0030.00519.75
8.2.180.0070.01018.68
8.2.170.0140.00022.96
8.2.160.0180.00320.41
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00322.38
8.2.110.0090.00020.34
8.2.100.0120.00018.03
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0040.00420.06
8.2.30.0000.00718.20
8.2.20.0040.00418.02
8.2.10.0040.00418.14
8.2.00.0040.00417.99
8.1.280.0040.01125.92
8.1.270.0000.00923.90
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0070.00722.32
8.1.230.0000.01122.31
8.1.220.0040.00417.77
8.1.210.0090.00018.77
8.1.200.0000.00917.50
8.1.190.0080.00017.48
8.1.180.0070.00319.10
8.1.170.0040.00418.84
8.1.160.0000.00722.08
8.1.150.0000.00818.84
8.1.140.0000.00717.63
8.1.130.0030.00317.93
8.1.120.0000.00717.64
8.1.110.0000.00817.65
8.1.100.0080.00017.66
8.1.90.0040.00417.63
8.1.80.0000.00817.56
8.1.70.0000.00717.65
8.1.60.0060.00317.64
8.1.50.0030.00617.53
8.1.40.0000.00717.74
8.1.30.0000.00817.63
8.1.20.0020.00517.82
8.1.10.0050.00317.66
8.1.00.0080.00017.70
8.0.300.0070.00018.77
8.0.290.0040.00417.30
8.0.280.0040.00418.44
8.0.270.0000.00717.01
8.0.260.0030.00317.23
8.0.250.0050.00317.16
8.0.240.0030.00317.21
8.0.230.0030.00317.13
8.0.220.0000.00717.02
8.0.210.0030.00617.14
8.0.200.0070.00017.16
8.0.190.0000.00817.19
8.0.180.0000.00717.23
8.0.170.0040.00417.18
8.0.160.0000.00717.05
8.0.150.0040.00417.05
8.0.140.0060.00317.12
8.0.130.0000.00613.58
8.0.120.0050.00317.10
8.0.110.0000.00817.05
8.0.100.0000.00716.99
8.0.90.0050.00216.95
8.0.80.0090.00617.06
8.0.70.0000.00717.00
8.0.60.0040.00417.01
8.0.50.0050.00217.02
8.0.30.0130.00717.30
8.0.20.0090.01017.46
8.0.10.0000.00717.08
8.0.00.0090.00916.97
7.4.330.0000.00515.13
7.4.320.0030.00316.75
7.4.300.0000.00716.84
7.4.290.0030.00316.77
7.4.280.0040.00416.76
7.4.270.0000.00716.75
7.4.260.0000.00816.81
7.4.250.0040.00416.82
7.4.240.0050.00216.82
7.4.230.0070.00016.80
7.4.220.0060.01216.79
7.4.210.0080.00716.79
7.4.200.0000.00816.63
7.4.190.0030.00316.96
7.4.160.0070.01016.91
7.4.150.0160.00317.40
7.4.140.0090.00817.86
7.4.130.0150.00216.70
7.4.120.0060.01116.76
7.4.110.0070.01016.67
7.4.100.0140.00616.62
7.4.90.0130.00416.70
7.4.80.0100.01019.39
7.4.70.0110.01116.63
7.4.60.0090.00916.84
7.4.50.0030.00516.63
7.4.40.0060.00916.58
7.4.30.0030.01416.75
7.4.00.0080.00615.31
7.3.330.0030.00213.30
7.3.320.0030.00313.48
7.3.310.0040.00416.62
7.3.300.0070.00016.52
7.3.290.0040.01116.62
7.3.280.0090.00916.56
7.3.270.0110.00617.40
7.3.260.0060.01016.91
7.3.250.0100.00916.81
7.3.240.0100.00616.84
7.3.230.0140.00316.52
7.3.210.0090.00916.88
7.3.200.0130.00419.39
7.3.190.0030.01416.50
7.3.180.0110.01116.95
7.3.170.0090.01316.89
7.3.160.0100.00616.59
7.3.120.0080.00815.16
7.3.110.0060.01015.17
7.3.100.0060.01215.08
7.3.90.0090.00915.23
7.3.80.0070.00715.05
7.3.70.0040.01115.13
7.3.60.0070.01015.21
7.3.50.0030.00615.21
7.3.40.0030.00915.15
7.3.30.0090.00614.89
7.3.20.0090.00316.88
7.3.10.0070.00716.84
7.3.00.0050.00516.71
7.2.330.0100.00716.95
7.2.320.0050.01616.87
7.2.310.0090.00816.87
7.2.300.0140.00316.88
7.2.290.0130.00716.65
7.2.250.0080.01115.47
7.2.240.0070.01315.48
7.2.230.0070.00715.07
7.2.220.0060.00915.38
7.2.210.0100.00715.38
7.2.200.0030.01015.29
7.2.190.0070.01115.38
7.2.180.0060.01015.34
7.2.170.0000.01515.11
7.2.00.0090.00619.66
7.1.330.0030.01115.98
7.1.320.0030.00915.82
7.1.310.0070.01116.04
7.1.300.0070.00316.18
7.1.290.0040.01116.11
7.1.280.0030.00916.06
7.1.270.0040.00415.86
7.1.260.0060.00815.76
7.1.200.0060.00315.81
7.1.100.0000.01117.91
7.1.70.0000.00817.51
7.1.60.0070.01819.46
7.1.50.0040.01916.90
7.1.00.0030.07322.43
7.0.200.0040.00417.09
7.0.140.0000.07722.09
7.0.100.0270.07719.97
7.0.90.0100.07719.91
7.0.80.0070.08019.99
7.0.70.0070.08019.94
7.0.60.0230.06720.00
7.0.50.0300.06320.18
7.0.40.0000.05720.13
7.0.30.0030.09319.95
7.0.20.0130.07320.00
7.0.10.0130.06020.04
7.0.00.0030.06020.00
5.6.280.0070.07020.90
5.6.250.0100.07720.67
5.6.240.0230.06720.64
5.6.230.0070.07020.57
5.6.220.0100.08020.65
5.6.210.0070.05020.73
5.6.200.0100.07720.95
5.6.190.0100.07321.08
5.6.180.0130.05021.18
5.6.170.0030.08021.09
5.6.160.0000.08321.11
5.6.150.0100.06321.09
5.6.140.0070.04721.18
5.6.130.0030.05321.04
5.6.120.0200.07321.07
5.6.110.0030.04021.11
5.6.100.0100.07320.93
5.6.90.0030.04321.16
5.6.80.0070.07720.45
5.6.70.0100.07020.43
5.6.60.0070.04320.43
5.6.50.0070.08320.41
5.6.40.0030.07020.38
5.6.30.0070.03720.45
5.6.20.0130.06720.37
5.6.10.0070.08020.44
5.6.00.0070.07720.36
5.5.380.0130.06320.50
5.5.370.0030.08020.38
5.5.360.0030.07020.41
5.5.350.0100.05020.43
5.5.340.0070.07720.77
5.5.330.0070.08020.74
5.5.320.0030.05020.85
5.5.310.0070.05720.84
5.5.300.0100.07720.86
5.5.290.0070.07320.86
5.5.280.0000.07020.84
5.5.270.0200.07320.80
5.5.260.0130.04020.88
5.5.250.0130.06720.68
5.5.240.0030.07720.13
5.5.230.0070.06020.31
5.5.220.0070.07720.26
5.5.210.0030.04020.26
5.5.200.0170.06320.20
5.5.190.0030.05320.31
5.5.180.0100.04320.17
5.5.160.0170.06320.16
5.5.150.0030.07720.28
5.5.140.0070.07320.12
5.5.130.0130.05720.25
5.5.120.0070.07720.13
5.5.110.0100.08020.18
5.5.100.0130.06319.96
5.5.90.0070.04320.11
5.5.80.0070.05720.08
5.5.70.0030.06020.05
5.5.60.0030.04720.07
5.5.50.0130.07019.96
5.5.40.0070.04720.11
5.5.30.0100.04320.00
5.5.20.0100.05720.10
5.5.10.0100.07320.09
5.5.00.0070.07320.05
5.4.450.0030.04719.43
5.4.440.0070.04719.29
5.4.430.0170.06719.47
5.4.420.0030.04019.45
5.4.410.0030.05719.14
5.4.400.0130.04018.82
5.4.390.0100.06319.10
5.4.380.0030.04719.23
5.4.370.0070.04319.03
5.4.360.0130.04019.15
5.4.350.0130.04318.98
5.4.340.0100.07318.95
5.4.320.0030.06018.90
5.4.310.0030.04719.06
5.4.300.0100.07319.11
5.4.290.0170.06318.97
5.4.280.0030.06719.05
5.4.270.0070.05719.03
5.4.260.0070.07718.95
5.4.250.0030.05319.03
5.4.240.0030.06018.98
5.4.230.0100.07018.79
5.4.220.0030.05019.06
5.4.210.0070.06719.07
5.4.200.0100.03319.04
5.4.190.0070.07019.11
5.4.180.0070.06718.93
5.4.170.0070.04019.02
5.4.160.0030.06719.05
5.4.150.0030.04018.77
5.4.140.0100.06016.12
5.4.130.0100.07016.34
5.4.120.0130.07016.26
5.4.110.0070.05316.22
5.4.100.0100.04716.43
5.4.90.0030.06316.46
5.4.80.0070.06716.24
5.4.70.0000.05716.21
5.4.60.0100.04716.24
5.4.50.0030.07016.34
5.4.40.0070.04316.39
5.4.30.0130.04716.30
5.4.20.0000.04016.21
5.4.10.0030.05016.23
5.4.00.0000.07015.71
5.3.290.0100.07314.54
5.3.280.0170.05014.60
5.3.270.0000.05714.46
5.3.260.0070.04314.49
5.3.250.0070.07014.61
5.3.240.0130.07314.52
5.3.230.0170.06714.57
5.3.220.0030.04714.58
5.3.210.0230.06314.57
5.3.200.0100.05714.44
5.3.190.0070.05714.57
5.3.180.0070.06014.40
5.3.170.0200.05014.42
5.3.160.0100.06014.51
5.3.150.0070.06314.54
5.3.140.0070.04314.55
5.3.130.0070.06014.40
5.3.120.0000.06014.41
5.3.110.0030.07014.42
5.3.100.0130.06313.96
5.3.90.0100.06714.00
5.3.80.0130.06313.99
5.3.70.0000.06313.88
5.3.60.0100.07314.01
5.3.50.0100.03713.90
5.3.40.0070.07013.95
5.3.30.0070.06013.90
5.3.20.0030.05013.58
5.3.10.0070.06313.65
5.3.00.0070.05013.64
5.2.170.0070.06011.02
5.2.160.0030.05711.02
5.2.150.0070.06311.15
5.2.140.0070.05311.04
5.2.130.0070.03011.04
5.2.120.0100.03711.08
5.2.110.0030.05711.10
5.2.100.0070.05711.19
5.2.90.0030.06311.10
5.2.80.0170.05311.16
5.2.70.0000.06311.09
5.2.60.0070.05710.91
5.2.50.0070.06011.00
5.2.40.0000.06010.86
5.2.30.0070.05010.94
5.2.20.0030.04010.84
5.2.10.0030.02710.92
5.2.00.0070.02310.67
5.1.60.0030.02310.07
5.1.50.0000.02710.00
5.1.40.0000.0239.98
5.1.30.0030.03010.40
5.1.20.0000.02710.37
5.1.10.0000.02710.18
5.1.00.0070.01710.09
5.0.50.0000.0238.60
5.0.40.0030.0178.46
5.0.30.0070.0238.30
5.0.20.0000.0238.33
5.0.10.0070.0108.20
5.0.00.0000.0308.18
4.4.90.0000.0207.63
4.4.80.0000.0277.63
4.4.70.0000.0177.63
4.4.60.0000.0207.63
4.4.50.0000.0177.63
4.4.40.0000.0237.63
4.4.30.0000.0177.63
4.4.20.0000.0177.63
4.4.10.0030.0137.63
4.4.00.0000.0277.63
4.3.110.0000.0177.63
4.3.100.0070.0107.63
4.3.90.0030.0137.63
4.3.80.0000.0207.63
4.3.70.0030.0107.63
4.3.60.0030.0107.63
4.3.50.0030.0107.63
4.3.40.0000.0237.63
4.3.30.0000.0177.63
4.3.20.0000.0177.63
4.3.10.0030.0137.63
4.3.00.0000.0137.63

preferences:
40.16 ms | 401 KiB | 5 Q