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\\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[4][0]; $d3=$matches[5][0]; $d4=$matches[6][0]; $d5=$matches[7][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.0090.00916.75
8.3.50.0130.00522.09
8.3.40.0120.00319.07
8.3.30.0060.00919.08
8.3.20.0000.00720.34
8.3.10.0050.00323.61
8.3.00.0030.00519.50
8.2.180.0040.01118.54
8.2.170.0220.00022.96
8.2.160.0060.01220.57
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0040.00422.42
8.2.110.0090.00020.52
8.2.100.0090.00320.01
8.2.90.0000.00819.36
8.2.80.0050.00518.00
8.2.70.0050.00517.85
8.2.60.0060.00318.03
8.2.50.0000.00818.07
8.2.40.0030.00619.99
8.2.30.0040.00418.09
8.2.20.0050.00318.01
8.2.10.0000.00718.03
8.2.00.0040.00418.07
8.1.280.0120.00325.92
8.1.270.0040.00424.04
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00320.82
8.1.230.0070.00417.64
8.1.220.0050.00317.78
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.48
8.1.180.0030.00719.14
8.1.170.0030.00518.77
8.1.160.0050.00221.98
8.1.150.0040.00418.72
8.1.140.0050.00217.53
8.1.130.0000.00817.91
8.1.120.0040.00417.65
8.1.110.0000.00717.57
8.1.100.0040.00417.59
8.1.90.0070.00017.65
8.1.80.0040.00417.52
8.1.70.0000.00717.63
8.1.60.0000.00817.77
8.1.50.0050.00317.61
8.1.40.0000.00717.56
8.1.30.0000.00817.75
8.1.20.0040.00417.77
8.1.10.0050.00217.71
8.1.00.0000.00817.67
8.0.300.0080.00018.77
8.0.290.0000.00716.84
8.0.280.0000.00718.40
8.0.270.0000.00717.30
8.0.260.0040.00417.29
8.0.250.0040.00417.15
8.0.240.0000.00717.18
8.0.230.0030.00317.15
8.0.220.0050.00217.00
8.0.210.0080.00017.09
8.0.200.0000.00617.07
8.0.190.0080.00017.16
8.0.180.0070.00017.17
8.0.170.0090.00017.11
8.0.160.0040.00416.98
8.0.150.0000.00717.03
8.0.140.0060.00316.89
8.0.130.0030.00313.50
8.0.120.0060.00317.11
8.0.110.0070.00017.16
8.0.100.0040.00417.00
8.0.90.0070.00017.14
8.0.80.0060.00917.06
8.0.70.0000.01016.93
8.0.60.0040.00416.93
8.0.50.0040.00417.18
8.0.30.0150.00717.20
8.0.20.0160.00717.43
8.0.10.0040.00417.19
8.0.00.0100.00917.00
7.4.330.0000.00515.07
7.4.320.0060.00016.71
7.4.300.0030.00316.82
7.4.290.0000.00716.82
7.4.280.0000.00716.86
7.4.270.0040.00416.71
7.4.260.0030.00316.80
7.4.250.0000.00816.81
7.4.240.0050.00216.80
7.4.230.0030.00316.75
7.4.220.0140.00416.70
7.4.210.0080.00716.77
7.4.200.0030.00516.63
7.4.190.0050.00316.57
7.4.160.0080.00816.80
7.4.150.0100.00917.40
7.4.140.0120.00517.86
7.4.130.0100.00916.72
7.4.120.0070.01016.69
7.4.110.0080.01416.75
7.4.100.0110.00716.84
7.4.90.0070.01116.70
7.4.80.0100.01319.39
7.4.70.0120.01216.53
7.4.60.0050.01316.59
7.4.50.0050.00016.53
7.4.40.0110.00716.73
7.4.30.0130.00716.91
7.4.00.0100.00315.16
7.3.330.0000.00513.37
7.3.320.0000.00513.38
7.3.310.0020.00516.61
7.3.300.0030.00316.58
7.3.290.0070.00716.63
7.3.280.0090.01016.57
7.3.270.0000.01717.40
7.3.260.0100.00716.49
7.3.250.0100.00816.58
7.3.240.0090.00816.79
7.3.230.0060.01116.63
7.3.210.0130.00316.52
7.3.200.0120.00619.39
7.3.190.0140.00316.71
7.3.180.0170.00016.46
7.3.170.0030.01316.64
7.3.160.0140.00716.50
7.3.120.0000.01515.18
7.2.330.0070.01116.95
7.2.320.0110.00816.87
7.2.310.0120.00616.73
7.2.300.0120.01116.89
7.2.290.0140.00416.62
7.2.60.0080.00817.10
7.2.00.0070.00719.63
7.1.200.0070.00316.01
7.1.100.0030.01318.28
7.1.70.0040.01817.42
7.1.60.0040.01919.46
7.1.50.0070.01516.98
7.1.00.0000.08022.32
7.0.200.0000.00717.00
7.0.140.0000.07722.08
7.0.100.0070.07019.96
7.0.90.0030.06019.92
7.0.80.0070.04719.89
7.0.70.0100.06719.92
7.0.60.0030.04319.96
7.0.50.0130.03320.20
7.0.40.0030.05020.19
7.0.30.0030.04020.05
7.0.20.0130.03720.09
7.0.10.0070.07720.09
7.0.00.0030.04020.00
5.6.280.0100.06720.98
5.6.250.0100.07020.57
5.6.240.0070.04720.63
5.6.230.0030.05720.57
5.6.220.0030.05320.77
5.6.210.0000.04320.64
5.6.200.0030.05321.05
5.6.190.0030.04720.98
5.6.180.0100.03321.17
5.6.170.0070.04021.06
5.6.160.0070.06321.08
5.6.150.0070.03721.11
5.6.140.0070.03721.07
5.6.130.0030.04021.11
5.6.120.0100.08021.01
5.6.110.0030.05721.06
5.6.100.0270.06321.07
5.6.90.0100.07720.97
5.6.80.0100.07720.33
5.6.70.0070.07320.46
5.6.60.0130.07320.30
5.6.50.0170.03720.35
5.6.40.0070.07320.36
5.6.30.0100.05320.48
5.6.20.0030.06320.46
5.6.10.0070.08020.46
5.6.00.0130.07320.36
5.5.380.0000.04720.55
5.5.370.0000.04320.36
5.5.360.0100.03320.36
5.5.350.0030.05720.41
5.5.340.0070.06720.93
5.5.330.0100.04020.93
5.5.320.0000.04720.79
5.5.310.0100.03720.87
5.5.300.0070.03720.91
5.5.290.0100.03720.86
5.5.280.0070.05720.80
5.5.270.0130.08020.60
5.5.260.0130.08020.72
5.5.250.0100.08320.45
5.5.240.0070.07720.22
5.5.230.0130.07720.25
5.5.220.0030.08720.17
5.5.210.0030.08020.23
5.5.200.0070.07320.13
5.5.190.0100.07020.09
5.5.180.0000.08720.28
5.5.160.0070.08720.21
5.5.150.0100.07720.23
5.5.140.0070.07720.25
5.5.130.0130.06319.99
5.5.120.0070.07320.17
5.5.110.0130.05320.12
5.5.100.0000.08320.17
5.5.90.0100.07319.98
5.5.80.0070.08020.14
5.5.70.0100.07719.96
5.5.60.0070.07319.97
5.5.50.0100.07319.93
5.5.40.0070.07720.05
5.5.30.0030.05720.14
5.5.20.0070.05020.08
5.5.10.0100.07020.09
5.5.00.0130.06320.07
5.4.450.0100.05019.47
5.4.440.0100.06319.36
5.4.430.0130.07019.22
5.4.420.0100.06019.35
5.4.410.0070.07319.23
5.4.400.0030.07318.81
5.4.390.0100.07318.81
5.4.380.0130.06719.13
5.4.370.0130.07319.14
5.4.360.0070.07718.97
5.4.350.0070.07019.03
5.4.340.0030.08319.13
5.4.320.0030.08319.04
5.4.310.0170.06718.96
5.4.300.0070.08019.03
5.4.290.0070.04319.24
5.4.280.0100.07019.03
5.4.270.0000.08019.14
5.4.260.0070.07318.78
5.4.250.0030.07718.96
5.4.240.0130.06319.23
5.4.230.0070.04319.13
5.4.220.0070.04719.13
5.4.210.0100.08019.02
5.4.200.0030.08018.89
5.4.190.0130.05318.97
5.4.180.0000.04719.22
5.4.170.0100.06719.11
5.4.160.0100.07019.13
5.4.150.0100.07019.04
5.4.140.0030.05716.28
5.4.130.0100.06716.34
5.4.120.0070.07016.39
5.4.110.0100.04016.25
5.4.100.0130.07016.44
5.4.90.0000.08016.31
5.4.80.0170.06016.22
5.4.70.0100.06016.24
5.4.60.0070.07316.36
5.4.50.0030.07716.28
5.4.40.0100.06316.30
5.4.30.0070.06716.33
5.4.20.0130.05716.30
5.4.10.0070.07716.32
5.4.00.0070.07315.81
5.3.290.0070.07314.65
5.3.280.0030.08014.46
5.3.270.0100.06314.60
5.3.260.0170.06014.62
5.3.250.0030.07314.47
5.3.240.0070.07314.47
5.3.230.0100.07714.42
5.3.220.0030.04714.42
5.3.210.0000.07714.54
5.3.200.0070.08014.57
5.3.190.0070.07714.51
5.3.180.0030.07314.43
5.3.170.0070.07314.58
5.3.160.0030.08014.55
5.3.150.0070.07314.48
5.3.140.0100.06014.41
5.3.130.0070.08014.52
5.3.120.0030.06714.55
5.3.110.0200.03314.47
5.3.100.0100.06314.04
5.3.90.0070.04313.98
5.3.80.0130.07013.98
5.3.70.0100.07013.98
5.3.60.0070.05013.97
5.3.50.0070.07313.80
5.3.40.0130.06713.81
5.3.30.0100.04313.92
5.3.20.0170.06713.66
5.3.10.0000.04713.57
5.3.00.0100.07013.65
5.2.170.0070.06311.11
5.2.160.0100.05711.11
5.2.150.0070.05311.19
5.2.140.0030.06011.14
5.2.130.0070.06311.13
5.2.120.0030.06011.05
5.2.110.0070.04011.13
5.2.100.0070.06310.90
5.2.90.0030.06011.11
5.2.80.0100.05711.16
5.2.70.0070.05311.14
5.2.60.0170.05010.97
5.2.50.0070.05010.86
5.2.40.0130.05010.85
5.2.30.0030.03710.85
5.2.20.0030.06010.77
5.2.10.0070.05710.92
5.2.00.0100.05710.77
5.1.60.0100.0509.84
5.1.50.0030.0509.99
5.1.40.0030.0539.97
5.1.30.0000.06310.36
5.1.20.0100.05010.43
5.1.10.0030.06010.11
5.1.00.0070.0539.95
5.0.50.0070.0409.63
5.0.40.0030.0439.63
5.0.30.0100.0579.63
5.0.20.0070.0409.63
5.0.10.0070.0409.63
5.0.00.0030.0339.63
4.4.90.0000.0409.63
4.4.80.0030.0339.63
4.4.70.0000.0379.63
4.4.60.0000.0379.63
4.4.50.0030.0379.63
4.4.40.0000.0539.63
4.4.30.0030.0339.63
4.4.20.0000.0379.63
4.4.10.0000.0379.63
4.4.00.0030.0539.63
4.3.110.0000.0379.63
4.3.100.0030.0279.63
4.3.90.0030.0339.63
4.3.80.0030.0539.63
4.3.70.0030.0279.63
4.3.60.0070.0309.63
4.3.50.0100.0309.63
4.3.40.0100.0439.63
4.3.30.0000.0379.63
4.3.20.0000.0379.63
4.3.10.0000.0239.63
4.3.00.0000.0379.63

preferences:
39.68 ms | 401 KiB | 5 Q