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.$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.0110.00417.25
8.3.50.0120.00322.12
8.3.40.0100.00719.09
8.3.30.0070.00719.18
8.3.20.0030.00620.33
8.3.10.0040.00423.65
8.3.00.0030.00619.76
8.2.180.0090.00618.43
8.2.170.0040.01122.96
8.2.160.0060.00920.37
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0070.00022.24
8.2.110.0000.00920.54
8.2.100.0090.00317.97
8.2.90.0000.00819.25
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0080.00018.04
8.2.50.0080.00018.07
8.2.40.0040.00420.01
8.2.30.0030.00518.14
8.2.20.0060.00318.02
8.2.10.0050.00318.09
8.2.00.0040.00418.00
8.1.280.0090.00625.92
8.1.270.0040.00423.71
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00523.79
8.1.230.0040.00824.00
8.1.220.0030.00617.91
8.1.210.0040.00418.77
8.1.200.0060.00317.60
8.1.190.0000.00917.48
8.1.180.0000.01019.14
8.1.170.0000.00818.87
8.1.160.0050.00322.14
8.1.150.0070.00018.89
8.1.140.0000.00817.65
8.1.130.0070.00017.98
8.1.120.0070.00017.71
8.1.110.0030.00617.62
8.1.100.0040.00417.54
8.1.90.0000.00817.67
8.1.80.0060.00317.65
8.1.70.0080.00017.59
8.1.60.0080.00317.82
8.1.50.0050.00317.62
8.1.40.0000.00817.70
8.1.30.0040.00417.76
8.1.20.0060.00317.75
8.1.10.0080.00017.67
8.1.00.0040.00417.70
8.0.300.0000.00718.77
8.0.290.0070.00317.00
8.0.280.0040.00418.58
8.0.270.0000.00717.25
8.0.260.0030.00317.27
8.0.250.0000.00717.26
8.0.240.0000.00617.26
8.0.230.0000.00717.22
8.0.220.0000.00717.04
8.0.210.0000.00817.19
8.0.200.0000.00717.26
8.0.190.0030.00517.17
8.0.180.0070.00017.21
8.0.170.0030.00517.24
8.0.160.0040.00417.13
8.0.150.0060.00317.19
8.0.140.0070.00317.14
8.0.130.0030.00313.54
8.0.120.0040.00417.00
8.0.110.0030.00517.09
8.0.100.0040.00416.96
8.0.90.0080.00016.95
8.0.80.0030.01217.13
8.0.70.0070.00017.03
8.0.60.0000.00717.11
8.0.50.0000.00816.93
8.0.30.0130.00717.23
8.0.20.0100.00917.46
8.0.10.0060.00317.06
8.0.00.0130.00617.00
7.4.330.0000.00515.00
7.4.320.0060.00016.72
7.4.300.0000.00716.85
7.4.290.0030.00316.86
7.4.280.0040.00416.77
7.4.270.0050.00316.77
7.4.260.0040.00416.86
7.4.250.0040.00416.84
7.4.240.0030.00316.78
7.4.230.0000.00716.80
7.4.220.0140.01416.82
7.4.210.0100.00716.77
7.4.200.0040.00416.89
7.4.190.0000.00716.97
7.4.160.0040.01216.82
7.4.150.0120.00617.40
7.4.140.0070.01317.86
7.4.130.0060.01316.75
7.4.120.0130.00516.71
7.4.110.0110.00816.70
7.4.100.0040.01516.87
7.4.90.0060.01216.75
7.4.80.0090.00919.39
7.4.70.0130.01116.73
7.4.60.0070.01516.63
7.4.50.0090.00016.70
7.4.40.0140.00316.81
7.4.30.0110.00716.64
7.4.10.0030.01315.22
7.4.00.0050.01115.15
7.3.330.0050.00013.46
7.3.320.0050.00013.46
7.3.310.0040.00416.64
7.3.300.0030.00316.59
7.3.290.0030.01116.59
7.3.280.0070.01016.56
7.3.270.0140.00317.40
7.3.260.0180.00016.82
7.3.250.0130.00816.58
7.3.240.0120.00616.66
7.3.230.0120.00616.89
7.3.210.0060.01216.91
7.3.200.0140.00419.39
7.3.190.0130.00616.77
7.3.180.0060.01116.69
7.3.170.0140.00316.81
7.3.160.0090.00916.62
7.3.130.0100.01014.91
7.3.120.0100.00915.03
7.3.110.0050.01215.17
7.3.100.0040.01315.06
7.3.90.0050.00815.21
7.3.80.0080.00615.05
7.3.70.0020.01215.07
7.3.60.0080.00714.85
7.3.50.0080.00714.97
7.3.40.0060.00615.17
7.3.30.0050.00914.97
7.3.20.0090.00716.82
7.3.10.0080.00816.73
7.3.00.0060.00816.78
7.2.330.0060.01216.84
7.2.320.0090.01516.72
7.2.310.0040.01417.00
7.2.300.0130.00316.72
7.2.290.0040.01517.05
7.2.260.0060.00915.00
7.2.250.0100.01015.41
7.2.240.0000.01715.29
7.2.230.0060.00915.14
7.2.220.0060.00615.48
7.2.210.0070.00815.17
7.2.200.0060.01015.38
7.2.190.0110.00315.23
7.2.180.0060.01015.15
7.2.170.0050.01015.31
7.2.160.0070.00915.34
7.2.150.0040.01016.94
7.2.140.0060.01117.15
7.2.130.0060.00717.05
7.2.120.0030.01217.25
7.2.110.0040.00717.17
7.2.100.0080.00817.21
7.2.90.0060.00716.96
7.2.80.0030.01216.99
7.2.70.0090.00717.15
7.2.60.0050.00917.13
7.2.50.0020.01317.13
7.2.40.0060.00816.99
7.2.30.0030.00817.34
7.2.20.0060.00617.15
7.2.10.0090.00617.08
7.2.00.0000.01317.92
7.1.330.0040.00916.13
7.1.320.0070.00716.05
7.1.310.0080.00616.13
7.1.300.0030.01116.06
7.1.290.0020.01315.89
7.1.280.0050.00515.89
7.1.270.0040.00815.95
7.1.260.0070.00815.97
7.1.250.0030.00816.06
7.1.240.0090.00616.01
7.1.230.0040.01116.10
7.1.220.0000.00916.06
7.1.210.0070.00716.08
7.1.200.0120.00416.04
7.1.190.0030.00616.13
7.1.180.0000.01016.16
7.1.170.0060.00316.21
7.1.160.0070.01015.97
7.1.150.0000.00916.00
7.1.140.0070.01116.02
7.1.130.0070.00316.04
7.1.120.0030.00716.03
7.1.110.0040.00415.94
7.1.100.0060.00717.30
7.1.90.0100.00315.98
7.1.80.0120.00316.00
7.1.70.0020.00716.74
7.1.60.0030.00816.80
7.1.50.0090.01016.62
7.1.40.0070.00716.15
7.1.30.0030.01316.05
7.1.20.0090.00915.88
7.1.10.0080.00416.04
7.1.00.0020.04619.17
7.0.330.0100.00315.43
7.0.320.0090.00615.32
7.0.310.0060.00615.53
7.0.300.0000.00915.36
7.0.290.0080.00015.75
7.0.280.0080.00615.68
7.0.270.0000.00815.51
7.0.260.0090.00615.77
7.0.250.0070.01015.84
7.0.240.0070.01015.63
7.0.230.0000.01615.54
7.0.220.0080.00815.44
7.0.210.0040.00815.53
7.0.200.0060.00816.19
7.0.190.0000.01615.64
7.0.180.0150.00315.80
7.0.170.0030.01015.57
7.0.160.0040.01215.69
7.0.150.0030.00615.78
7.0.140.0050.04118.67
7.0.130.0070.01015.62
7.0.120.0030.00915.57
7.0.110.0040.01215.66
7.0.100.0220.03817.87
7.0.90.0160.03917.87
7.0.80.0200.03717.89
7.0.70.0170.02717.81
7.0.60.0200.04217.83
7.0.50.0180.03718.12
7.0.40.0090.04016.80
7.0.30.0150.03716.91
7.0.20.0070.04316.96
7.0.10.0090.03917.03
7.0.00.0080.02516.86
5.6.400.0070.01114.24
5.6.390.0060.00614.44
5.6.380.0100.00314.46
5.6.370.0030.00714.75
5.6.360.0040.01114.73
5.6.350.0090.00014.71
5.6.340.0030.01014.59
5.6.330.0030.00914.33
5.6.320.0120.00314.65
5.6.310.0030.00614.53
5.6.300.0080.00514.73
5.6.290.0060.00314.40
5.6.280.0070.03817.90
5.6.270.0030.01014.66
5.6.260.0030.01014.55
5.6.250.0130.03017.42
5.6.240.0090.03317.67
5.6.230.0050.04517.55
5.6.220.0080.04317.54
5.6.210.0100.04317.65
5.6.200.0080.04617.84
5.6.190.0070.04417.63
5.6.180.0020.04317.77
5.6.170.0050.03517.66
5.6.160.0050.04617.89
5.6.150.0130.03817.65
5.6.140.0100.04217.82
5.6.130.0050.04817.72
5.6.120.0050.04617.95
5.6.110.0030.04517.89
5.6.100.0020.05017.82
5.6.90.0100.03117.66
5.6.80.0090.03317.32
5.6.70.0000.05217.55
5.6.60.0080.04717.33
5.6.50.0060.02617.46
5.6.40.0080.02517.46
5.6.30.0040.04717.48
5.6.20.0060.02917.27
5.6.10.0030.02817.50
5.6.00.0120.02317.41
5.5.380.0050.02817.47
5.5.370.0050.04417.51
5.5.360.0050.04317.49
5.5.350.0060.03417.36
5.5.340.0130.04217.68
5.5.330.0020.04917.76
5.5.320.0100.04117.55
5.5.310.0090.03217.78
5.5.300.0060.03617.72
5.5.290.0090.03717.59
5.5.280.0050.03817.76
5.5.270.0020.04417.68
5.5.260.0120.03917.49
5.5.250.0080.04617.37
5.5.240.0150.03417.23
5.5.230.0060.03117.34
5.5.220.0100.03717.26
5.5.210.0100.04017.42
5.5.200.0080.04217.34
5.5.190.0100.02317.29
5.5.180.0080.03917.20
5.5.170.0100.00614.36
5.5.160.0030.04517.32
5.5.150.0150.03317.30
5.5.140.0080.04317.30
5.5.130.0020.05017.26
5.5.120.0080.04217.30
5.5.110.0110.04017.24
5.5.100.0050.04317.04
5.5.90.0050.04417.21
5.5.80.0060.03817.21
5.5.70.0050.04717.19
5.5.60.0030.04617.19
5.5.50.0120.04017.13
5.5.40.0110.04217.21
5.5.30.0070.03017.01
5.5.20.0120.03317.03
5.5.10.0070.03517.10
5.5.00.0070.04517.07
5.4.450.0070.04515.80
5.4.440.0070.04015.80
5.4.430.0020.02415.84
5.4.420.0060.03615.75
5.4.410.0030.03915.74
5.4.400.0070.04215.69
5.4.390.0080.02315.51
5.4.380.0050.02715.73
5.4.370.0030.03415.60
5.4.360.0060.04015.52
5.4.350.0050.03115.64
5.4.340.0080.04315.68
5.4.330.0000.00812.22
5.4.320.0050.04015.63
5.4.310.0040.04115.52
5.4.300.0050.04315.73
5.4.290.0050.04015.50
5.4.280.0030.04215.63
5.4.270.0050.04015.67
5.4.260.0060.04315.66
5.4.250.0090.02715.51
5.4.240.0090.02215.51
5.4.230.0050.04115.67
5.4.220.0050.04015.68
5.4.210.0070.03515.56
5.4.200.0070.03815.59
5.4.190.0080.03815.50
5.4.180.0090.03715.56
5.4.170.0100.04015.65
5.4.160.0060.02615.71
5.4.150.0070.03115.67
5.4.140.0080.03514.12
5.4.130.0050.04014.12
5.4.120.0080.03714.27
5.4.110.0140.03614.24
5.4.100.0080.03814.24
5.4.90.0080.03114.29
5.4.80.0060.03814.24
5.4.70.0050.04014.26
5.4.60.0040.03614.28
5.4.50.0050.03914.26
5.4.40.0070.03614.25
5.4.30.0050.03614.28
5.4.20.0030.02914.20
5.4.10.0030.04514.20
5.4.00.0070.03413.94
5.3.290.0080.04113.37
5.3.280.0070.04213.33
5.3.270.0090.04013.35
5.3.260.0080.03613.43
5.3.250.0100.03513.40
5.3.240.0030.02513.42
5.3.230.0070.04113.40
5.3.220.0020.04113.40
5.3.210.0070.03713.40
5.3.200.0050.04113.33
5.3.190.0030.02813.39
5.3.180.0080.03513.39
5.3.170.0000.03313.39
5.3.160.0050.02413.38
5.3.150.0100.03713.36
5.3.140.0080.02313.33
5.3.130.0030.04313.32
5.3.120.0080.04013.32
5.3.110.0070.04013.39
5.3.100.0100.03713.06
5.3.90.0070.02413.12
5.3.80.0100.04013.11
5.3.70.0050.03013.12
5.3.60.0030.03213.11
5.3.50.0060.03513.03
5.3.40.0070.03513.09
5.3.30.0070.03513.03
5.3.20.0030.03812.94
5.3.10.0050.04112.90
5.3.00.0050.04012.92
5.2.170.0000.06712.47
5.2.160.0030.04712.47
5.2.150.0100.05712.47
5.2.140.0070.02712.47
5.2.130.0070.05312.47
5.2.120.0100.05012.47
5.2.110.0170.03012.47
5.2.100.0000.03712.47
5.2.90.0130.05312.47
5.2.80.0100.05312.47
5.2.70.0030.06312.47
5.2.60.0030.06312.47
5.2.50.0070.05712.47
5.2.40.0070.05712.47
5.2.30.0030.06312.47
5.2.20.0030.06312.47
5.2.10.0000.04012.47
5.2.00.0100.04312.47
5.1.60.0030.05012.47
5.1.50.0100.04712.47
5.1.40.0100.03712.47
5.1.30.0070.05312.47
5.1.20.0030.05312.47
5.1.10.0030.05312.47
5.1.00.0030.04712.47
5.0.50.0000.05012.47
5.0.40.0030.04312.47
5.0.30.0000.06312.47
5.0.20.0030.02712.47
5.0.10.0000.04712.47
5.0.00.0030.05012.47
4.4.90.0000.03712.47
4.4.80.0070.03312.47
4.4.70.0030.03012.47
4.4.60.0070.03312.47
4.4.50.0000.04012.47
4.4.40.0030.05312.47
4.4.30.0070.03312.47
4.4.20.0070.03012.47
4.4.10.0070.03012.47
4.4.00.0100.05012.47
4.3.110.0030.03712.47
4.3.100.0000.02712.47
4.3.90.0000.03712.47
4.3.80.0030.03712.47
4.3.70.0030.02712.47
4.3.60.0030.03312.47
4.3.50.0030.03712.47
4.3.40.0030.05012.47
4.3.30.0000.04012.47
4.3.20.0000.03312.47
4.3.10.0000.04012.47
4.3.00.0030.02712.47

preferences:
34.73 ms | 401 KiB | 5 Q