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.$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]; 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.60.0140.00717.00
8.3.50.0090.01222.09
8.3.40.0040.01119.27
8.3.30.0110.00419.04
8.3.20.0040.00420.34
8.3.10.0080.00023.53
8.3.00.0040.00419.75
8.2.180.0120.00418.57
8.2.170.0120.00322.96
8.2.160.0070.01120.52
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0050.00322.19
8.2.110.0030.00620.35
8.2.100.0070.00417.91
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0030.00617.99
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0090.00020.01
8.2.30.0040.00418.25
8.2.20.0040.00418.00
8.2.10.0050.00318.06
8.2.00.0040.00417.86
8.1.280.0090.00625.92
8.1.270.0080.00423.96
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0030.01022.12
8.1.230.0090.00322.71
8.1.220.0000.00817.80
8.1.210.0050.00318.77
8.1.200.0030.00617.47
8.1.190.0030.00517.48
8.1.180.0030.00619.26
8.1.170.0050.00318.89
8.1.160.0000.00722.06
8.1.150.0030.00618.83
8.1.140.0000.00717.61
8.1.130.0030.00317.89
8.1.120.0040.00417.63
8.1.110.0060.00317.59
8.1.100.0040.00417.61
8.1.90.0030.00517.63
8.1.80.0040.00417.65
8.1.70.0040.00417.52
8.1.60.0060.00317.79
8.1.50.0030.00517.70
8.1.40.0060.00317.70
8.1.30.0000.00817.77
8.1.20.0050.00217.77
8.1.10.0040.00417.75
8.1.00.0040.00417.59
8.0.300.0040.00418.77
8.0.290.0030.00516.75
8.0.280.0070.00018.50
8.0.270.0030.00417.29
8.0.260.0030.00317.31
8.0.250.0030.00417.19
8.0.240.0030.00317.24
8.0.230.0000.00717.19
8.0.220.0070.00017.21
8.0.210.0080.00017.09
8.0.200.0040.00417.06
8.0.190.0030.00617.20
8.0.180.0050.00317.18
8.0.170.0000.00817.07
8.0.160.0040.00417.13
8.0.150.0000.00717.05
8.0.140.0000.01017.07
8.0.130.0000.00613.52
8.0.120.0030.00617.11
8.0.110.0050.00317.08
8.0.100.0040.00416.94
8.0.90.0050.00317.05
8.0.80.0060.00917.17
8.0.70.0040.00417.14
8.0.60.0050.00216.92
8.0.50.0040.00417.16
8.0.30.0130.00717.32
8.0.20.0110.00917.49
8.0.10.0050.00217.07
8.0.00.0110.00817.00
7.4.330.0000.00515.01
7.4.320.0030.00316.78
7.4.300.0030.00316.77
7.4.290.0000.00716.73
7.4.280.0040.00416.79
7.4.270.0040.00416.74
7.4.260.0050.00316.72
7.4.250.0080.00016.72
7.4.240.0070.00016.85
7.4.230.0070.00016.69
7.4.220.0150.00316.75
7.4.210.0020.01116.77
7.4.200.0050.00316.59
7.4.190.0030.00416.83
7.4.160.0030.01316.85
7.4.150.0100.00717.40
7.4.140.0080.00817.86
7.4.130.0130.01216.76
7.4.120.0080.01216.66
7.4.110.0170.00716.57
7.4.100.0070.01316.83
7.4.90.0080.01116.64
7.4.80.0090.01219.39
7.4.70.0130.01316.85
7.4.60.0120.00916.49
7.4.50.0040.00016.62
7.4.40.0160.00016.62
7.4.30.0070.01016.83
7.4.00.0060.01015.13
7.3.330.0000.00513.32
7.3.320.0030.00313.41
7.3.310.0000.00716.68
7.3.300.0040.00416.57
7.3.290.0100.00716.61
7.3.280.0080.00916.58
7.3.270.0100.00717.40
7.3.260.0070.01016.80
7.3.250.0090.00916.65
7.3.240.0030.01316.76
7.3.230.0070.01016.53
7.3.210.0060.01316.46
7.3.200.0070.01016.84
7.3.190.0040.01416.83
7.3.180.0120.00616.86
7.3.170.0160.00316.65
7.3.160.0080.00816.59
7.3.120.0090.00915.04
7.3.10.0100.00616.59
7.3.00.0070.01016.55
7.2.330.0070.01016.70
7.2.320.0070.01416.85
7.2.310.0130.01016.68
7.2.300.0160.00016.91
7.2.290.0130.01017.07
7.2.130.0170.00516.77
7.2.120.0220.00416.57
7.2.110.0200.00416.55
7.2.100.0090.00916.63
7.2.90.0170.01116.91
7.2.80.0160.00816.98
7.2.70.0130.01116.52
7.2.60.0100.00716.88
7.2.50.0190.00316.88
7.2.40.0090.01416.68
7.2.30.0140.00616.86
7.2.20.0060.01016.67
7.2.10.0040.01416.69
7.2.00.0060.01018.29
7.1.250.0100.00715.84
7.1.200.0070.00715.71
7.1.100.0040.00718.47
7.1.70.0060.00317.46
7.1.60.0060.01919.46
7.1.50.0090.01617.16
7.1.00.0030.07722.49
7.0.200.0050.00216.96
7.0.140.0030.07022.02
7.0.100.0070.07319.95
7.0.90.0200.09019.96
7.0.80.0070.08019.86
7.0.70.0170.05020.14
7.0.60.0030.05720.07
7.0.50.0100.07320.29
7.0.40.0030.07320.00
7.0.30.0130.07719.99
7.0.20.0130.07720.09
7.0.10.0100.08320.14
7.0.00.0000.07320.14
5.6.280.0030.07020.93
5.6.250.0100.06720.76
5.6.240.0030.05020.55
5.6.230.0100.04020.75
5.6.220.0070.05320.68
5.6.210.0070.04720.56
5.6.200.0070.08321.12
5.6.190.0100.03321.18
5.6.180.0130.07321.05
5.6.170.0000.04720.95
5.6.160.0100.08021.09
5.6.150.0100.08321.04
5.6.140.0000.08721.06
5.6.130.0030.04321.11
5.6.120.0100.07320.94
5.6.110.0100.03320.95
5.6.100.0130.07721.10
5.6.90.0100.03320.89
5.6.80.0130.07320.52
5.6.70.0030.03720.36
5.6.60.0100.07720.42
5.6.50.0170.07020.41
5.6.40.0070.04020.33
5.6.30.0130.08020.38
5.6.20.0030.04720.43
5.6.10.0130.06320.40
5.6.00.0130.06020.37
5.5.380.0030.09020.58
5.5.370.0030.05720.46
5.5.360.0000.05320.38
5.5.350.0070.05020.46
5.5.340.0070.04020.87
5.5.330.0030.07720.84
5.5.320.0030.08020.93
5.5.310.0030.08320.89
5.5.300.0070.03720.89
5.5.290.0030.08020.89
5.5.280.0030.07720.76
5.5.270.0130.06720.75
5.5.260.0030.04020.88
5.5.250.0100.04020.65
5.5.240.0100.06020.23
5.5.230.0070.08720.28
5.5.220.0030.05320.14
5.5.210.0070.06320.27
5.5.200.0000.08320.12
5.5.190.0130.07320.09
5.5.180.0100.07320.28
5.5.160.0030.08320.19
5.5.150.0170.06720.24
5.5.140.0370.03320.23
5.5.130.0170.06320.12
5.5.120.0070.05720.12
5.5.110.0070.07320.21
5.5.100.0100.07020.16
5.5.90.0070.05720.01
5.5.80.0230.06020.08
5.5.70.0070.08020.16
5.5.60.0100.07020.16
5.5.50.0030.04020.13
5.5.40.0100.05019.96
5.5.30.0070.07720.05
5.5.20.0030.05720.05
5.5.10.0170.03720.05
5.5.00.0070.05720.12
5.4.450.0030.04319.14
5.4.440.0030.03719.35
5.4.430.0030.06719.35
5.4.420.0100.07019.44
5.4.410.0000.06719.25
5.4.400.0030.08018.79
5.4.390.0070.08019.15
5.4.380.0000.07319.07
5.4.370.0000.07019.13
5.4.360.0130.07318.82
5.4.350.0070.05018.81
5.4.340.0070.04319.03
5.4.320.0100.04019.06
5.4.310.0030.08018.82
5.4.300.0070.07719.12
5.4.290.0030.04719.06
5.4.280.0070.05019.23
5.4.270.0070.03719.22
5.4.260.0030.05319.14
5.4.250.0130.06318.96
5.4.240.0100.04319.02
5.4.230.0070.06719.07
5.4.220.0100.05718.78
5.4.210.0030.08719.11
5.4.200.0070.04318.95
5.4.190.0070.07718.75
5.4.180.0100.07019.13
5.4.170.0070.08019.13
5.4.160.0100.06719.10
5.4.150.0000.04318.83
5.4.140.0000.04016.33
5.4.130.0030.07016.32
5.4.120.0030.07716.26
5.4.110.0070.07016.34
5.4.100.0130.06316.26
5.4.90.0000.07016.31
5.4.80.0200.06016.21
5.4.70.0030.04316.39
5.4.60.0070.07316.40
5.4.50.0000.07016.21
5.4.40.0070.04016.23
5.4.30.0100.07716.22
5.4.20.0130.05316.34
5.4.10.0170.06716.17
5.4.00.0070.07015.72
5.3.290.0030.08014.67
5.3.280.0100.04014.44
5.3.270.0100.05314.61
5.3.260.0030.08014.60
5.3.250.0070.04014.62
5.3.240.0070.07714.61
5.3.230.0030.04714.61
5.3.220.0030.07314.57
5.3.210.0070.07014.52
5.3.200.0100.06014.59
5.3.190.0000.07314.54
5.3.180.0100.03714.52
5.3.170.0070.07714.58
5.3.160.0030.08014.58
5.3.150.0070.08014.50
5.3.140.0030.08314.56
5.3.130.0030.07314.54
5.3.120.0070.04314.52
5.3.110.0100.07014.38
5.3.100.0070.08013.90
5.3.90.0130.06313.86
5.3.80.0030.05014.00
5.3.70.0200.06314.03
5.3.60.0100.08014.00
5.3.50.0070.05713.95
5.3.40.0130.04713.87
5.3.30.0070.06313.77
5.3.20.0000.08013.58
5.3.10.0030.03713.44
5.3.00.0070.06013.61
5.2.170.0100.02311.10
5.2.160.0030.03311.20
5.2.150.0070.06010.95
5.2.140.0030.04010.99
5.2.130.0100.02311.11
5.2.120.0070.04011.13
5.2.110.0070.02311.12
5.2.100.0070.03011.11
5.2.90.0030.04011.16
5.2.80.0030.06010.97
5.2.70.0130.05711.10
5.2.60.0030.03311.05
5.2.50.0030.06310.86
5.2.40.0030.06710.80
5.2.30.0100.06011.06
5.2.20.0100.06310.84
5.2.10.0070.03010.94
5.2.00.0030.06710.65
5.1.60.0030.05710.00
5.1.50.0030.0379.99
5.1.40.0030.03310.02
5.1.30.0070.02710.37
5.1.20.0100.05010.22
5.1.10.0070.05010.11
5.1.00.0030.0539.96
5.0.50.0030.0439.38
5.0.40.0100.0379.38
5.0.30.0100.0539.38
5.0.20.0030.0439.38
5.0.10.0070.0409.38
5.0.00.0070.0639.38
4.4.90.0030.0309.38
4.4.80.0070.0309.38
4.4.70.0000.0379.38
4.4.60.0100.0279.38
4.4.50.0030.0379.38
4.4.40.0000.0479.38
4.4.30.0000.0379.38
4.4.20.0170.0139.38
4.4.10.0000.0409.38
4.4.00.0000.0339.38
4.3.110.0030.0339.38
4.3.100.0000.0379.38
4.3.90.0070.0279.38
4.3.80.0070.0479.38
4.3.70.0000.0379.38
4.3.60.0030.0179.38
4.3.50.0130.0239.38
4.3.40.0000.0539.38
4.3.30.0000.0379.38
4.3.20.0000.0179.38
4.3.10.0030.0309.38
4.3.00.0000.0209.38

preferences:
44.2 ms | 401 KiB | 5 Q