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 $re2='[a-z]'; # Uninteresting: w $re3='.*?'; # Non-greedy match on filler $re4='[a-z]'; # Uninteresting: w $re5='.*?'; # Non-greedy match on filler $re6='[a-z]'; # Uninteresting: w $re7='.*?'; # Non-greedy match on filler $re8='[a-z]'; # Uninteresting: w $re9='.*?'; # Non-greedy match on filler $re10='[a-z]'; # Uninteresting: w $re11='.*?'; # Non-greedy match on filler $re12='[a-z]'; # Uninteresting: w $re13='.*?'; # Non-greedy match on filler $re14='[a-z]'; # Uninteresting: w $re15='.*?'; # Non-greedy match on filler $re16='[a-z]'; # Uninteresting: w $re17='.*?'; # Non-greedy match on filler $re18='[a-z]'; # Uninteresting: w $re19='.*?'; # Non-greedy match on filler $re20='[a-z]'; # Uninteresting: w $re21='.*?'; # Non-greedy match on filler $re22='[a-z]'; # Uninteresting: w $re23='.*?'; # Non-greedy match on filler $re24='[a-z]'; # Uninteresting: w $re25='.*?'; # Non-greedy match on filler $re26='[a-z]'; # Uninteresting: w $re27='.*?'; # Non-greedy match on filler $re28='[a-z]'; # Uninteresting: w $re29='.*?'; # Non-greedy match on filler $re30='[a-z]'; # Uninteresting: w $re31='.*?'; # Non-greedy match on filler $re32='[a-z]'; # Uninteresting: w $re33='.*?'; # Non-greedy match on filler $re34='[a-z]'; # Uninteresting: w $re35='.*?'; # Non-greedy match on filler $re36='[a-z]'; # Uninteresting: w $re37='.*?'; # Non-greedy match on filler $re38='[a-z]'; # Uninteresting: w $re39='.*?'; # Non-greedy match on filler $re40='[a-z]'; # Uninteresting: w $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.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10.$re11.$re12.$re13.$re14.$re15.$re16.$re17.$re18.$re19.$re20.$re21.$re22.$re23.$re24.$re25.$re26.$re27.$re28.$re29.$re30.$re31.$re32.$re33.$re34.$re35.$re36.$re37.$re38.$re39.$re40.$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.01017.00
8.3.50.0080.01022.29
8.3.40.0160.00018.95
8.3.30.0070.00719.12
8.3.20.0040.00420.33
8.3.10.0000.00823.64
8.3.00.0040.00719.50
8.2.180.0070.01418.66
8.2.170.0110.00422.96
8.2.160.0110.00720.56
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00822.21
8.2.110.0060.00319.34
8.2.100.0000.01118.22
8.2.90.0030.00619.34
8.2.80.0030.00617.97
8.2.70.0060.00317.88
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0060.00319.91
8.2.30.0040.00418.13
8.2.20.0080.00017.85
8.2.10.0040.00418.22
8.2.00.0070.00017.97
8.1.280.0070.01325.92
8.1.270.0040.00424.09
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00319.59
8.1.230.0070.00417.77
8.1.220.0000.00917.78
8.1.210.0050.00318.77
8.1.200.0060.00317.60
8.1.190.0050.00317.48
8.1.180.0000.01019.01
8.1.170.0080.00018.79
8.1.160.0030.00522.14
8.1.150.0030.00618.74
8.1.140.0040.00417.71
8.1.130.0030.00317.80
8.1.120.0040.00417.65
8.1.110.0040.00417.58
8.1.100.0040.00417.59
8.1.90.0040.00417.70
8.1.80.0000.00717.61
8.1.70.0000.00717.61
8.1.60.0120.00017.82
8.1.50.0060.00317.79
8.1.40.0000.00817.67
8.1.30.0080.00017.79
8.1.20.0000.00917.81
8.1.10.0040.00417.80
8.1.00.0070.00017.67
8.0.300.0040.00418.77
8.0.290.0070.00416.88
8.0.280.0020.00518.61
8.0.270.0040.00417.34
8.0.260.0070.00017.37
8.0.250.0050.00217.16
8.0.240.0000.00617.18
8.0.230.0030.00317.17
8.0.220.0050.00217.09
8.0.210.0040.00417.12
8.0.200.0070.00017.16
8.0.190.0000.00917.21
8.0.180.0040.00417.12
8.0.170.0080.00017.12
8.0.160.0000.00717.20
8.0.150.0000.00716.95
8.0.140.0070.00317.09
8.0.130.0060.00013.54
8.0.120.0000.00817.11
8.0.110.0030.00617.18
8.0.100.0040.00416.98
8.0.90.0030.00517.18
8.0.80.0100.00617.16
8.0.70.0040.00416.98
8.0.60.0030.00517.11
8.0.50.0000.00717.03
8.0.30.0120.00917.36
8.0.20.0130.00717.53
8.0.10.0000.00917.07
8.0.00.0110.00617.14
7.4.330.0020.00215.18
7.4.320.0030.00316.70
7.4.300.0060.00016.93
7.4.290.0030.00316.74
7.4.280.0040.00416.75
7.4.270.0000.00716.71
7.4.260.0040.00316.82
7.4.250.0040.00416.79
7.4.240.0020.00516.75
7.4.230.0000.00816.61
7.4.220.0110.00716.64
7.4.210.0120.00416.90
7.4.200.0040.00416.90
7.4.190.0040.00416.61
7.4.160.0170.00416.82
7.4.150.0100.00717.40
7.4.140.0140.00317.86
7.4.130.0070.01016.68
7.4.120.0090.00816.79
7.4.110.0150.00516.91
7.4.100.0070.01016.72
7.4.90.0030.01416.77
7.4.80.0070.01319.39
7.4.70.0150.00616.64
7.4.60.0070.01016.66
7.4.50.0000.00416.91
7.4.40.0000.01616.57
7.4.30.0110.01216.80
7.4.10.0090.00915.02
7.4.00.0070.01115.23
7.3.330.0000.00513.37
7.3.320.0030.00313.51
7.3.310.0050.00216.46
7.3.300.0070.00016.56
7.3.290.0070.00716.57
7.3.280.0090.00716.54
7.3.270.0130.00317.40
7.3.260.0050.01116.88
7.3.250.0130.00616.73
7.3.240.0060.01216.70
7.3.230.0030.01316.50
7.3.210.0120.00616.56
7.3.200.0030.01619.39
7.3.190.0070.01316.86
7.3.180.0060.00916.50
7.3.170.0140.00316.55
7.3.160.0110.00716.60
7.3.130.0070.01115.11
7.3.120.0050.01015.02
7.3.110.0120.00614.98
7.3.100.0050.01015.10
7.3.90.0060.01015.06
7.3.80.0060.00714.97
7.3.70.0020.01015.15
7.3.60.0040.01115.03
7.3.50.0030.00815.11
7.3.40.0090.00515.06
7.3.30.0090.00515.17
7.3.20.0020.01016.89
7.3.10.0050.00816.77
7.3.00.0040.00916.99
7.2.330.0090.00917.07
7.2.320.0150.00916.81
7.2.310.0130.01017.01
7.2.300.0140.00716.89
7.2.290.0060.01416.86
7.2.260.0030.01515.36
7.2.250.0090.01015.51
7.2.240.0080.00815.43
7.2.230.0060.00815.30
7.2.220.0060.00915.23
7.2.210.0030.01215.20
7.2.200.0030.00715.11
7.2.190.0060.00915.35
7.2.180.0050.00815.31
7.2.170.0040.01315.21
7.2.160.0040.00815.33
7.2.150.0030.01417.23
7.2.140.0030.00617.18
7.2.130.0070.00717.23
7.2.120.0000.01217.24
7.2.110.0030.01017.27
7.2.100.0040.00717.02
7.2.90.0070.00716.92
7.2.80.0070.01016.82
7.2.70.0000.01217.11
7.2.60.0070.00717.12
7.2.50.0120.00317.34
7.2.40.0060.00616.94
7.2.30.0040.00917.35
7.2.20.0110.00717.34
7.2.10.0070.01117.33
7.2.00.0020.01218.33
7.1.330.0100.00515.99
7.1.320.0070.00916.19
7.1.310.0030.01315.94
7.1.300.0060.00615.93
7.1.290.0070.00615.97
7.1.280.0080.00616.03
7.1.270.0060.00815.98
7.1.260.0070.00415.92
7.1.250.0080.00016.02
7.1.240.0070.00715.76
7.1.230.0070.00316.23
7.1.220.0070.00716.06
7.1.210.0090.00615.91
7.1.200.0040.00915.74
7.1.190.0030.01316.24
7.1.180.0000.00916.04
7.1.170.0030.01016.16
7.1.160.0130.00016.13
7.1.150.0070.00716.19
7.1.140.0110.00316.06
7.1.130.0060.00615.88
7.1.120.0030.01016.14
7.1.110.0040.00716.26
7.1.100.0070.00617.30
7.1.90.0090.00015.89
7.1.80.0100.00716.08
7.1.70.0000.01516.55
7.1.60.0060.01117.70
7.1.50.0050.01016.71
7.1.40.0070.00315.99
7.1.30.0070.01016.01
7.1.20.0060.00916.07
7.1.10.0080.00815.84
7.1.00.0060.04119.19
7.0.330.0090.00315.57
7.0.320.0030.00915.65
7.0.310.0000.01115.65
7.0.300.0000.00915.42
7.0.290.0060.01015.38
7.0.280.0030.01315.77
7.0.270.0100.00715.66
7.0.260.0060.00615.48
7.0.250.0090.00615.76
7.0.240.0060.00915.33
7.0.230.0000.00815.78
7.0.220.0060.00615.74
7.0.210.0030.00615.72
7.0.200.0030.00516.41
7.0.190.0070.00315.60
7.0.180.0070.00715.71
7.0.170.0060.00315.67
7.0.160.0080.00315.77
7.0.150.0000.01715.46
7.0.140.0060.03818.65
7.0.130.0030.01015.58
7.0.120.0000.01115.73
7.0.110.0070.00715.70
7.0.100.0030.02717.92
7.0.90.0050.04417.84
7.0.80.0070.04417.84
7.0.70.0280.03817.92
7.0.60.0260.04017.88
7.0.50.0230.04217.94
7.0.40.0080.04316.90
7.0.30.0060.03816.89
7.0.20.0110.04316.93
7.0.10.0070.02816.76
7.0.00.0080.04516.88
5.6.400.0030.01014.61
5.6.390.0030.00614.51
5.6.380.0030.00814.95
5.6.370.0030.00714.47
5.6.360.0040.00714.51
5.6.350.0050.00514.48
5.6.340.0070.01114.89
5.6.330.0070.01114.34
5.6.320.0060.00614.39
5.6.310.0060.00914.83
5.6.300.0030.00914.70
5.6.290.0030.01014.13
5.6.280.0030.04217.61
5.6.270.0070.00314.73
5.6.260.0060.00914.58
5.6.250.0030.04417.58
5.6.240.0080.04017.60
5.6.230.0080.04317.61
5.6.220.0070.03217.55
5.6.210.0030.04617.57
5.6.200.0070.04617.75
5.6.190.0080.03517.87
5.6.180.0100.03917.82
5.6.170.0120.03817.75
5.6.160.0130.04217.75
5.6.150.0100.04217.67
5.6.140.0120.03817.81
5.6.130.0070.02817.59
5.6.120.0100.04117.62
5.6.110.0050.04517.71
5.6.100.0080.04517.64
5.6.90.0030.04817.73
5.6.80.0030.04217.51
5.6.70.0000.04817.51
5.6.60.0080.04317.36
5.6.50.0030.04217.46
5.6.40.0130.03817.55
5.6.30.0020.04417.47
5.6.20.0060.03317.44
5.6.10.0050.04517.42
5.6.00.0130.04017.40
5.5.380.0100.04017.40
5.5.370.0060.03117.38
5.5.360.0070.03017.29
5.5.350.0040.04617.43
5.5.340.0130.03717.69
5.5.330.0030.04817.65
5.5.320.0070.03017.56
5.5.310.0120.03817.62
5.5.300.0060.04317.47
5.5.290.0100.03317.52
5.5.280.0050.04517.47
5.5.270.0080.04317.57
5.5.260.0070.04717.43
5.5.250.0160.03617.57
5.5.240.0120.03517.21
5.5.230.0020.02817.23
5.5.220.0030.04617.34
5.5.210.0090.04117.31
5.5.200.0100.04317.33
5.5.190.0030.04817.15
5.5.180.0080.04517.23
5.5.170.0100.00714.32
5.5.160.0080.04017.34
5.5.150.0050.02817.34
5.5.140.0070.04217.30
5.5.130.0080.04417.32
5.5.120.0070.04217.30
5.5.110.0070.03017.24
5.5.100.0050.04717.16
5.5.90.0040.02817.18
5.5.80.0030.04517.14
5.5.70.0090.03817.23
5.5.60.0070.03917.25
5.5.50.0050.04217.13
5.5.40.0070.04317.20
5.5.30.0080.03617.31
5.5.20.0050.03917.10
5.5.10.0110.04117.21
5.5.00.0070.04217.09
5.4.450.0070.04115.15
5.4.440.0070.03315.31
5.4.430.0050.04415.27
5.4.420.0070.04215.28
5.4.410.0050.04615.18
5.4.400.0120.03215.12
5.4.390.0070.03815.07
5.4.380.0090.03315.03
5.4.370.0030.04315.09
5.4.360.0050.04215.05
5.4.350.0110.03615.17
5.4.340.0070.04014.97
5.4.330.0040.00811.12
5.4.320.0050.03515.12
5.4.310.0030.02515.13
5.4.300.0020.03515.10
5.4.290.0060.03514.85
5.4.280.0100.03715.05
5.4.270.0040.04015.01
5.4.260.0070.03515.06
5.4.250.0070.03915.09
5.4.240.0090.03715.14
5.4.230.0050.04015.18
5.4.220.0100.04215.10
5.4.210.0040.04115.02
5.4.200.0080.04014.96
5.4.190.0070.03615.04
5.4.180.0090.04015.03
5.4.170.0070.04014.94
5.4.160.0070.03914.93
5.4.150.0050.04414.86
5.4.140.0050.03113.71
5.4.130.0080.03313.63
5.4.120.0080.03613.52
5.4.110.0070.03213.86
5.4.100.0100.02213.52
5.4.90.0080.03513.60
5.4.80.0050.04013.71
5.4.70.0030.02813.78
5.4.60.0070.04013.61
5.4.50.0080.03713.64
5.4.40.0040.03113.70
5.4.30.0040.02313.79
5.4.20.0090.01513.73
5.4.10.0030.02213.71
5.4.00.0070.02713.42
5.3.290.0050.04212.62
5.3.280.0050.04212.49
5.3.270.0050.04012.61
5.3.260.0050.04312.59
5.3.250.0090.03212.60
5.3.240.0060.03912.57
5.3.230.0050.03712.49
5.3.220.0030.04312.41
5.3.210.0120.03312.42
5.3.200.0070.02712.47
5.3.190.0080.04012.50
5.3.180.0050.03812.51
5.3.170.0080.03912.62
5.3.160.0100.04312.61
5.3.150.0040.04712.53
5.3.140.0060.03512.58
5.3.130.0030.02512.60
5.3.120.0020.03512.50
5.3.110.0080.02012.58
5.3.100.0060.02412.30
5.3.90.0000.02912.26
5.3.80.0050.02112.13
5.3.70.0000.03212.24
5.3.60.0050.02512.12
5.3.50.0020.02312.12
5.3.40.0020.02212.07
5.3.30.0030.02112.28
5.3.20.0060.01812.00
5.3.10.0000.03411.98
5.3.00.0040.02211.84
5.2.170.0030.03711.11
5.2.160.0070.02711.13
5.2.150.0000.04011.25
5.2.140.0030.02711.15
5.2.130.0030.02711.22
5.2.120.0030.03010.97
5.2.110.0030.05711.14
5.2.100.0000.03011.11
5.2.90.0000.03711.13
5.2.80.0000.03010.93
5.2.70.0030.03011.16
5.2.60.0000.03011.16
5.2.50.0000.03010.98
5.2.40.0100.02011.11
5.2.30.0070.03310.89
5.2.20.0100.02711.09
5.2.10.0030.02710.82
5.2.00.0100.04710.63
5.1.60.0030.0239.91
5.1.50.0000.04710.04
5.1.40.0030.02310.05
5.1.30.0030.02710.29
5.1.20.0070.02310.43
5.1.10.0070.0309.95
5.1.00.0070.04710.18
5.0.50.0030.0178.44
5.0.40.0030.0208.46
5.0.30.0030.0378.28
5.0.20.0030.0208.36
5.0.10.0000.0238.34
5.0.00.0000.0308.21
4.4.90.0000.0178.03
4.4.80.0000.0178.03
4.4.70.0030.0178.03
4.4.60.0000.0178.03
4.4.50.0100.0038.03
4.4.40.0000.0308.03
4.4.30.0000.0178.03
4.4.20.0030.0138.03
4.4.10.0030.0138.03
4.4.00.0000.0378.03
4.3.110.0000.0178.03
4.3.100.0000.0238.03
4.3.90.0030.0138.03
4.3.80.0000.0278.03
4.3.70.0000.0178.03
4.3.60.0000.0138.03
4.3.50.0000.0178.03
4.3.40.0030.0238.03
4.3.30.0000.0138.03
4.3.20.0000.0138.03
4.3.10.0000.0178.03
4.3.00.0000.0178.03

preferences:
45.13 ms | 401 KiB | 5 Q