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 hereHR34NC-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.60.0140.00317.00
8.3.50.0070.01022.05
8.3.40.0160.00319.04
8.3.30.0060.00919.05
8.3.20.0070.00020.34
8.3.10.0080.00023.57
8.3.00.0090.00319.52
8.2.180.0040.01118.53
8.2.170.0040.01122.96
8.2.160.0130.00720.53
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0060.00326.16
8.2.120.0050.00322.25
8.2.110.0100.00019.27
8.2.100.0090.00317.97
8.2.90.0060.00617.75
8.2.80.0080.00017.97
8.2.70.0080.00017.75
8.2.60.0040.00417.75
8.2.50.0000.00818.05
8.2.40.0080.00017.88
8.2.30.0000.00719.47
8.2.20.0070.00017.98
8.2.10.0080.00018.12
8.2.00.0040.00417.81
8.1.280.0090.00925.92
8.1.270.0040.00423.75
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00317.48
8.1.230.0080.00417.83
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0040.00417.60
8.1.190.0050.00317.47
8.1.180.0000.01018.10
8.1.170.0040.00417.62
8.1.160.0000.00719.01
8.1.150.0000.00818.77
8.1.140.0040.00417.64
8.1.130.0030.00317.93
8.1.120.0000.00717.64
8.1.110.0030.00617.64
8.1.100.0080.00017.68
8.1.90.0070.00017.66
8.1.80.0030.00517.56
8.1.70.0030.00317.48
8.1.60.0000.01117.73
8.1.50.0040.00417.60
8.1.40.0050.00317.74
8.1.30.0030.00517.64
8.1.20.0040.00417.85
8.1.10.0090.00017.76
8.1.00.0070.00017.61
8.0.300.0040.00418.77
8.0.290.0030.00516.88
8.0.280.0080.00018.50
8.0.270.0030.00317.31
8.0.260.0000.00617.30
8.0.250.0000.00717.20
8.0.240.0020.00516.99
8.0.230.0000.00717.05
8.0.220.0030.00317.08
8.0.210.0090.00017.05
8.0.200.0030.00317.14
8.0.190.0040.00417.09
8.0.180.0070.00017.09
8.0.170.0040.00416.98
8.0.160.0040.00416.95
8.0.150.0050.00317.08
8.0.140.0030.00617.04
8.0.130.0060.00013.47
8.0.120.0050.00317.11
8.0.110.0000.00817.08
8.0.100.0070.00016.94
8.0.90.0000.00716.97
8.0.80.0130.00717.02
8.0.70.0070.00017.10
8.0.60.0040.00417.04
8.0.50.0000.00717.00
8.0.30.0120.00817.48
8.0.20.0080.01017.41
8.0.10.0050.00316.98
8.0.00.0110.00717.12
7.4.330.0000.00515.02
7.4.320.0060.00016.85
7.4.300.0000.00616.77
7.4.290.0030.00316.85
7.4.280.0000.00916.59
7.4.270.0070.00016.66
7.4.260.0030.00316.82
7.4.250.0000.00816.68
7.4.240.0070.00016.79
7.4.230.0000.00816.54
7.4.220.0180.00916.88
7.4.210.0120.00416.65
7.4.200.0050.00216.58
7.4.190.0000.00716.73
7.4.160.0070.01416.77
7.4.150.0170.00017.40
7.4.140.0090.00917.86
7.4.130.0140.00516.81
7.4.120.0110.01116.74
7.4.110.0140.00316.55
7.4.100.0090.00916.92
7.4.90.0040.01316.86
7.4.80.0120.00619.39
7.4.70.0110.01116.71
7.4.60.0090.00916.68
7.4.50.0090.00016.57
7.4.40.0080.00816.48
7.4.30.0040.01216.82
7.4.00.0050.01215.07
7.3.330.0030.00313.23
7.3.320.0030.00313.35
7.3.310.0050.00316.48
7.3.300.0000.00716.42
7.3.290.0130.00716.44
7.3.280.0130.00516.53
7.3.270.0120.00617.40
7.3.260.0160.00317.02
7.3.250.0100.00616.57
7.3.240.0070.01016.86
7.3.230.0070.01016.79
7.3.210.0130.01316.55
7.3.200.0140.00319.39
7.3.190.0060.01216.86
7.3.180.0090.00616.51
7.3.170.0160.00016.46
7.3.160.0070.01016.60
7.3.120.0050.01214.74
7.3.110.0100.00515.09
7.3.100.0070.00615.18
7.3.90.0030.01115.17
7.3.80.0030.01115.01
7.3.70.0070.00914.89
7.3.60.0070.01015.06
7.3.50.0020.01114.97
7.3.40.0030.01015.00
7.3.30.0090.00315.00
7.3.20.0050.00916.96
7.3.10.0050.00916.85
7.3.00.0060.00816.93
7.2.330.0030.01316.96
7.2.320.0150.00616.91
7.2.310.0070.01116.86
7.2.300.0110.00816.76
7.2.290.0060.01216.80
7.2.250.0060.00915.15
7.2.240.0050.01015.29
7.2.230.0100.00715.42
7.2.220.0100.00815.27
7.2.210.0040.01215.24
7.2.200.0070.00915.31
7.2.190.0060.01115.08
7.2.180.0050.00815.28
7.2.170.0070.00815.30
7.2.160.0150.00015.23
7.2.150.0110.00417.31
7.2.140.0060.00817.24
7.2.130.0070.01117.13
7.2.120.0040.00716.90
7.2.110.0000.01416.89
7.2.100.0060.00917.15
7.2.90.0030.00617.11
7.2.80.0030.01317.09
7.2.70.0070.01117.24
7.2.60.0030.01217.01
7.2.50.0030.00617.16
7.2.40.0000.01416.88
7.2.30.0060.00917.18
7.2.20.0030.00817.01
7.2.10.0070.01117.19
7.2.00.0040.01318.24
7.1.330.0070.00715.91
7.1.320.0060.01116.12
7.1.310.0070.00716.16
7.1.300.0080.00516.02
7.1.290.0050.01015.89
7.1.280.0070.00516.06
7.1.270.0020.00816.14
7.1.260.0080.00515.72
7.1.250.0070.00716.04
7.1.200.0040.00415.95
7.1.100.0040.00718.35
7.1.70.0040.00417.29
7.1.60.0100.01419.46
7.1.50.0070.01117.26
7.1.00.0070.06722.43
7.0.200.0000.00816.76
7.0.140.0030.07322.07
7.0.60.0030.05019.95
7.0.50.0030.08317.68
7.0.40.0070.04320.27
7.0.30.0170.04020.20
7.0.20.0070.04720.06
7.0.10.0170.04020.20
7.0.00.0030.08020.19
5.6.210.0070.04320.61
5.6.200.0030.07718.20
5.6.190.0000.05020.41
5.6.180.0400.07020.27
5.6.170.0370.07020.51
5.6.160.0100.08020.54
5.6.150.0100.05018.15
5.6.140.0030.05018.09
5.6.130.0100.05018.18
5.6.120.0070.08721.15
5.6.110.0130.03721.00
5.6.100.0070.07721.01
5.6.90.0070.07321.00
5.6.80.0100.08320.36
5.5.350.0300.05320.44
5.5.340.0000.08317.88
5.5.330.0070.05020.12
5.5.320.0230.04020.29
5.5.310.0400.07020.27
5.5.300.0070.08017.92
5.5.290.0230.06317.93
5.5.280.0000.08720.84
5.5.270.0100.07020.80
5.5.260.0100.07320.89
5.5.250.0030.07320.70
5.5.240.0030.03720.13
5.4.450.0130.04019.40
5.4.440.0070.03719.43
5.4.430.1070.04319.45
5.4.420.1970.04019.40
5.4.410.1630.04719.27
5.4.400.1700.03719.09
5.4.390.1730.03319.23
5.4.380.1830.03019.08
5.4.370.1830.03719.13
5.4.360.2270.04719.22
5.4.350.1630.03319.09
5.4.340.2030.04019.23
5.4.320.1700.04018.93
5.4.310.1700.04019.08
5.4.300.1870.04719.09
5.4.290.1700.03018.79
5.4.280.1770.03319.06
5.4.270.1870.04719.09
5.4.260.1970.03319.05
5.4.250.1900.04319.07
5.4.240.1800.04318.87
5.4.230.1800.04719.08
5.4.220.1630.03719.07
5.4.210.1970.05019.05
5.4.200.1800.04719.13
5.4.190.1700.03718.79
5.4.180.1900.04019.07
5.4.170.2030.04018.91
5.4.160.1970.03319.05
5.4.150.1870.04318.78
5.4.140.1870.04316.28
5.4.130.1730.04016.45
5.4.120.1970.04316.25
5.4.110.1900.04016.27
5.4.100.1900.04016.46
5.4.90.1630.03716.30
5.4.80.1870.04316.29
5.4.70.1930.05016.32
5.4.60.2000.03316.45
5.4.50.1770.04316.38
5.4.40.1930.04016.04
5.4.30.1630.03716.27
5.4.20.1800.04716.20
5.4.10.1830.04016.47
5.4.00.1830.04015.98
5.3.290.1900.04714.63
5.3.280.1800.04014.59
5.3.270.1600.04014.55
5.3.260.1800.04014.56
5.3.250.1700.03314.71
5.3.240.1870.04714.45
5.3.230.1930.04714.66
5.3.220.1730.04014.42
5.3.210.1900.03714.52
5.3.200.1630.04314.53
5.3.190.1800.04014.53
5.3.180.1730.03014.44
5.3.170.1930.03714.41
5.3.160.1670.04014.67
5.3.150.1670.03714.42
5.3.140.1670.03714.41
5.3.130.1670.03714.44
5.3.120.1700.04014.52
5.3.110.1800.03314.57
5.3.100.1730.03313.88
5.3.90.1970.04014.12
5.3.80.1600.03713.97
5.3.70.1630.03714.02
5.3.60.1700.03314.06
5.3.50.1970.04313.90
5.3.40.1830.03713.91
5.3.30.1830.03313.88
5.3.20.1730.03013.55
5.3.10.1730.04013.50
5.3.00.1800.03713.64
5.2.170.1670.02711.03
5.2.160.1430.02011.11
5.2.150.1530.03311.01
5.2.140.1430.03011.32
5.2.130.1370.04011.17
5.2.120.1430.02711.02
5.2.110.1630.04010.97
5.2.100.1570.04011.00
5.2.90.1470.04010.98
5.2.80.1470.04011.19
5.2.70.1600.03710.94
5.2.60.1670.04311.11
5.2.50.1630.03311.08
5.2.40.1100.02711.02
5.2.30.1200.03710.88
5.2.20.1130.02311.06
5.2.10.1400.03010.95
5.2.00.1270.03710.78
5.1.60.1370.0309.98
5.1.50.1100.0239.90
5.1.40.1100.0209.91
5.1.30.1300.03010.29
5.1.20.1030.03010.48
5.1.10.1330.03010.18
5.1.00.1330.02310.22
5.0.50.0700.0308.47
5.0.40.0570.0178.40
5.0.30.0700.0508.12
5.0.20.0630.0308.20
5.0.10.0670.0308.12
5.0.00.0770.0408.33
4.4.90.0670.0177.95
4.4.80.0770.0237.95
4.4.70.0530.0177.95
4.4.60.0700.0177.95
4.4.50.0730.0237.95
4.4.40.0630.0237.95
4.4.30.0700.0277.95
4.4.20.0500.0177.95
4.4.10.0600.0137.95
4.4.00.0530.0237.95
4.3.110.0530.0177.95
4.3.100.0700.0237.95
4.3.90.0700.0277.95
4.3.80.0670.0277.95
4.3.70.0800.0237.95
4.3.60.0670.0237.95
4.3.50.0730.0277.95
4.3.40.0000.0277.95
4.3.30.0000.0177.95
4.3.20.0000.0337.95
4.3.10.0000.0237.95
4.3.00.0000.0137.95

preferences:
47.97 ms | 401 KiB | 5 Q