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.70.0180.00018.68
8.3.60.0120.00616.88
8.3.50.0100.01222.18
8.3.40.0000.01519.21
8.3.30.0110.00419.21
8.3.20.0040.00420.31
8.3.10.0050.00323.48
8.3.00.0030.00519.63
8.2.180.0150.00018.59
8.2.170.0120.00322.96
8.2.160.0130.00320.35
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.33
8.2.110.0100.00022.26
8.2.100.0120.00018.03
8.2.90.0030.00919.21
8.2.80.0030.00517.97
8.2.70.0050.00517.88
8.2.60.0000.00817.91
8.2.50.0000.00818.07
8.2.40.0060.00320.09
8.2.30.0040.00418.19
8.2.20.0050.00317.85
8.2.10.0000.00718.15
8.2.00.0000.00818.04
8.1.280.0110.01125.92
8.1.270.0040.00423.81
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00423.68
8.1.230.0070.00319.27
8.1.220.0040.00417.77
8.1.210.0030.00518.77
8.1.200.0030.00717.50
8.1.190.0030.00617.48
8.1.180.0070.00319.14
8.1.170.0040.00418.97
8.1.160.0050.00222.05
8.1.150.0040.00418.82
8.1.140.0040.00417.54
8.1.130.0000.00717.77
8.1.120.0040.00417.70
8.1.110.0000.00717.53
8.1.100.0000.00717.64
8.1.90.0000.00817.68
8.1.80.0000.00817.54
8.1.70.0070.00017.59
8.1.60.0040.00417.66
8.1.50.0050.00317.55
8.1.40.0080.00017.67
8.1.30.0000.00817.67
8.1.20.0040.00417.80
8.1.10.0030.00517.77
8.1.00.0030.00517.59
8.0.300.0000.00818.77
8.0.290.0040.00417.30
8.0.280.0000.00718.41
8.0.270.0000.00717.31
8.0.260.0000.00717.32
8.0.250.0000.00717.05
8.0.240.0030.00617.02
8.0.230.0040.00417.15
8.0.220.0050.00317.07
8.0.210.0000.00917.06
8.0.200.0030.00317.15
8.0.190.0050.00217.00
8.0.180.0000.00817.07
8.0.170.0040.00417.00
8.0.160.0070.00017.09
8.0.150.0000.00716.92
8.0.140.0080.00416.91
8.0.130.0030.00313.52
8.0.120.0050.00317.07
8.0.110.0000.00817.05
8.0.100.0070.00017.07
8.0.90.0050.00217.13
8.0.80.0060.00917.02
8.0.70.0000.00817.11
8.0.60.0040.00417.09
8.0.50.0000.00716.95
8.0.30.0090.01417.23
8.0.20.0140.00817.40
8.0.10.0040.00417.08
8.0.00.0060.01216.98
7.4.330.0000.00515.12
7.4.320.0060.00016.80
7.4.300.0030.00316.70
7.4.290.0070.00016.83
7.4.280.0080.00016.89
7.4.270.0050.00216.77
7.4.260.0000.00716.80
7.4.250.0050.00216.73
7.4.240.0010.00616.76
7.4.230.0000.00716.77
7.4.220.0090.00916.72
7.4.210.0060.01016.77
7.4.200.0080.00016.88
7.4.190.0080.00016.82
7.4.160.0090.01216.88
7.4.150.0070.01017.40
7.4.140.0100.00717.86
7.4.130.0100.01016.71
7.4.120.0080.00816.65
7.4.110.0130.01016.67
7.4.100.0040.01416.76
7.4.90.0090.01316.71
7.4.80.0130.00619.39
7.4.70.0000.02216.69
7.4.60.0070.01016.54
7.4.50.0040.00016.63
7.4.40.0120.00616.59
7.4.30.0060.01116.65
7.4.00.0030.01315.27
7.3.330.0000.00513.37
7.3.320.0050.00013.21
7.3.310.0050.00316.38
7.3.300.0000.00716.50
7.3.290.0000.01416.45
7.3.280.0080.01216.50
7.3.270.0100.00717.40
7.3.260.0140.00316.65
7.3.250.0100.00816.65
7.3.240.0070.01016.55
7.3.230.0080.00816.55
7.3.210.0100.00716.82
7.3.200.0140.00319.39
7.3.190.0100.00616.79
7.3.180.0070.00916.49
7.3.170.0160.00016.74
7.3.160.0120.00916.80
7.3.120.0030.01215.10
7.3.110.0060.01114.92
7.3.100.0070.01015.10
7.3.90.0080.00615.16
7.3.80.0040.01214.94
7.3.70.0010.01015.03
7.3.60.0070.00715.13
7.3.50.0050.00915.12
7.3.40.0040.00914.99
7.3.30.0040.01015.02
7.3.20.0070.00716.82
7.3.10.0090.00316.93
7.3.00.0060.00816.74
7.2.330.0090.00916.79
7.2.320.0120.00616.63
7.2.310.0150.00916.89
7.2.300.0100.01016.77
7.2.290.0040.01917.09
7.2.250.0070.00815.33
7.2.240.0090.00815.36
7.2.230.0080.00615.31
7.2.220.0070.00715.33
7.2.210.0050.00815.34
7.2.200.0060.00915.34
7.2.190.0070.00715.32
7.2.180.0030.01215.23
7.2.170.0030.00915.18
7.2.160.0120.00315.52
7.2.150.0100.00617.14
7.2.140.0060.00917.26
7.2.130.0090.00616.86
7.2.120.0110.00717.14
7.2.110.0040.01117.16
7.2.100.0070.01017.27
7.2.90.0070.01117.20
7.2.80.0040.01416.73
7.2.70.0030.01317.20
7.2.60.0090.00517.17
7.2.50.0030.01317.24
7.2.40.0140.00017.04
7.2.30.0070.00316.98
7.2.20.0110.00717.15
7.2.10.0090.00617.12
7.2.00.0080.00818.35
7.1.330.0050.00816.05
7.1.320.0060.00615.88
7.1.310.0020.01016.07
7.1.300.0050.01116.07
7.1.290.0090.00615.97
7.1.280.0040.01115.96
7.1.270.0060.00716.03
7.1.260.0030.01015.98
7.1.250.0060.00915.91
7.1.240.0000.01416.18
7.1.230.0040.01216.15
7.1.220.0000.01316.06
7.1.210.0120.00316.00
7.1.200.0060.00516.13
7.1.190.0070.00716.07
7.1.180.0100.00616.05
7.1.170.0030.00916.12
7.1.160.0060.01016.13
7.1.150.0000.01016.17
7.1.140.0090.00315.99
7.1.130.0000.01416.03
7.1.120.0030.01016.00
7.1.110.0070.01016.10
7.1.100.0050.00717.29
7.1.90.0030.01015.66
7.1.80.0030.01015.95
7.1.70.0050.00416.60
7.1.60.0090.01117.85
7.1.50.0030.00916.49
7.1.40.0040.01116.21
7.1.30.0080.00016.10
7.1.20.0100.00316.18
7.1.10.0080.00416.03
7.1.00.0060.03819.21
7.0.330.0060.00615.67
7.0.320.0060.00315.75
7.0.310.0070.00715.73
7.0.300.0150.00015.71
7.0.290.0030.01215.57
7.0.280.0000.01015.30
7.0.270.0070.00315.74
7.0.260.0120.00315.76
7.0.250.0060.00615.38
7.0.240.0070.00315.55
7.0.230.0060.00615.44
7.0.220.0030.00715.62
7.0.210.0040.00815.75
7.0.200.0050.00716.40
7.0.190.0030.01015.69
7.0.180.0030.01015.68
7.0.170.0040.01115.74
7.0.160.0000.01015.52
7.0.150.0030.00615.81
7.0.140.0020.04318.78
7.0.130.0060.00315.71
7.0.120.0040.01115.73
7.0.110.0040.00415.73
7.0.100.0170.02517.80
7.0.90.0180.03217.89
7.0.80.0130.02117.77
7.0.70.0080.02517.81
7.0.60.0080.03017.82
7.0.50.0150.03317.92
7.0.40.0050.04216.81
7.0.30.0040.02716.94
7.0.20.0020.02716.81
7.0.10.0000.03916.86
7.0.00.0060.02316.71
5.6.400.0050.00814.38
5.6.390.0030.01014.63
5.6.380.0070.00714.89
5.6.370.0070.00314.78
5.6.360.0090.00314.44
5.6.350.0060.00914.64
5.6.340.0060.00614.28
5.6.330.0060.00914.46
5.6.320.0030.01014.46
5.6.310.0000.01014.86
5.6.300.0030.00914.37
5.6.290.0000.01314.84
5.6.280.0090.03717.95
5.6.270.0100.00314.63
5.6.260.0040.00714.24
5.6.250.0080.02217.48
5.6.240.0030.02417.62
5.6.230.0110.01817.46
5.6.220.0060.02117.53
5.6.210.0060.03317.60
5.6.200.0050.02317.80
5.6.190.0050.02517.79
5.6.180.0030.02717.73
5.6.170.0020.03617.70
5.6.160.0050.03717.79
5.6.150.0030.03317.72
5.6.140.0030.02217.88
5.6.130.0030.02617.82
5.6.120.0070.02317.67
5.6.110.0000.02717.75
5.6.100.0090.02317.73
5.6.90.0080.01717.65
5.6.80.0050.04117.42
5.6.70.0070.04317.27
5.6.60.0080.04217.48
5.6.50.0030.04517.30
5.6.40.0070.04517.35
5.6.30.0050.04517.35
5.6.20.0080.03617.39
5.6.10.0070.04717.42
5.6.00.0110.04217.33
5.5.380.0070.02517.45
5.5.370.0110.02617.39
5.5.360.0030.03017.53
5.5.350.0100.03817.37
5.5.340.0070.03717.52
5.5.330.0050.02317.57
5.5.320.0050.03117.59
5.5.310.0010.02517.69
5.5.300.0070.02817.49
5.5.290.0080.02517.62
5.5.280.0000.04217.56
5.5.270.0030.04317.60
5.5.260.0030.02417.70
5.5.250.0010.02917.39
5.5.240.0090.02717.30
5.5.230.0070.04517.35
5.5.220.0120.03617.07
5.5.210.0050.04217.27
5.5.200.0060.04617.36
5.5.190.0110.03117.33
5.5.180.0080.04317.33
5.5.170.0070.00414.05
5.5.160.0070.04417.25
5.5.150.0070.04017.05
5.5.140.0100.03717.27
5.5.130.0110.04017.29
5.5.120.0070.02817.22
5.5.110.0050.03817.34
5.5.100.0090.03717.15
5.5.90.0120.03717.12
5.5.80.0100.04217.06
5.5.70.0120.03716.92
5.5.60.0130.04116.99
5.5.50.0030.04417.18
5.5.40.0060.04117.36
5.5.30.0080.04317.19
5.5.20.0070.03617.15
5.5.10.0050.02617.19
5.5.00.0100.04117.16
5.4.450.0080.02616.13
5.4.440.0030.02216.10
5.4.430.0080.02116.11
5.4.420.0050.02316.18
5.4.410.0060.03016.01
5.4.400.0030.02015.89
5.4.390.0080.03816.02
5.4.380.0080.03815.97
5.4.370.0070.04015.93
5.4.360.0050.04015.93
5.4.350.0060.02615.85
5.4.340.0030.03815.81
5.4.330.0070.00712.80
5.4.320.0050.04015.92
5.4.310.0110.03315.97
5.4.300.0030.03515.94
5.4.290.0050.03815.91
5.4.280.0050.04315.87
5.4.270.0050.04115.85
5.4.260.0080.04015.88
5.4.250.0080.03215.91
5.4.240.0020.03215.95
5.4.230.0050.04115.91
5.4.220.0070.04015.98
5.4.210.0050.03915.88
5.4.200.0040.04015.94
5.4.190.0050.04015.79
5.4.180.0070.04015.93
5.4.170.0080.04015.80
5.4.160.0110.03716.01
5.4.150.0030.03915.87
5.4.140.0030.03714.56
5.4.130.0050.03814.41
5.4.120.0020.02914.41
5.4.110.0050.04314.57
5.4.100.0050.04014.53
5.4.90.0070.03414.61
5.4.80.0030.03714.59
5.4.70.0050.04114.53
5.4.60.0040.04214.61
5.4.50.0030.04214.60
5.4.40.0090.04414.55
5.4.30.0040.04014.59
5.4.20.0050.04114.56
5.4.10.0110.03614.53
5.4.00.0110.03514.24
5.3.290.0050.03013.74
5.3.280.0050.04213.62
5.3.270.0020.05113.64
5.3.260.0040.03413.69
5.3.250.0020.04413.63
5.3.240.0060.04013.71
5.3.230.0070.04013.63
5.3.220.0050.02313.66
5.3.210.0030.04513.67
5.3.200.0050.03813.68
5.3.190.0060.04113.66
5.3.180.0070.03713.67
5.3.170.0010.04513.67
5.3.160.0070.03513.63
5.3.150.0030.03713.67
5.3.140.0070.04213.62
5.3.130.0070.03613.69
5.3.120.0020.04013.67
5.3.110.0030.04613.61
5.3.100.0020.03913.42
5.3.90.0060.03613.41
5.3.80.0100.03513.37
5.3.70.0090.03813.40
5.3.60.0080.03813.30
5.3.50.0050.04013.38
5.3.40.0090.03913.36
5.3.30.0000.04013.35
5.3.20.0030.03713.25
5.3.10.0060.03513.16
5.3.00.0050.03913.21
5.2.170.0100.06011.11
5.2.160.0070.06311.16
5.2.150.0070.06311.02
5.2.140.0000.04310.97
5.2.130.0030.06311.16
5.2.120.0070.05711.11
5.2.110.0100.05310.96
5.2.100.0070.06011.10
5.2.90.0100.06011.12
5.2.80.0000.06710.93
5.2.70.0030.06011.03
5.2.60.0130.05711.08
5.2.50.0170.05310.87
5.2.40.0070.06010.98
5.2.30.0170.05311.01
5.2.20.0000.06310.98
5.2.10.0030.05710.93
5.2.00.0070.05310.64
5.1.60.0030.03010.10
5.1.50.0030.02710.00
5.1.40.0070.05010.04
5.1.30.0130.05010.30
5.1.20.0070.05710.39
5.1.10.0130.0479.92
5.1.00.0030.05710.16
5.0.50.0030.0338.59
5.0.40.0030.0408.36
5.0.30.0000.0508.36
5.0.20.0030.0378.36
5.0.10.0030.0438.36
5.0.00.0030.0608.36
4.4.90.0030.0378.36
4.4.80.0000.0378.36
4.4.70.0070.0378.36
4.4.60.0100.0278.36
4.4.50.0000.0378.36
4.4.40.0030.0538.36
4.4.30.0000.0378.36
4.4.20.0070.0338.36
4.4.10.0030.0378.36
4.4.00.0030.0608.36
4.3.110.0000.0278.36
4.3.100.0030.0338.36
4.3.90.0130.0178.36
4.3.80.0030.0508.36
4.3.70.0030.0308.36
4.3.60.0070.0308.36
4.3.50.0030.0338.36
4.3.40.0030.0308.36
4.3.30.0000.0338.36
4.3.20.0030.0378.36
4.3.10.0000.0208.36
4.3.00.0000.0378.36

preferences:
54.9 ms | 401 KiB | 5 Q