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[2][0]; $d2=$matches[3][0]; $c1=$matches[4][0]; $d3=$matches[5][0]; $d4=$matches[6][0]; $d5=$matches[7][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.60.0090.00616.88
8.3.50.0080.00922.18
8.3.40.0000.01519.16
8.3.30.0070.00719.18
8.3.20.0080.00020.00
8.3.10.0040.00423.69
8.3.00.0060.00319.63
8.2.180.0130.00716.75
8.2.170.0070.01422.96
8.2.160.0100.01020.30
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0080.00022.28
8.2.110.0070.00322.20
8.2.100.0030.00718.22
8.2.90.0060.00319.21
8.2.80.0000.00917.97
8.2.70.0060.00317.88
8.2.60.0000.00818.03
8.2.50.0050.00318.07
8.2.40.0030.00619.78
8.2.30.0040.00418.10
8.2.20.0000.00817.97
8.2.10.0040.00418.25
8.2.00.0000.00718.05
8.1.280.0110.01125.92
8.1.270.0090.00023.91
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00323.93
8.1.230.0110.00019.10
8.1.220.0040.00417.89
8.1.210.0000.00818.77
8.1.200.0060.00317.38
8.1.190.0030.00517.25
8.1.180.0040.00419.13
8.1.170.0000.00818.88
8.1.160.0000.00722.00
8.1.150.0050.00218.89
8.1.140.0030.00517.65
8.1.130.0030.00317.83
8.1.120.0000.00717.68
8.1.110.0050.00217.65
8.1.100.0000.00717.57
8.1.90.0050.00317.70
8.1.80.0000.00717.64
8.1.70.0030.00617.56
8.1.60.0030.00617.67
8.1.50.0040.00417.77
8.1.40.0090.00017.61
8.1.30.0040.00417.69
8.1.20.0030.00717.75
8.1.10.0020.00517.67
8.1.00.0000.00717.70
8.0.300.0040.00418.77
8.0.290.0000.00716.91
8.0.280.0080.00018.49
8.0.270.0080.00017.30
8.0.260.0000.00717.32
8.0.250.0080.00017.13
8.0.240.0040.00417.16
8.0.230.0000.00717.21
8.0.220.0030.00317.05
8.0.210.0040.00417.14
8.0.200.0000.00617.21
8.0.190.0090.00017.09
8.0.180.0000.00817.20
8.0.170.0040.00417.14
8.0.160.0050.00217.11
8.0.150.0050.00217.04
8.0.140.0000.00817.16
8.0.130.0000.00613.53
8.0.120.0040.00417.10
8.0.110.0070.00017.14
8.0.100.0040.00416.93
8.0.90.0070.00017.16
8.0.80.0030.01217.10
8.0.70.0040.00416.93
8.0.60.0080.00017.09
8.0.50.0070.00016.95
8.0.30.0130.00617.43
8.0.20.0100.00917.53
8.0.10.0030.00617.14
8.0.00.0080.01316.94
7.4.330.0000.00515.04
7.4.320.0050.00216.66
7.4.300.0060.00016.89
7.4.290.0070.00016.77
7.4.280.0000.00816.88
7.4.270.0070.00016.77
7.4.260.0050.00216.73
7.4.250.0000.00816.77
7.4.240.0030.00316.80
7.4.230.0030.00316.72
7.4.220.0120.00616.73
7.4.210.0080.00716.79
7.4.200.0040.00416.50
7.4.190.0030.00316.86
7.4.160.0040.01116.59
7.4.150.0100.00717.40
7.4.140.0070.01017.86
7.4.130.0170.00316.72
7.4.120.0100.00616.73
7.4.110.0110.01116.87
7.4.100.0110.01416.77
7.4.90.0100.00716.84
7.4.80.0120.00919.39
7.4.70.0050.02016.72
7.4.60.0090.00916.75
7.4.50.0000.00816.64
7.4.40.0040.01216.69
7.4.30.0100.00716.57
7.4.00.0070.00714.88
7.3.330.0030.00313.31
7.3.320.0030.00313.46
7.3.310.0030.00516.64
7.3.300.0000.00716.48
7.3.290.0080.00616.56
7.3.280.0090.00916.54
7.3.270.0090.00917.40
7.3.260.0110.00716.66
7.3.250.0170.00616.60
7.3.240.0100.00716.54
7.3.230.0100.01016.50
7.3.210.0030.01416.73
7.3.200.0090.00919.39
7.3.190.0100.00716.72
7.3.180.0060.01216.57
7.3.170.0120.00916.76
7.3.160.0080.00816.76
7.3.120.0040.01415.15
7.2.330.0090.00816.81
7.2.320.0110.00716.89
7.2.310.0080.01616.81
7.2.300.0120.00416.80
7.2.290.0030.01416.75
7.2.60.0250.00617.00
7.2.00.0060.00619.13
7.1.200.0090.00316.19
7.1.100.0000.01118.43
7.1.70.0020.00517.14
7.1.60.0070.02319.46
7.1.50.0060.01617.22
7.1.00.0030.09022.36
7.0.200.0000.00817.00
7.0.140.0000.07721.95
7.0.100.0070.04019.95
7.0.90.0070.04319.96
7.0.80.0070.04019.97
7.0.70.0100.06719.91
7.0.60.0030.07319.98
7.0.50.0400.08020.41
7.0.40.0030.07320.00
7.0.30.0100.06020.10
7.0.20.0070.06320.06
7.0.10.0100.06720.03
7.0.00.0100.07320.14
5.6.280.0000.07321.10
5.6.250.0070.06020.73
5.6.240.0030.07020.64
5.6.230.0000.03720.56
5.6.220.0070.07320.48
5.6.210.0030.08320.61
5.6.200.0030.06721.06
5.6.190.0200.06720.95
5.6.180.0070.05321.18
5.6.170.0030.07721.09
5.6.160.0130.04020.96
5.6.150.0130.07321.15
5.6.140.0070.08021.05
5.6.130.0030.06720.95
5.6.120.0170.07721.14
5.6.110.0100.07720.95
5.6.100.0000.08720.95
5.6.90.0070.04720.94
5.6.80.0030.08020.43
5.6.70.0100.06020.34
5.6.60.0070.03720.43
5.6.50.0000.05020.35
5.6.40.0070.08020.44
5.6.30.0070.07720.45
5.6.20.0230.05720.44
5.6.10.0100.08020.35
5.6.00.0030.08020.26
5.5.380.0030.04320.38
5.5.370.0100.04020.52
5.5.360.0100.07020.38
5.5.350.0030.07320.43
5.5.340.0070.07020.93
5.5.330.0030.05020.82
5.5.320.0070.08020.84
5.5.310.0070.06720.91
5.5.300.0100.06020.88
5.5.290.0030.09320.89
5.5.280.0070.05020.93
5.5.270.0100.07320.73
5.5.260.0130.09020.86
5.5.250.0070.07720.65
5.5.240.0100.07020.23
5.5.230.0030.05720.21
5.5.220.0130.06720.14
5.5.210.0100.06320.19
5.5.200.0100.06020.16
5.5.190.0130.06320.25
5.5.180.0070.08320.30
5.5.160.0070.06320.09
5.5.150.0070.07320.12
5.5.140.0030.05020.23
5.5.130.0070.04020.17
5.5.120.0200.06320.09
5.5.110.0130.06020.25
5.5.100.0130.04020.13
5.5.90.0070.07720.16
5.5.80.0070.07020.08
5.5.70.0070.04320.15
5.5.60.0030.04020.10
5.5.50.0030.04320.10
5.5.40.0100.06320.06
5.5.30.0000.08020.18
5.5.20.0030.05720.06
5.5.10.0070.06320.13
5.5.00.0030.08320.11
5.4.450.0070.04319.31
5.4.440.0100.08019.40
5.4.430.0130.07019.48
5.4.420.0070.06019.37
5.4.410.0130.07319.27
5.4.400.0070.07018.98
5.4.390.0030.04718.95
5.4.380.0170.06318.98
5.4.370.0030.04719.04
5.4.360.0100.07019.06
5.4.350.0070.06718.95
5.4.340.0100.07718.82
5.4.320.0030.06319.15
5.4.310.0070.04019.15
5.4.300.0030.05019.02
5.4.290.0230.06018.90
5.4.280.0100.06719.10
5.4.270.0230.06319.11
5.4.260.0000.07719.13
5.4.250.0030.04319.09
5.4.240.0070.07718.99
5.4.230.0030.04018.96
5.4.220.0100.06719.04
5.4.210.0100.03318.94
5.4.200.0100.07719.17
5.4.190.0000.05019.13
5.4.180.0070.07318.80
5.4.170.0030.07319.09
5.4.160.0200.06019.05
5.4.150.0100.03018.96
5.4.140.0030.06316.30
5.4.130.0070.06016.23
5.4.120.0070.03316.07
5.4.110.0070.06016.44
5.4.100.0070.07316.21
5.4.90.0030.07316.23
5.4.80.0100.06316.31
5.4.70.0100.04316.31
5.4.60.0030.06316.36
5.4.50.0030.05716.27
5.4.40.0070.07716.43
5.4.30.0130.06716.28
5.4.20.0100.07316.40
5.4.10.0130.06316.39
5.4.00.0170.05715.68
5.3.290.0030.06714.66
5.3.280.0000.08014.60
5.3.270.0030.04014.47
5.3.260.0000.05014.61
5.3.250.0030.05014.46
5.3.240.0070.07014.58
5.3.230.0170.06014.47
5.3.220.0170.06314.43
5.3.210.0070.03314.54
5.3.200.0030.05314.54
5.3.190.0170.06314.58
5.3.180.0070.07314.56
5.3.170.0100.06014.52
5.3.160.0100.07014.58
5.3.150.0030.07714.56
5.3.140.0070.04314.57
5.3.130.0000.04314.42
5.3.120.0070.07014.56
5.3.110.0030.05714.55
5.3.100.0000.05714.01
5.3.90.0070.06314.02
5.3.80.0100.07313.96
5.3.70.0030.06713.89
5.3.60.0030.07713.98
5.3.50.0030.07313.95
5.3.40.0070.05713.87
5.3.30.0030.04313.77
5.3.20.0130.06713.66
5.3.10.0100.05713.58
5.3.00.0030.07013.64
5.2.170.0100.04711.15
5.2.160.0000.04311.22
5.2.150.0000.03711.23
5.2.140.0000.06011.15
5.2.130.0070.05711.18
5.2.120.0030.02711.18
5.2.110.0000.03711.06
5.2.100.0030.06311.12
5.2.90.0070.05310.96
5.2.80.0100.05711.06
5.2.70.0030.04310.97
5.2.60.0100.04711.11
5.2.50.0030.03011.04
5.2.40.0030.06310.88
5.2.30.0000.04710.99
5.2.20.0070.03010.90
5.2.10.0100.04310.78
5.2.00.0100.05310.79
5.1.60.0070.03710.01
5.1.50.0030.05710.01
5.1.40.0030.0539.99
5.1.30.0070.05310.41
5.1.20.0000.06010.43
5.1.10.0070.05010.11
5.1.00.0030.04310.07
5.0.50.0030.0508.65
5.0.40.0030.0438.51
5.0.30.0070.0538.51
5.0.20.0030.0278.51
5.0.10.0070.0308.51
5.0.00.0070.0478.51
4.4.90.0030.0338.51
4.4.80.0070.0138.51
4.4.70.0030.0238.51
4.4.60.0000.0338.51
4.4.50.0000.0278.51
4.4.40.0000.0508.51
4.4.30.0030.0338.51
4.4.20.0030.0178.51
4.4.10.0100.0108.51
4.4.00.0030.0278.51
4.3.110.0070.0308.51
4.3.100.0030.0178.51
4.3.90.0030.0308.51
4.3.80.0030.0308.51
4.3.70.0070.0208.51
4.3.60.0030.0278.51
4.3.50.0000.0238.51
4.3.40.0000.0478.51
4.3.30.0000.0378.51
4.3.20.0030.0378.51
4.3.10.0070.0278.51
4.3.00.0000.0338.51

preferences:
44.71 ms | 401 KiB | 5 Q