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 7Hr34-5001nc'; $re1='.*?'; # Non-greedy match on filler $re41='([a-z]?[a-z])'; # Any Single Word Character (Not Whitespace) 1 or 2 $re43='(\\d\\d)'; # Any Single Digit 2 $re45='.*?'; # Non-greedy match on filler $re46='(-)'; # Any Single Character 1 $re47='(\\d\\d\\d)'; # Any Single Digit 3 if ($c=preg_match_all ("/".$re1.$re41.$re43.$re45.$re46.$re47."/is", $txt, $matches)) { $w1=$matches[1][0]; $d1=$matches[2][0]; $c1=$matches[3][0]; $d2=$matches[4][0]; print "($w1) ($d1) ($c1) ($d2)\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.40.0090.00619.00
8.3.30.0140.00019.18
8.3.20.0050.00320.30
8.3.10.0000.00823.70
8.3.00.0060.00319.50
8.2.170.0090.00922.96
8.2.160.0100.01020.39
8.2.150.0040.00724.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.38
8.2.110.0000.00922.21
8.2.100.0070.00718.03
8.2.90.0030.00719.16
8.2.80.0080.00017.97
8.2.70.0030.00617.75
8.2.60.0040.00418.16
8.2.50.0080.00018.07
8.2.40.0030.00619.91
8.2.30.0000.00718.22
8.2.20.0040.00417.86
8.2.10.0030.00518.16
8.2.00.0060.00317.96
8.1.270.0060.00323.96
8.1.260.0060.00326.35
8.1.250.0050.00328.09
8.1.240.0040.00724.02
8.1.230.0040.00718.95
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.48
8.1.190.0040.00417.35
8.1.180.0090.00019.13
8.1.170.0080.00018.60
8.1.160.0000.00721.96
8.1.150.0040.00418.84
8.1.140.0040.00417.61
8.1.130.0000.00817.90
8.1.120.0060.00317.65
8.1.110.0040.00417.61
8.1.100.0000.00717.63
8.1.90.0000.00717.61
8.1.80.0050.00317.61
8.1.70.0040.00417.63
8.1.60.0040.00417.62
8.1.50.0030.00517.63
8.1.40.0000.00817.60
8.1.30.0040.00417.64
8.1.20.0000.00717.68
8.1.10.0040.00417.61
8.1.00.0000.00817.56
8.0.300.0000.00718.77
8.0.290.0070.00017.05
8.0.280.0070.00018.46
8.0.270.0070.00017.30
8.0.260.0050.00317.30
8.0.250.0050.00217.11
8.0.240.0000.00717.17
8.0.230.0030.00316.97
8.0.220.0000.00717.06
8.0.210.0000.00817.04
8.0.200.0060.00016.98
8.0.190.0000.00717.11
8.0.180.0040.00416.93
8.0.170.0000.00817.08
8.0.160.0070.00017.09
8.0.150.0070.00016.95
8.0.140.0060.00317.03
8.0.130.0030.00313.46
8.0.120.0000.00716.97
8.0.110.0000.00717.04
8.0.100.0040.00416.87
8.0.90.0070.00016.93
8.0.80.0110.00316.93
8.0.70.0040.00417.07
8.0.60.0040.00416.82
8.0.50.0080.00017.07
8.0.30.0090.01417.25
8.0.20.0100.01217.43
8.0.10.0040.00417.03
8.0.00.0080.01417.08
7.4.330.0000.00515.05
7.4.320.0030.00316.82
7.4.300.0000.00616.74
7.4.290.0000.00716.66
7.4.280.0030.00316.61
7.4.270.0030.00616.61
7.4.260.0000.00816.84
7.4.250.0080.00016.70
7.4.240.0040.00316.82
7.4.230.0070.00016.74
7.4.220.0210.00416.72
7.4.210.0070.00716.72
7.4.200.0040.00416.78
7.4.190.0030.00316.84
7.4.160.0040.01116.64
7.4.150.0100.00717.40
7.4.140.0090.01117.86
7.4.130.0050.01216.74
7.4.120.0080.00916.69
7.4.110.0200.00016.77
7.4.100.0060.01316.79
7.4.90.0060.01216.75
7.4.80.0140.01219.39
7.4.70.0070.01116.73
7.4.60.0080.00816.52
7.4.50.0020.00216.62
7.4.40.0130.01016.53
7.4.30.0080.00816.73
7.4.00.0070.01115.11
7.3.330.0050.00013.34
7.3.320.0030.00313.38
7.3.310.0030.00516.56
7.3.300.0000.00716.52
7.3.290.0160.00316.53
7.3.280.0120.00716.49
7.3.270.0120.00617.40
7.3.260.0070.01216.72
7.3.250.0100.01116.57
7.3.240.0070.01016.76
7.3.230.0070.01016.80
7.3.210.0070.01116.36
7.3.200.0060.01419.39
7.3.190.0070.00916.67
7.3.180.0000.01616.44
7.3.170.0030.01316.71
7.3.160.0100.00616.71
7.3.120.0060.01014.94
7.3.110.0110.00714.79
7.3.100.0130.00415.02
7.3.90.0070.00714.87
7.3.80.0030.00615.21
7.3.70.0030.00814.95
7.3.60.0050.00514.96
7.3.50.0040.01114.98
7.3.40.0060.00815.04
7.3.30.0060.00815.02
7.3.20.0070.00916.87
7.3.10.0100.00316.75
7.3.00.0040.00916.94
7.2.330.0090.00916.82
7.2.320.0080.01216.92
7.2.310.0120.01216.89
7.2.300.0110.00716.91
7.2.290.0110.01116.84
7.2.250.0070.01215.31
7.2.240.0120.00715.29
7.2.230.0020.01315.32
7.2.220.0070.00915.13
7.2.210.0080.00615.30
7.2.200.0070.00515.08
7.2.190.0080.00615.44
7.2.180.0030.01115.31
7.2.170.0040.01115.20
7.2.160.0030.00915.03
7.2.150.0090.00617.20
7.2.140.0040.00817.00
7.2.130.0040.01116.98
7.2.120.0070.00717.20
7.2.110.0030.01317.04
7.2.100.0060.00916.89
7.2.90.0100.00316.91
7.2.80.0040.01017.19
7.2.70.0040.01117.13
7.2.60.0000.01217.02
7.2.50.0100.00716.99
7.2.40.0060.00817.30
7.2.30.0090.00317.29
7.2.20.0060.00617.18
7.2.10.0000.00917.18
7.2.00.0100.00818.18
7.1.330.0080.00815.92
7.1.320.0080.00715.99
7.1.310.0050.00715.89
7.1.300.0060.00515.80
7.1.290.0070.00515.93
7.1.280.0070.00515.89
7.1.270.0030.00915.90
7.1.260.0020.01116.02
7.1.250.0060.00615.96
7.1.240.0060.00616.13
7.1.230.0060.00615.96
7.1.220.0000.01216.00
7.1.210.0060.00716.02
7.1.200.0090.00315.88
7.1.190.0030.00916.01
7.1.180.0030.00616.00
7.1.170.0090.00015.80
7.1.160.0030.01416.07
7.1.150.0130.00315.92
7.1.140.0040.00716.00
7.1.130.0060.00616.08
7.1.120.0110.00416.00
7.1.110.0030.01015.83
7.1.100.0050.00517.24
7.1.90.0000.01116.00
7.1.80.0090.00616.02
7.1.70.0070.00716.72
7.1.60.0070.01217.74
7.1.50.0060.00616.61
7.1.40.0000.01216.08
7.1.30.0090.00615.79
7.1.20.0040.01215.76
7.1.10.0000.00915.87
7.1.00.0080.04019.20
7.0.330.0060.00615.74
7.0.320.0040.00815.54
7.0.310.0030.00615.52
7.0.300.0030.00715.55
7.0.290.0060.00615.48
7.0.280.0040.01115.26
7.0.270.0070.00315.71
7.0.260.0040.00415.79
7.0.250.0030.01015.77
7.0.240.0040.00715.49
7.0.230.0090.00015.34
7.0.220.0050.00515.41
7.0.210.0040.00415.81
7.0.200.0040.00516.21
7.0.190.0080.00015.48
7.0.180.0060.00615.73
7.0.170.0060.00615.79
7.0.160.0000.01415.62
7.0.150.0030.00615.32
7.0.140.0030.04018.95
7.0.130.0000.01015.38
7.0.120.0080.00315.73
7.0.110.0030.00615.75
7.0.100.0070.04318.77
7.0.90.0050.04518.80
7.0.80.0110.04018.62
7.0.70.0050.03418.65
7.0.60.0030.04718.62
7.0.50.0100.04318.81
7.0.40.0090.04216.83
7.0.30.0030.04316.82
7.0.20.0110.04216.73
7.0.10.0050.04516.67
7.0.00.0070.04816.79
5.6.400.0120.00014.75
5.6.390.0100.00714.67
5.6.380.0070.00414.63
5.6.370.0000.01114.59
5.6.360.0060.00614.46
5.6.350.0070.00314.72
5.6.340.0040.00814.69
5.6.330.0060.00314.33
5.6.320.0040.01114.11
5.6.310.0040.01114.65
5.6.300.0090.00014.65
5.6.290.0030.00814.09
5.6.280.0110.03717.52
5.6.270.0000.01814.66
5.6.260.0050.00514.67
5.6.250.0030.04517.72
5.6.240.0080.04617.46
5.6.230.0030.05217.69
5.6.220.0070.03817.42
5.6.210.0080.04417.49
5.6.200.0050.03017.86
5.6.190.0090.04917.63
5.6.180.0110.03617.69
5.6.170.0050.03817.70
5.6.160.0040.02817.75
5.6.150.0110.03617.79
5.6.140.0050.04017.90
5.6.130.0130.04117.81
5.6.120.0030.04517.84
5.6.110.0050.04417.75
5.6.100.0030.03017.66
5.6.90.0080.04117.77
5.6.80.0030.03817.43
5.6.70.0070.04217.37
5.6.60.0050.04317.41
5.6.50.0070.04217.38
5.6.40.0050.04217.29
5.6.30.0090.04417.44
5.6.20.0050.04717.48
5.6.10.0090.04017.35
5.6.00.0070.04417.31
5.5.380.0070.03817.49
5.5.370.0040.04217.58
5.5.360.0080.04617.36
5.5.350.0090.03817.21
5.5.340.0070.04017.38
5.5.330.0060.04617.51
5.5.320.0110.03617.54
5.5.310.0120.03817.60
5.5.300.0050.04517.54
5.5.290.0060.04717.60
5.5.280.0080.03517.42
5.5.270.0100.04517.48
5.5.260.0060.04617.46
5.5.250.0070.04217.24
5.5.240.0090.03917.22
5.5.230.0070.04417.32
5.5.220.0020.04617.37
5.5.210.0070.03317.32
5.5.200.0120.03217.15
5.5.190.0080.03017.08
5.5.180.0120.03917.21
5.5.170.0070.00714.05
5.5.160.0050.03617.23
5.5.150.0100.03717.06
5.5.140.0090.04017.23
5.5.130.0100.04017.34
5.5.120.0050.04717.19
5.5.110.0100.04517.23
5.5.100.0030.04317.07
5.5.90.0050.03417.20
5.5.80.0050.04517.16
5.5.70.0100.03517.17
5.5.60.0080.04317.12
5.5.50.0080.04117.12
5.5.40.0090.04017.01
5.5.30.0110.03017.08
5.5.20.0090.04217.24
5.5.10.0030.04817.30
5.5.00.0080.04217.09
5.4.450.0090.04115.17
5.4.440.0130.02815.23
5.4.430.0030.04015.27
5.4.420.0050.03915.31
5.4.410.0050.03215.13
5.4.400.0020.04415.05
5.4.390.0030.04415.05
5.4.380.0100.03515.01
5.4.370.0070.03814.85
5.4.360.0080.03915.06
5.4.350.0050.03914.94
5.4.340.0110.03015.07
5.4.330.0000.01110.86
5.4.320.0070.03214.84
5.4.310.0080.03615.07
5.4.300.0070.04115.09
5.4.290.0050.03315.07
5.4.280.0050.04014.87
5.4.270.0070.03714.98
5.4.260.0050.03514.89
5.4.250.0020.04214.82
5.4.240.0000.04815.01
5.4.230.0080.03514.92
5.4.220.0050.04214.98
5.4.210.0090.03615.01
5.4.200.0070.02714.76
5.4.190.0100.03514.95
5.4.180.0050.03514.86
5.4.170.0100.03715.01
5.4.160.0120.03514.90
5.4.150.0100.03815.03
5.4.140.0070.03713.69
5.4.130.0030.04213.46
5.4.120.0130.03313.68
5.4.110.0050.03913.65
5.4.100.0100.03513.61
5.4.90.0080.04013.60
5.4.80.0010.04313.62
5.4.70.0030.03413.66
5.4.60.0070.03413.69
5.4.50.0020.04513.55
5.4.40.0050.04013.77
5.4.30.0090.03513.50
5.4.20.0050.04113.69
5.4.10.0130.03313.80
5.4.00.0050.02513.44
5.3.290.0000.04512.64
5.3.280.0070.03512.57
5.3.270.0050.04312.55
5.3.260.0060.04312.64
5.3.250.0050.04012.42
5.3.240.0130.03512.51
5.3.230.0060.04312.40
5.3.220.0050.03812.45
5.3.210.0080.03812.35
5.3.200.0050.04312.41
5.3.190.0030.03812.33
5.3.180.0050.03812.59
5.3.170.0110.03612.45
5.3.160.0070.04012.41
5.3.150.0070.04012.55
5.3.140.0050.04212.48
5.3.130.0070.04012.49
5.3.120.0030.04312.47
5.3.110.0100.03312.43
5.3.100.0050.04112.08
5.3.90.0110.03112.24
5.3.80.0030.02512.16
5.3.70.0070.04012.08
5.3.60.0060.02512.21
5.3.50.0060.04112.09
5.3.40.0050.04212.10
5.3.30.0080.03812.11
5.3.20.0020.04211.93
5.3.10.0130.03111.88
5.3.00.0050.03711.87
5.2.170.0030.06312.40
5.2.160.0030.06012.40
5.2.150.0070.05712.40
5.2.140.0070.04012.40
5.2.130.0070.06012.40
5.2.120.0070.06012.40
5.2.110.0030.05712.40
5.2.100.0070.05012.40
5.2.90.0000.06712.40
5.2.80.0000.06312.40
5.2.70.0030.06312.40
5.2.60.0030.06312.40
5.2.50.0030.06312.40
5.2.40.0000.03712.40
5.2.30.0070.06012.40
5.2.20.0070.03712.40
5.2.10.0030.05312.40
5.2.00.0000.06712.40
5.1.60.0030.05712.40
5.1.50.0030.05712.40
5.1.40.0100.03712.40
5.1.30.0100.05712.40
5.1.20.0030.06012.40
5.1.10.0070.05312.40
5.1.00.0100.05012.40
5.0.50.0100.04312.40
5.0.40.0030.04312.40
5.0.30.0070.06712.40
5.0.20.0070.03712.40
5.0.10.0030.04312.40
5.0.00.0030.06012.40
4.4.90.0000.02712.40
4.4.80.0030.01712.40
4.4.70.0030.03312.40
4.4.60.0000.03012.40
4.4.50.0000.03312.40
4.4.40.0100.04712.40
4.4.30.0000.03712.40
4.4.20.0000.04012.40
4.4.10.0000.03712.40
4.4.00.0000.05712.40
4.3.110.0030.03012.40
4.3.100.0030.03012.40
4.3.90.0000.03712.40
4.3.80.0000.05712.40
4.3.70.0070.03012.40
4.3.60.0070.03012.40
4.3.50.0000.03012.40
4.3.40.0000.05712.40
4.3.30.0030.03312.40
4.3.20.0030.03712.40
4.3.10.0070.02312.40
4.3.00.0070.01712.40

preferences:
47.98 ms | 400 KiB | 5 Q