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 hereH4R34NC-5001nc'; $re1='.*?'; # Non-greedy match on filler $re41='([a-z])'; # Any Single Word Character (Not Whitespace) 1 $re42='([a-z])'; # Any Single Word Character (Not Whitespace) 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.$re42.$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]; $d4=$matches[7][0]; $d5=$matches[8][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.0110.00418.98
8.3.30.0100.00319.13
8.3.20.0080.00020.18
8.3.10.0040.00423.62
8.3.00.0040.00419.29
8.2.170.0210.00022.96
8.2.160.0060.00920.35
8.2.150.0070.01024.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0090.00022.08
8.2.110.0110.00022.27
8.2.100.0080.00318.22
8.2.90.0100.00019.21
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0000.00818.07
8.2.40.0030.00619.93
8.2.30.0000.00718.27
8.2.20.0040.00417.99
8.2.10.0000.00718.25
8.2.00.0000.00717.92
8.1.270.0040.00423.96
8.1.260.0100.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.79
8.1.230.0060.00619.09
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.01017.50
8.1.190.0030.00517.48
8.1.180.0070.00319.14
8.1.170.0080.00018.79
8.1.160.0070.00022.04
8.1.150.0040.00418.82
8.1.140.0050.00317.64
8.1.130.0070.00017.86
8.1.120.0040.00417.66
8.1.110.0030.00517.59
8.1.100.0080.00017.58
8.1.90.0050.00317.64
8.1.80.0000.00717.68
8.1.70.0040.00417.57
8.1.60.0040.00417.75
8.1.50.0050.00317.59
8.1.40.0000.00717.67
8.1.30.0080.00017.75
8.1.20.0000.00717.79
8.1.10.0030.00517.68
8.1.00.0040.00417.68
8.0.300.0070.00018.77
8.0.290.0040.00417.30
8.0.280.0070.00018.56
8.0.270.0030.00317.19
8.0.260.0000.00617.31
8.0.250.0040.00417.20
8.0.240.0040.00417.16
8.0.230.0070.00017.12
8.0.220.0040.00416.96
8.0.210.0000.01017.07
8.0.200.0000.00617.14
8.0.190.0000.00717.10
8.0.180.0000.00717.07
8.0.170.0000.00816.98
8.0.160.0040.00417.13
8.0.150.0030.00317.00
8.0.140.0060.00616.87
8.0.130.0030.00313.48
8.0.120.0000.00816.95
8.0.110.0030.00516.94
8.0.100.0040.00416.97
8.0.90.0070.00016.95
8.0.80.0080.01117.02
8.0.70.0040.00417.03
8.0.60.0000.00717.08
8.0.50.0050.00317.05
8.0.30.0090.01017.29
8.0.20.0150.00317.40
8.0.10.0040.00417.02
8.0.00.0120.00717.10
7.4.330.0000.00515.23
7.4.320.0000.00616.61
7.4.300.0000.00616.85
7.4.290.0070.00016.82
7.4.280.0080.00016.88
7.4.270.0030.00316.73
7.4.260.0030.00316.67
7.4.250.0040.00416.82
7.4.240.0050.00316.86
7.4.230.0000.00816.81
7.4.220.0150.00916.86
7.4.210.0080.00816.76
7.4.200.0050.00316.57
7.4.190.0070.00016.83
7.4.160.0100.00316.44
7.4.150.0100.00717.40
7.4.140.0100.00717.86
7.4.130.0080.01016.76
7.4.120.0120.00716.79
7.4.110.0100.01016.83
7.4.100.0120.00616.76
7.4.90.0170.00016.64
7.4.80.0090.01219.39
7.4.70.0140.00716.80
7.4.60.0130.00416.70
7.4.50.0070.00016.66
7.4.40.0070.01516.54
7.4.30.0070.01016.67
7.4.00.0060.00315.03
7.3.330.0020.00213.19
7.3.320.0000.00613.36
7.3.310.0000.00716.49
7.3.300.0040.00416.38
7.3.290.0070.01116.48
7.3.280.0120.00616.46
7.3.270.0130.00617.40
7.3.260.0090.01016.61
7.3.250.0090.01016.51
7.3.240.0140.00316.48
7.3.230.0100.00716.66
7.3.210.0100.01016.60
7.3.200.0140.00919.39
7.3.190.0090.00916.46
7.3.180.0150.00616.43
7.3.170.0090.00616.57
7.3.160.0100.00616.54
7.3.120.0030.00714.99
7.2.330.0150.00316.80
7.2.320.0130.00916.77
7.2.310.0120.01216.77
7.2.300.0150.00316.68
7.2.290.0160.00716.86
7.2.00.0110.00418.97
7.1.100.0090.00318.38
7.1.70.0000.00917.21
7.1.60.0100.01619.46
7.1.50.0140.01017.16
7.1.00.0030.07722.48
7.0.200.0000.00716.83
7.0.140.0000.07322.08
7.0.100.0100.07019.91
7.0.90.0130.04319.89
7.0.80.0030.04719.93
7.0.70.0100.04019.95
7.0.60.0070.03719.88
7.0.50.0230.03020.25
7.0.40.0100.03720.13
7.0.30.0030.04320.08
7.0.20.0100.03720.14
7.0.10.0070.04720.07
7.0.00.0170.06720.09
5.6.280.0100.08320.93
5.6.250.0070.04720.73
5.6.240.0070.05020.67
5.6.230.0030.05320.57
5.6.220.0000.04720.58
5.6.210.0030.04020.56
5.6.200.0030.03721.05
5.6.190.0100.06720.96
5.6.180.0100.03321.17
5.6.170.0100.06321.12
5.6.160.0100.08021.09
5.6.150.0000.04320.96
5.6.140.0000.04721.10
5.6.130.0000.04721.02
5.6.120.0070.04021.05
5.6.110.0030.04321.04
5.6.100.0070.03721.01
5.6.90.0030.04320.95
5.6.80.0030.04720.47
5.6.70.0030.04020.41
5.6.60.0070.03020.33
5.6.50.0030.03720.41
5.6.40.0000.04320.37
5.6.30.0030.04020.37
5.6.20.0030.03320.43
5.6.10.0030.03320.32
5.6.00.0000.04320.30
5.5.380.0070.06720.57
5.5.370.0030.09020.37
5.5.360.0030.04320.39
5.5.350.0070.04320.43
5.5.340.0030.04020.90
5.5.330.0070.04020.82
5.5.320.0030.04320.85
5.5.310.0070.04020.78
5.5.300.0000.04320.89
5.5.290.0100.03720.75
5.5.280.0030.04320.90
5.5.270.0030.04320.91
5.5.260.0030.04720.79
5.5.250.0070.03720.65
5.5.240.0070.03720.16
5.5.230.0030.04720.28
5.5.220.0000.03320.17
5.5.210.0030.03320.27
5.5.200.0000.03720.12
5.5.190.0030.03719.97
5.5.180.0030.03320.26
5.5.160.0030.03320.20
5.5.150.0200.02020.28
5.5.140.0030.03320.19
5.5.130.0030.03720.25
5.5.120.0000.04020.14
5.5.110.0030.03720.13
5.5.100.0000.03720.13
5.5.90.0270.05720.16
5.5.80.0130.06719.93
5.5.70.0030.08320.09
5.5.60.0030.03720.04
5.5.50.0130.06019.97
5.5.40.0130.04720.08
5.5.30.0000.08019.93
5.5.20.0000.08720.13
5.5.10.0100.06020.07
5.5.00.0000.04320.13
5.4.450.0100.03319.41
5.4.440.0030.04019.46
5.4.430.0030.04319.35
5.4.420.0070.03319.13
5.4.410.0100.03319.24
5.4.400.0100.03319.04
5.4.390.0030.03718.90
5.4.380.0000.03719.07
5.4.370.0030.04319.16
5.4.360.0000.03719.10
5.4.350.0030.03718.95
5.4.340.0000.03318.96
5.4.320.0030.04019.18
5.4.310.0000.04019.07
5.4.300.0000.03319.22
5.4.290.0030.03719.14
5.4.280.0000.03719.09
5.4.270.0130.02719.03
5.4.260.0030.06318.97
5.4.250.0030.03718.77
5.4.240.0100.07019.14
5.4.230.0070.03319.07
5.4.220.0030.06019.05
5.4.210.0100.06319.11
5.4.200.0100.07019.05
5.4.190.0200.06719.10
5.4.180.0070.06018.96
5.4.170.0000.08719.04
5.4.160.0070.08319.07
5.4.150.0070.08019.09
5.4.140.0030.07716.15
5.4.130.0130.06716.23
5.4.120.0100.03016.08
5.4.110.0070.07016.23
5.4.100.0100.06316.45
5.4.90.0030.07316.25
5.4.80.0030.04716.25
5.4.70.0000.07316.34
5.4.60.0100.07016.23
5.4.50.0130.06316.30
5.4.40.0000.07716.33
5.4.30.0030.07016.28
5.4.20.0100.03016.39
5.4.10.0030.07016.39
5.4.00.0070.04015.69
5.3.290.0000.03314.54
5.3.280.0070.07014.46
5.3.270.0030.04314.48
5.3.260.0100.07714.59
5.3.250.0130.06714.60
5.3.240.0030.07714.58
5.3.230.0030.07714.46
5.3.220.0100.05714.44
5.3.210.0070.07714.41
5.3.200.0030.04714.56
5.3.190.0030.04714.44
5.3.180.0070.06314.43
5.3.170.0070.04014.58
5.3.160.0030.07714.48
5.3.150.0130.06314.53
5.3.140.0000.06714.53
5.3.130.0030.07014.50
5.3.120.0130.06314.53
5.3.110.0100.05714.53
5.3.100.0030.04714.00
5.3.90.0070.04013.99
5.3.80.0070.03713.94
5.3.70.0030.04313.98
5.3.60.0070.07013.95
5.3.50.0030.05013.88
5.3.40.0100.03713.81
5.3.30.0030.05313.93
5.3.20.0000.03713.66
5.3.10.0030.06313.66
5.3.00.0170.05313.42
5.2.170.0070.05711.10
5.2.160.0100.06011.16
5.2.150.0030.03011.00
5.2.140.0000.03011.02
5.2.130.0000.03011.11
5.2.120.0070.05711.03
5.2.110.0030.03311.09
5.2.100.0070.04011.06
5.2.90.0070.04711.14
5.2.80.0070.05310.90
5.2.70.0070.06311.07
5.2.60.0070.06310.91
5.2.50.0070.03311.10
5.2.40.0100.05310.86
5.2.30.0030.06310.97
5.2.20.0170.05311.04
5.2.10.0000.06310.81
5.2.00.0100.04310.76
5.1.60.0030.05310.03
5.1.50.0000.05310.03
5.1.40.0070.04010.03
5.1.30.0030.04010.42
5.1.20.0000.03310.41
5.1.10.0100.04310.03
5.1.00.0100.04010.11
5.0.50.0030.02310.03
5.0.40.0000.04010.03
5.0.30.0070.06710.03
5.0.20.0070.04010.03
5.0.10.0000.04010.03
5.0.00.0000.06310.03
4.4.90.0000.03310.03
4.4.80.0000.02310.03
4.4.70.0070.03010.03
4.4.60.0030.03310.03
4.4.50.0030.01710.03
4.4.40.0000.05010.03
4.4.30.0000.02710.03
4.4.20.0100.03010.03
4.4.10.0070.02310.03
4.4.00.0000.05710.03
4.3.110.0000.01710.03
4.3.100.0000.03010.03
4.3.90.0000.03310.03
4.3.80.0000.03010.03
4.3.70.0030.03010.03
4.3.60.0000.03710.03
4.3.50.0000.02710.03
4.3.40.0000.04710.03
4.3.30.0000.01710.03
4.3.20.0100.02310.03
4.3.10.0000.03010.03
4.3.00.0030.03310.03

preferences:
36.08 ms | 400 KiB | 5 Q