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) ($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.0060.00916.97
8.3.50.0080.00922.30
8.3.40.0040.01418.66
8.3.30.0110.00719.27
8.3.20.0000.00920.38
8.3.10.0000.00823.69
8.3.00.0080.00019.63
8.2.180.0120.00616.63
8.2.170.0040.01122.96
8.2.160.0140.00320.38
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0070.00726.16
8.2.120.0050.00222.30
8.2.110.0000.01020.38
8.2.100.0040.00717.97
8.2.90.0090.00019.36
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0030.00518.05
8.2.50.0030.00618.07
8.2.40.0000.00820.06
8.2.30.0070.00018.06
8.2.20.0030.00617.91
8.2.10.0060.00318.27
8.2.00.0000.00717.84
8.1.280.0120.00325.92
8.1.270.0030.00523.87
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00722.03
8.1.230.0090.00321.07
8.1.220.0040.00417.91
8.1.210.0030.00518.77
8.1.200.0070.00317.61
8.1.190.0000.00817.60
8.1.180.0000.01019.13
8.1.170.0000.00818.89
8.1.160.0000.00721.99
8.1.150.0040.00418.77
8.1.140.0020.00517.60
8.1.130.0030.00317.80
8.1.120.0040.00417.65
8.1.110.0030.00517.53
8.1.100.0030.00417.67
8.1.90.0000.00717.61
8.1.80.0000.00717.65
8.1.70.0000.00817.51
8.1.60.0000.01017.79
8.1.50.0040.00417.66
8.1.40.0080.00017.71
8.1.30.0030.00617.76
8.1.20.0040.00417.74
8.1.10.0070.00017.73
8.1.00.0040.00417.72
8.0.300.0070.00018.77
8.0.290.0040.00417.29
8.0.280.0040.00418.49
8.0.270.0030.00317.23
8.0.260.0070.00017.25
8.0.250.0030.00317.15
8.0.240.0040.00417.16
8.0.230.0080.00017.13
8.0.220.0000.00717.10
8.0.210.0080.00016.96
8.0.200.0000.00717.03
8.0.190.0050.00317.18
8.0.180.0080.00017.03
8.0.170.0040.00416.99
8.0.160.0050.00317.13
8.0.150.0000.00716.95
8.0.140.0110.00017.04
8.0.130.0000.00613.48
8.0.120.0000.00816.94
8.0.110.0040.00417.00
8.0.100.0050.00316.89
8.0.90.0040.00416.89
8.0.80.0070.01417.11
8.0.70.0040.00417.13
8.0.60.0040.00417.11
8.0.50.0050.00216.95
8.0.30.0130.00617.20
8.0.20.0090.00917.40
8.0.10.0050.00217.17
8.0.00.0120.01116.97
7.4.330.0020.00215.00
7.4.320.0030.00316.90
7.4.300.0000.00616.77
7.4.290.0000.00716.80
7.4.280.0000.00716.64
7.4.270.0040.00416.74
7.4.260.0000.00716.64
7.4.250.0040.00416.81
7.4.240.0000.00816.77
7.4.230.0000.00816.81
7.4.220.0090.00916.66
7.4.210.0090.00816.78
7.4.200.0070.00016.73
7.4.190.0040.00416.86
7.4.160.0070.01016.89
7.4.150.0040.01417.40
7.4.140.0080.00917.86
7.4.130.0130.00516.69
7.4.120.0060.01116.90
7.4.110.0060.01316.62
7.4.100.0110.00716.65
7.4.90.0040.01316.59
7.4.80.0030.01419.39
7.4.70.0140.00516.77
7.4.60.0150.00616.62
7.4.50.0040.00416.54
7.4.40.0090.00716.57
7.4.30.0070.01016.81
7.4.00.0060.00615.28
7.3.330.0000.00513.37
7.3.320.0000.00513.22
7.3.310.0000.00816.59
7.3.300.0070.00016.52
7.3.290.0070.01316.48
7.3.280.0130.00516.51
7.3.270.0140.00317.40
7.3.260.0090.00916.62
7.3.250.0060.01616.55
7.3.240.0130.00316.79
7.3.230.0030.01416.45
7.3.210.0150.00316.54
7.3.200.0150.00619.39
7.3.190.0050.01516.63
7.3.180.0090.00916.62
7.3.170.0080.01016.61
7.3.160.0100.01016.89
7.3.120.0140.00414.96
7.2.330.0070.01116.84
7.2.320.0110.00716.70
7.2.310.0060.01216.99
7.2.300.0100.00716.80
7.2.290.0070.01817.09
7.2.60.0030.01016.96
7.1.200.0030.01015.73
7.1.70.0030.00617.59
7.1.60.0130.01019.46
7.1.50.0130.01017.34
7.1.00.0070.08722.60
7.0.200.0060.00317.00
7.0.140.0070.07022.18
7.0.60.0030.06719.93
7.0.50.0130.07317.86
7.0.40.0070.05020.06
7.0.30.0070.05020.06
7.0.20.0330.08020.19
7.0.10.0100.06720.34
7.0.00.0130.05720.01
5.6.280.0030.07321.13
5.6.210.0100.03320.76
5.6.200.0070.08018.16
5.6.190.0170.08020.43
5.6.180.0230.05020.60
5.6.170.0300.05320.47
5.6.160.0030.04320.53
5.6.150.0030.07318.16
5.6.140.0130.07318.06
5.6.130.0070.05018.12
5.6.120.0070.06721.02
5.6.110.0070.08021.12
5.6.100.0100.08021.13
5.6.90.0270.06321.11
5.6.80.0030.08320.44
5.5.350.4100.03720.36
5.5.340.0000.05717.89
5.5.330.0100.07720.14
5.5.320.0230.03720.17
5.5.310.0300.06020.21
5.5.300.0030.03717.89
5.5.290.0130.03017.98
5.5.280.0100.05020.66
5.5.270.0070.05720.80
5.5.260.0070.08320.87
5.5.250.0170.07320.69
5.5.240.0200.07320.24
5.4.450.3270.04019.26
5.4.440.3200.03719.24
5.4.430.2630.05019.13
5.4.420.0900.03319.56
5.4.410.1600.04019.32
5.4.400.2030.04318.96
5.4.390.2000.03319.05
5.4.380.1700.02718.80
5.4.370.2900.03719.21
5.4.360.2830.03318.77
5.4.350.2330.04018.89
5.4.340.2500.04019.16
5.4.320.1800.04019.08
5.4.310.2700.04718.80
5.4.300.2600.03318.91
5.4.290.2300.04019.05
5.4.280.2570.04319.15
5.4.270.2670.03318.88
5.4.260.2670.03318.90
5.4.250.2730.02319.07
5.4.240.2330.04319.11
5.4.230.2230.04019.16
5.4.220.2130.03019.13
5.4.210.3130.03019.07
5.4.200.3330.03018.77
5.4.190.3200.04019.07
5.4.180.2970.04019.23
5.4.170.3130.04018.77
5.4.160.3300.04319.06
5.4.150.3130.03719.18
5.4.140.3400.03716.32
5.4.130.2770.03716.44
5.4.120.3130.03016.37
5.4.110.3130.03716.48
5.4.100.3730.04316.20
5.4.90.3600.04316.39
5.4.80.3030.04016.37
5.4.70.3970.03016.37
5.4.60.3030.03016.41
5.4.50.4300.03716.05
5.4.40.3130.03316.36
5.4.30.3170.03316.36
5.4.20.3230.04316.47
5.4.10.2970.03016.36
5.4.00.3270.04015.89
5.3.290.3200.04014.52
5.3.280.3370.06014.65
5.3.270.3030.04714.54
5.3.260.3030.04014.57
5.3.250.2330.05014.45
5.3.240.3970.03714.71
5.3.230.3070.03314.45
5.3.220.2930.04714.42
5.3.210.2300.04714.64
5.3.200.3100.03714.43
5.3.190.3100.03714.41
5.3.180.3400.04714.62
5.3.170.3300.03014.41
5.3.160.3100.04014.66
5.3.150.3330.03014.52
5.3.140.3170.03314.51
5.3.130.3030.04014.41
5.3.120.3330.03714.50
5.3.110.3030.04314.41
5.3.100.3270.04013.89
5.3.90.3000.03714.13
5.3.80.3100.04313.87
5.3.70.3430.03313.88
5.3.60.3070.04013.96
5.3.50.3370.03313.91
5.3.40.3170.03313.87
5.3.30.3470.03013.76
5.3.20.3170.03013.54
5.3.10.3100.03713.51
5.3.00.2900.03313.60
5.2.170.2570.02311.08
5.2.160.2370.02711.08
5.2.150.2430.02711.08
5.2.140.1370.03011.08
5.2.130.2330.02311.08
5.2.120.2970.02711.13
5.2.110.2370.03311.16
5.2.100.2430.03311.08
5.2.90.2570.02311.08
5.2.80.2430.02311.08
5.2.70.2900.04011.08
5.2.60.2730.03311.08
5.2.50.3570.03011.08
5.2.40.2000.03011.08
5.2.30.2400.02311.08
5.2.20.2000.03011.08
5.2.10.2430.03011.08
5.2.00.2030.03311.08
5.1.60.2130.01311.08
5.1.50.2100.02711.08
5.1.40.2400.03011.08
5.1.30.2070.03011.08
5.1.20.2070.02311.08
5.1.10.2130.02311.08
5.1.00.1970.02711.08
5.0.50.1070.01711.08
5.0.40.1300.02311.08
5.0.30.0870.03311.08
5.0.20.1070.01711.08
5.0.10.1200.02311.08
5.0.00.1230.03311.08
4.4.90.0930.01711.08
4.4.80.1270.02011.08
4.4.70.1200.01711.08
4.4.60.1200.01711.08
4.4.50.1100.00711.08
4.4.40.1330.03011.08
4.4.30.0800.02011.08
4.4.20.1200.01711.08
4.4.10.1000.01711.08
4.4.00.1300.03011.08
4.3.110.1200.02011.08
4.3.100.1670.02011.08
4.3.90.1070.01711.08
4.3.80.1200.03011.08
4.3.70.1070.01311.08
4.3.60.1130.01311.08
4.3.50.1200.02011.08
4.3.40.1100.03011.08
4.3.30.0470.01711.08
4.3.20.0500.01711.08
4.3.10.0500.01311.08
4.3.00.0470.01711.08

preferences:
48.14 ms | 400 KiB | 5 Q