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 hereH34NC-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.0070.00716.88
8.3.50.0070.01122.13
8.3.40.0150.00019.01
8.3.30.0040.01119.22
8.3.20.0070.00020.48
8.3.10.0040.00423.61
8.3.00.0080.00019.63
8.2.180.0060.00918.73
8.2.170.0080.00822.96
8.2.160.0130.00720.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.42
8.2.110.0030.00721.19
8.2.100.0080.00418.22
8.2.90.0030.00619.09
8.2.80.0030.00617.97
8.2.70.0060.00317.75
8.2.60.0040.00418.16
8.2.50.0000.00818.22
8.2.40.0050.00320.64
8.2.30.0000.00919.23
8.2.20.0040.00417.98
8.2.10.0050.00318.25
8.2.00.0030.00617.91
8.1.280.0140.00425.92
8.1.270.0030.00623.91
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0000.01021.12
8.1.230.0070.00420.45
8.1.220.0080.00017.79
8.1.210.0080.00018.77
8.1.200.0000.00817.49
8.1.190.0080.00017.47
8.1.180.0040.00420.24
8.1.170.0000.00818.79
8.1.160.0040.00419.01
8.1.150.0040.00420.16
8.1.140.0060.00317.61
8.1.130.0030.00317.93
8.1.120.0000.00717.64
8.1.110.0070.00017.65
8.1.100.0050.00317.53
8.1.90.0000.00717.64
8.1.80.0000.00717.49
8.1.70.0050.00217.59
8.1.60.0050.00317.82
8.1.50.0000.00917.63
8.1.40.0040.00417.59
8.1.30.0040.00417.76
8.1.20.0040.00417.75
8.1.10.0040.00417.64
8.1.00.0030.00617.71
8.0.300.0080.00018.77
8.0.290.0000.00816.88
8.0.280.0040.00418.38
8.0.270.0040.00417.31
8.0.260.0000.00617.30
8.0.250.0000.00717.03
8.0.240.0040.00417.18
8.0.230.0070.00017.02
8.0.220.0070.00017.05
8.0.210.0030.00617.07
8.0.200.0070.00017.09
8.0.190.0000.00817.06
8.0.180.0000.00817.11
8.0.170.0000.00817.11
8.0.160.0050.00317.04
8.0.150.0000.00717.01
8.0.140.0030.00717.00
8.0.130.0000.00613.52
8.0.120.0000.00817.03
8.0.110.0020.00516.90
8.0.100.0000.00817.07
8.0.90.0040.00417.08
8.0.80.0110.00417.03
8.0.70.0040.00417.19
8.0.60.0030.00516.85
8.0.50.0050.00216.95
8.0.30.0090.01017.23
8.0.20.0070.01417.40
8.0.10.0050.00317.09
8.0.00.0100.00916.99
7.4.330.0000.00515.09
7.4.320.0030.00316.76
7.4.300.0030.00316.86
7.4.290.0030.00316.73
7.4.280.0030.00316.75
7.4.270.0000.00716.75
7.4.260.0070.00016.83
7.4.250.0050.00316.80
7.4.240.0040.00416.82
7.4.230.0000.00716.51
7.4.220.0130.00616.84
7.4.210.0080.00616.76
7.4.200.0000.00716.45
7.4.190.0030.00416.66
7.4.160.0060.00916.76
7.4.150.0060.01117.40
7.4.140.0130.00517.86
7.4.130.0110.00716.78
7.4.120.0100.00616.76
7.4.110.0130.01016.56
7.4.100.0220.00316.72
7.4.90.0120.00616.77
7.4.80.0130.00619.39
7.4.70.0130.00716.63
7.4.60.0100.00716.51
7.4.50.0030.00316.57
7.4.40.0060.01216.44
7.4.30.0070.01016.65
7.4.10.0000.02014.84
7.4.00.0090.00815.17
7.3.330.0000.00513.29
7.3.320.0050.00013.48
7.3.310.0070.00016.59
7.3.300.0030.00316.54
7.3.290.0100.00516.48
7.3.280.0100.01016.50
7.3.270.0030.02117.40
7.3.260.0140.00316.62
7.3.250.0170.00316.63
7.3.240.0070.01016.75
7.3.230.0060.01016.56
7.3.210.0130.00416.51
7.3.200.0120.00619.39
7.3.190.0030.01416.73
7.3.180.0090.01216.45
7.3.170.0060.01016.60
7.3.160.0000.01716.49
7.3.130.0100.01014.76
7.3.120.0090.00715.07
7.3.110.0110.00814.81
7.3.100.0090.00714.91
7.3.90.0090.00715.11
7.3.80.0060.00915.17
7.3.70.0080.00614.97
7.3.60.0030.01115.08
7.3.50.0090.00515.00
7.3.40.0100.00414.90
7.3.30.0080.00515.02
7.3.20.0120.00416.90
7.3.10.0070.00716.93
7.3.00.0070.01116.87
7.2.330.0070.01016.95
7.2.320.0080.00816.93
7.2.310.0090.00916.76
7.2.300.0090.00816.92
7.2.290.0130.01316.85
7.2.260.0090.01015.33
7.2.250.0070.01115.33
7.2.240.0070.01115.29
7.2.230.0020.01215.17
7.2.220.0020.01515.18
7.2.210.0040.01215.27
7.2.200.0020.01315.34
7.2.190.0060.00915.20
7.2.180.0000.01515.33
7.2.170.0040.00815.21
7.2.160.0030.00615.27
7.2.150.0090.00317.21
7.2.140.0090.00917.06
7.2.130.0080.00617.09
7.2.120.0100.00717.08
7.2.110.0040.01117.04
7.2.100.0000.01617.27
7.2.90.0040.01117.13
7.2.80.0070.00716.88
7.2.70.0030.01316.98
7.2.60.0070.00717.21
7.2.50.0060.00917.04
7.2.40.0000.01617.27
7.2.30.0090.00917.37
7.2.20.0100.00317.21
7.2.10.0030.00617.14
7.2.00.0090.00618.35
7.1.330.0050.01015.83
7.1.320.0020.00916.13
7.1.310.0050.00815.79
7.1.300.0070.00415.97
7.1.290.0030.01215.71
7.1.280.0090.00516.04
7.1.270.0070.00716.01
7.1.260.0120.00515.99
7.1.250.0090.00916.02
7.1.240.0090.00316.11
7.1.230.0100.00615.93
7.1.220.0040.01116.18
7.1.210.0060.00915.82
7.1.200.0080.00815.93
7.1.190.0030.01015.86
7.1.180.0060.00615.79
7.1.170.0040.01116.02
7.1.160.0030.00716.00
7.1.150.0030.01416.14
7.1.140.0060.00316.00
7.1.130.0040.01116.12
7.1.120.0110.00315.80
7.1.110.0040.00416.16
7.1.100.0010.01017.05
7.1.90.0090.00316.16
7.1.80.0000.01415.84
7.1.70.0060.00616.58
7.1.60.0080.01017.73
7.1.50.0090.01116.51
7.1.40.0060.00916.07
7.1.30.0030.00915.95
7.1.20.0000.01516.10
7.1.10.0100.00315.88
7.1.00.0070.04219.18
7.0.330.0040.01115.34
7.0.320.0000.01015.64
7.0.310.0030.01015.43
7.0.300.0080.00415.62
7.0.290.0080.00415.71
7.0.280.0100.00315.33
7.0.270.0040.00415.38
7.0.260.0090.00615.73
7.0.250.0030.01215.75
7.0.240.0070.00415.43
7.0.230.0030.01015.52
7.0.220.0040.01115.43
7.0.210.0040.00715.77
7.0.200.0030.00816.29
7.0.190.0030.00615.55
7.0.180.0040.00915.70
7.0.170.0080.00815.73
7.0.160.0070.01015.35
7.0.150.0060.00615.74
7.0.140.0050.04018.67
7.0.130.0040.00415.38
7.0.120.0060.00615.34
7.0.110.0030.03117.81
7.0.100.0070.03617.83
7.0.90.0030.02917.73
7.0.80.0100.02517.67
7.0.70.0090.03517.64
7.0.60.0130.03917.70
7.0.50.0050.02817.88
7.0.40.0050.04516.69
7.0.30.0070.04216.63
7.0.20.0070.03016.61
7.0.10.0050.02316.70
7.0.00.0030.03216.59
5.6.400.0110.00714.56
5.6.390.0000.01314.63
5.6.380.0030.00614.17
5.6.370.0100.00714.80
5.6.360.0070.00714.08
5.6.350.0070.00714.79
5.6.340.0030.01014.50
5.6.330.0080.00414.18
5.6.320.0100.00314.49
5.6.310.0000.01214.50
5.6.300.0040.00714.26
5.6.290.0070.00714.45
5.6.280.0100.03617.74
5.6.270.0030.01314.60
5.6.260.0060.02517.45
5.6.250.0040.02717.55
5.6.240.0060.02817.46
5.6.230.0100.03817.47
5.6.220.0130.03517.53
5.6.210.0070.03717.54
5.6.200.0090.03517.65
5.6.190.0120.04217.50
5.6.180.0050.03017.45
5.6.170.0090.03017.48
5.6.160.0130.03517.43
5.6.150.0050.03017.39
5.6.140.0080.03717.39
5.6.130.0030.04217.62
5.6.120.0070.02717.45
5.6.110.0030.05017.66
5.6.100.0080.03117.51
5.6.90.0080.04517.52
5.6.80.0110.03617.07
5.6.70.0100.04217.09
5.6.60.0080.03217.35
5.6.50.0090.03317.25
5.6.40.0070.02417.20
5.6.30.0090.03617.20
5.6.20.0060.04317.25
5.6.10.0120.03717.16
5.6.00.0080.04317.15
5.5.380.0030.02516.13
5.5.370.0020.02515.85
5.5.360.0060.04115.99
5.5.350.0070.04116.02
5.5.340.0050.02515.93
5.5.330.0040.03816.15
5.5.320.0100.04616.35
5.5.310.0050.03616.10
5.5.300.0020.03616.05
5.5.290.0100.04016.09
5.5.280.0080.02616.17
5.5.270.0130.03716.04
5.5.260.0070.04116.10
5.5.250.0080.03915.91
5.5.240.0040.04515.71
5.5.230.0130.03615.69
5.5.220.0020.03015.86
5.5.210.0030.02515.81
5.5.200.0020.02815.93
5.5.190.0030.03315.97
5.5.180.0120.02515.71
5.5.170.0070.01114.49
5.5.160.0070.04215.97
5.5.150.0090.03715.93
5.5.140.0020.03115.83
5.5.130.0050.04315.82
5.5.120.0100.03515.88
5.5.110.0030.03015.79
5.5.100.0070.02715.80
5.5.90.0050.04315.69
5.5.80.0070.04315.77
5.5.70.0060.02515.87
5.5.60.0050.02315.63
5.5.50.0080.04015.65
5.5.40.0090.02515.89
5.5.30.0070.03615.37
5.5.20.0080.02815.63
5.5.10.0040.04615.87
5.5.00.0050.04515.66
5.4.450.0090.03815.02
5.4.440.0070.04315.19
5.4.430.0060.04415.39
5.4.420.0030.03815.00
5.4.410.0050.03115.04
5.4.400.0060.03815.05
5.4.390.0090.04114.92
5.4.380.0070.03615.01
5.4.370.0070.02214.96
5.4.360.0080.04314.96
5.4.350.0030.03814.99
5.4.340.0080.04014.99
5.4.330.0060.00611.03
5.4.320.0020.03714.95
5.4.310.0030.03814.97
5.4.300.0090.03115.14
5.4.290.0070.03615.10
5.4.280.0080.03415.04
5.4.270.0050.03814.96
5.4.260.0070.04014.96
5.4.250.0070.02715.00
5.4.240.0060.03814.98
5.4.230.0060.02914.90
5.4.220.0080.03714.89
5.4.210.0080.02714.87
5.4.200.0070.03915.04
5.4.190.0030.04014.79
5.4.180.0050.03214.91
5.4.170.0090.02414.94
5.4.160.0070.04014.88
5.4.150.0050.05115.12
5.4.140.0070.03813.74
5.4.130.0130.02713.78
5.4.120.0100.02213.57
5.4.110.0030.04113.57
5.4.100.0060.02113.75
5.4.90.0090.02013.71
5.4.80.0080.03813.47
5.4.70.0070.02013.50
5.4.60.0120.03013.62
5.4.50.0060.02113.63
5.4.40.0050.02713.74
5.4.30.0050.02313.50
5.4.20.0030.04313.60
5.4.10.0030.04013.71
5.4.00.0070.01613.27
5.3.290.0070.03412.58
5.3.280.0070.02512.42
5.3.270.0110.03412.43
5.3.260.0070.03812.66
5.3.250.0070.02612.64
5.3.240.0030.02712.49
5.3.230.0040.03912.41
5.3.220.0070.03512.37
5.3.210.0030.02212.28
5.3.200.0110.02712.42
5.3.190.0040.02612.34
5.3.180.0070.02512.48
5.3.170.0020.02512.54
5.3.160.0110.01712.49
5.3.150.0050.02612.50
5.3.140.0020.02312.62
5.3.130.0030.03312.38
5.3.120.0070.04112.61
5.3.110.0020.02912.53
5.3.100.0030.04212.21
5.3.90.0130.02312.13
5.3.80.0020.03512.08
5.3.70.0000.02812.11
5.3.60.0050.03712.23
5.3.50.0070.03512.11
5.3.40.0030.01812.11
5.3.30.0020.02012.16
5.3.20.0030.02211.96
5.3.10.0050.02311.84
5.3.00.0040.03311.88
5.2.170.0070.03311.93
5.2.160.0070.02311.93
5.2.150.0030.04711.93
5.2.140.0030.02711.93
5.2.130.0000.03011.93
5.2.120.0070.02311.93
5.2.110.0030.02711.93
5.2.100.0030.03711.93
5.2.90.0070.02011.93
5.2.80.0000.06311.93
5.2.70.0000.02711.93
5.2.60.0070.02711.93
5.2.50.0070.03011.93
5.2.40.0070.03011.93
5.2.30.0070.06711.93
5.2.20.0100.04311.93
5.2.10.0000.03311.93
5.2.00.0000.03011.93
5.1.60.0000.02711.93
5.1.50.0070.02311.93
5.1.40.0070.03711.93
5.1.30.0170.02311.93
5.1.20.0070.05011.93
5.1.10.0070.02311.93
5.1.00.0030.04011.93
5.0.50.0030.05011.93
5.0.40.0030.02011.93
5.0.30.0070.05311.93
5.0.20.0070.04311.93
5.0.10.0000.04011.93
5.0.00.0100.05011.93
4.4.90.0000.01711.93
4.4.80.0000.01311.93
4.4.70.0000.02311.93
4.4.60.0070.03011.93
4.4.50.0030.02311.93
4.4.40.0070.04011.93
4.4.30.0030.03011.93
4.4.20.0030.01311.93
4.4.10.0000.03011.93
4.4.00.0000.03011.93
4.3.110.0000.01711.93
4.3.100.0000.01711.93
4.3.90.0030.03311.93
4.3.80.0000.05011.93
4.3.70.0000.04311.93
4.3.60.0030.04011.93
4.3.50.0000.03311.93
4.3.40.0030.05711.93
4.3.30.0000.01711.93
4.3.20.0000.03311.93
4.3.10.0030.02711.93
4.3.00.0030.01711.93

preferences:
38.61 ms | 401 KiB | 5 Q