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 H34NC-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.0090.00917.00
8.3.50.0090.01022.07
8.3.40.0120.00318.93
8.3.30.0110.00419.13
8.3.20.0080.00020.21
8.3.10.0080.00023.66
8.3.00.0000.00819.63
8.2.180.0150.00618.41
8.2.170.0090.00922.96
8.2.160.0030.01420.52
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0040.00422.25
8.2.110.0050.00522.09
8.2.100.0090.00318.03
8.2.90.0000.00819.18
8.2.80.0040.00417.97
8.2.70.0040.00418.00
8.2.60.0000.00818.03
8.2.50.0000.00918.10
8.2.40.0030.00620.60
8.2.30.0040.00418.06
8.2.20.0040.00417.93
8.2.10.0040.00418.25
8.2.00.0040.00417.86
8.1.280.0040.01125.92
8.1.270.0030.00623.86
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.80
8.1.230.0080.00317.77
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0100.00017.60
8.1.190.0040.00417.38
8.1.180.0040.00418.10
8.1.170.0030.00618.71
8.1.160.0030.00718.85
8.1.150.0040.00418.89
8.1.140.0040.00417.55
8.1.130.0030.00317.76
8.1.120.0000.00817.66
8.1.110.0000.00717.56
8.1.100.0040.00417.67
8.1.90.0000.00717.58
8.1.80.0070.00017.63
8.1.70.0030.00617.57
8.1.60.0060.00317.78
8.1.50.0030.00517.72
8.1.40.0040.00417.66
8.1.30.0080.00017.67
8.1.20.0060.00317.72
8.1.10.0000.00717.76
8.1.00.0040.00417.64
8.0.300.0040.00418.77
8.0.290.0090.00016.88
8.0.280.0030.00318.50
8.0.270.0030.00317.32
8.0.260.0070.00017.31
8.0.250.0000.00717.05
8.0.240.0000.00817.09
8.0.230.0000.00717.11
8.0.220.0000.00717.03
8.0.210.0030.00617.07
8.0.200.0060.00017.14
8.0.190.0030.00517.09
8.0.180.0000.00917.09
8.0.170.0030.00617.04
8.0.160.0000.00716.95
8.0.150.0000.00717.05
8.0.140.0060.00317.03
8.0.130.0030.00313.44
8.0.120.0040.00416.88
8.0.110.0090.00016.95
8.0.100.0040.00417.10
8.0.90.0000.00717.05
8.0.80.0120.00317.12
8.0.70.0040.00416.93
8.0.60.0000.00716.97
8.0.50.0000.00716.88
8.0.30.0130.00817.35
8.0.20.0130.00617.40
8.0.10.0000.00817.00
8.0.00.0130.00616.79
7.4.330.0050.00015.05
7.4.320.0030.00316.85
7.4.300.0060.00016.79
7.4.290.0030.00316.86
7.4.280.0000.00716.78
7.4.270.0040.00416.89
7.4.260.0070.00016.62
7.4.250.0040.00416.68
7.4.240.0020.00516.74
7.4.230.0070.00016.80
7.4.220.0060.01316.83
7.4.210.0100.00316.83
7.4.200.0000.00716.79
7.4.190.0030.00516.92
7.4.160.0070.01116.71
7.4.150.0060.01217.40
7.4.140.0110.01117.86
7.4.130.0090.00916.78
7.4.120.0090.01116.82
7.4.110.0170.01016.56
7.4.100.0100.00716.68
7.4.90.0070.01017.02
7.4.80.0090.00819.39
7.4.70.0060.01316.54
7.4.60.0070.01016.38
7.4.50.0040.00016.39
7.4.40.0060.01216.78
7.4.30.0120.00416.72
7.4.00.0060.00915.25
7.3.330.0020.00213.34
7.3.320.0030.00313.43
7.3.310.0000.00716.65
7.3.300.0030.00316.50
7.3.290.0110.01116.48
7.3.280.0090.00916.49
7.3.270.0140.00317.40
7.3.260.0070.01116.52
7.3.250.0070.01016.77
7.3.240.0120.00916.60
7.3.230.0070.01016.66
7.3.210.0060.01216.75
7.3.200.0110.00819.39
7.3.190.0070.01016.56
7.3.180.0060.01116.50
7.3.170.0070.01116.70
7.3.160.0100.01016.45
7.3.120.0050.01215.13
7.3.110.0060.01215.21
7.3.100.0090.00614.93
7.3.90.0000.01815.18
7.3.80.0030.00914.94
7.3.70.0000.00914.94
7.3.60.0040.01115.12
7.3.50.0060.01215.11
7.3.40.0030.00915.18
7.3.30.0000.01414.71
7.3.20.0030.00816.90
7.3.10.0110.00416.98
7.3.00.0070.00516.99
7.2.330.0110.00616.85
7.2.320.0070.01016.91
7.2.310.0030.01617.02
7.2.300.0050.01316.83
7.2.290.0090.00916.85
7.2.250.0070.00715.20
7.2.240.0030.01315.13
7.2.230.0030.01015.45
7.2.220.0030.01315.55
7.2.210.0040.00715.52
7.2.200.0040.01115.01
7.2.190.0030.01014.94
7.2.180.0100.00315.25
7.2.170.0130.00015.46
7.2.130.0030.01117.23
7.2.120.0090.00617.21
7.2.110.0050.00517.10
7.2.100.0000.01217.15
7.2.90.0120.00616.91
7.2.80.0000.01616.89
7.2.70.0140.00417.24
7.2.60.0100.00717.08
7.2.50.0090.00916.92
7.2.40.0080.00417.13
7.2.30.0110.00416.99
7.2.20.0080.00817.15
7.2.10.0060.01117.19
7.2.00.0030.01117.16
7.1.330.0100.00715.84
7.1.320.0070.00715.94
7.1.310.0030.00615.63
7.1.300.0060.00915.89
7.1.290.0000.00916.05
7.1.280.0090.00016.09
7.1.270.0000.01116.08
7.1.260.0040.01115.95
7.1.250.0110.00715.90
7.1.240.0070.01016.11
7.1.230.0090.00615.75
7.1.220.0090.00016.10
7.1.210.0070.00415.95
7.1.200.0020.01116.04
7.1.190.0040.01216.07
7.1.180.0030.01215.75
7.1.170.0040.01116.02
7.1.160.0000.01316.01
7.1.150.0110.00415.75
7.1.140.0060.01215.97
7.1.130.0100.00715.56
7.1.120.0130.00315.81
7.1.110.0070.00715.98
7.1.100.0040.00716.09
7.1.90.0060.00615.99
7.1.80.0030.01515.98
7.1.70.0030.00716.77
7.1.60.0110.00817.71
7.1.50.0080.01016.50
7.1.40.0060.00615.98
7.1.30.0000.01215.93
7.1.20.0060.00615.91
7.1.10.0030.01015.81
7.1.00.0070.04019.11
7.0.330.0080.00415.66
7.0.320.0100.00715.76
7.0.310.0000.00815.30
7.0.300.0030.01015.41
7.0.290.0030.00615.36
7.0.280.0060.00615.71
7.0.270.0030.01015.27
7.0.260.0100.00315.49
7.0.250.0040.01115.41
7.0.240.0040.00715.70
7.0.230.0110.00715.58
7.0.220.0070.00715.39
7.0.210.0060.00915.44
7.0.200.0070.00516.21
7.0.190.0070.00715.48
7.0.180.0030.01315.66
7.0.170.0000.00915.59
7.0.160.0030.01015.57
7.0.150.0070.01015.57
7.0.140.0050.03818.77
7.0.130.0070.00515.59
7.0.120.0060.01015.66
7.0.110.0070.00715.44
7.0.100.0120.04117.76
7.0.90.0120.04017.66
7.0.80.0100.04317.79
7.0.70.0050.04317.80
7.0.60.0050.04517.81
7.0.50.0080.04317.98
7.0.40.0100.04016.92
7.0.30.0120.04216.85
7.0.20.0070.04616.74
7.0.10.0060.02616.94
7.0.00.0090.02316.86
5.6.380.0060.00914.65
5.6.370.0000.01514.61
5.6.360.0100.00314.34
5.6.350.0040.00814.41
5.6.340.0110.00414.39
5.6.330.0070.01014.76
5.6.320.0030.00814.18
5.6.310.0040.00814.29
5.6.300.0000.01214.48
5.6.290.0090.00614.32
5.6.280.0070.03917.80
5.6.270.0080.00814.41
5.6.260.0050.00814.40
5.6.250.0100.04517.43
5.6.240.0090.04317.35
5.6.230.0100.04317.47
5.6.220.0050.04617.46
5.6.210.0080.04117.51
5.6.200.0090.04417.71
5.6.190.0050.05017.79
5.6.180.0100.04017.71
5.6.170.0050.02817.63
5.6.160.0060.03817.78
5.6.150.0090.03717.56
5.6.140.0070.04617.71
5.6.130.0050.04517.77
5.6.120.0050.04917.70
5.6.110.0060.04317.52
5.6.100.0130.03217.82
5.6.90.0060.04617.55
5.6.80.0090.04317.23
5.6.70.0110.03917.24
5.6.60.0030.04817.46
5.6.50.0100.03617.37
5.6.40.0110.03317.34
5.6.30.0100.04017.30
5.6.20.0080.04117.31
5.6.10.0130.04217.35
5.6.00.0050.04217.46
5.5.380.0070.04215.78
5.5.370.0090.04015.79
5.5.360.0010.04915.90
5.5.350.0000.05015.80
5.5.340.0080.04215.96
5.5.330.0080.04115.98
5.5.320.0070.02516.03
5.5.310.0080.03816.03
5.5.300.0070.04116.08
5.5.290.0070.04515.99
5.5.280.0050.03315.93
5.5.270.0030.04316.04
5.5.260.0060.04616.06
5.5.250.0030.04915.86
5.5.240.0070.03415.63
5.5.230.0080.04015.71
5.5.220.0070.02715.61
5.5.210.0070.04215.61
5.5.200.0110.04115.63
5.5.190.0060.04615.63
5.5.180.0090.03715.62
5.5.170.0030.00311.00
5.5.160.0090.03815.55
5.5.150.0090.04115.64
5.5.140.0070.04015.61
5.5.130.0090.04115.58
5.5.120.0080.04015.50
5.5.110.0070.04115.55
5.5.100.0070.04215.62
5.5.90.0070.03415.61
5.5.80.0040.03915.56
5.5.70.0030.04215.58
5.5.60.0020.03915.53
5.5.50.0130.03115.58
5.5.40.0100.03915.54
5.5.30.0070.03715.58
5.5.20.0050.04415.48
5.5.10.0070.04315.57
5.5.00.0090.04115.51
5.4.450.0080.02715.32
5.4.440.0070.02215.12
5.4.430.0090.03915.18
5.4.420.0080.04115.24
5.4.410.0120.03515.07
5.4.400.0070.04215.09
5.4.390.0050.04214.92
5.4.380.0060.04015.06
5.4.370.0100.02115.12
5.4.360.0020.04615.08
5.4.350.0040.02814.95
5.4.340.0090.03815.14
5.4.330.0060.00711.18
5.4.320.0090.03814.90
5.4.310.0060.04015.04
5.4.300.0150.03514.98
5.4.290.0050.04014.89
5.4.280.0060.04315.05
5.4.270.0080.02215.17
5.4.260.0070.03814.99
5.4.250.0070.04314.92
5.4.240.0110.03814.92
5.4.230.0050.04115.01
5.4.220.0080.03714.97
5.4.210.0070.04114.90
5.4.200.0050.04014.99
5.4.190.0080.03015.09
5.4.180.0130.03314.95
5.4.170.0030.03815.02
5.4.160.0080.03814.98
5.4.150.0100.03814.95
5.4.140.0080.03613.68
5.4.130.0050.03213.69
5.4.120.0070.01813.70
5.4.110.0050.02113.72
5.4.100.0070.03213.71
5.4.90.0030.02113.76
5.4.80.0020.02613.70
5.4.70.0020.02413.74
5.4.60.0030.02013.67
5.4.50.0050.03713.63
5.4.40.0100.02013.66
5.4.30.0040.03513.68
5.4.20.0100.03513.64
5.4.10.0060.03813.64
5.4.00.0100.03713.38
5.3.290.0120.02812.84
5.3.280.0070.03912.80
5.3.270.0050.03912.74
5.3.260.0070.02312.81
5.3.250.0020.03012.78
5.3.240.0110.03512.82
5.3.230.0030.02212.79
5.3.220.0040.02012.76
5.3.210.0050.02512.79
5.3.200.0030.02112.72
5.3.190.0060.01812.72
5.3.180.0020.02312.77
5.3.170.0030.02512.78
5.3.160.0070.02112.80
5.3.150.0030.02112.70
5.3.140.0080.03012.71
5.3.130.0050.03712.71
5.3.120.0060.03812.79
5.3.110.0060.01912.78
5.3.100.0030.04012.51
5.3.90.0020.02412.45
5.3.80.0020.03812.40
5.3.70.0000.02112.44
5.3.60.0030.03112.48
5.3.50.0000.04712.41
5.3.40.0070.03812.36
5.3.30.0030.04012.39
5.3.20.0050.03212.35
5.3.10.0030.02112.26
5.3.00.0030.02112.31
5.2.170.0060.03311.10
5.2.160.0030.01611.11
5.2.150.0000.03611.11
5.2.140.0080.02711.00
5.2.130.0020.01711.06
5.2.120.0020.01811.03
5.2.110.0070.01811.04
5.2.100.0070.01311.07
5.2.90.0030.01510.97
5.2.80.0020.02011.05
5.2.70.0100.01511.08
5.2.60.0040.01610.95
5.2.50.0000.02611.05
5.2.40.0040.02611.04
5.2.30.0050.01611.01
5.2.20.0030.01611.02
5.2.10.0050.01510.89
5.2.00.0070.01510.83
5.1.60.0030.01510.51
5.1.50.0020.01610.42
5.1.40.0050.01310.50
5.1.30.0050.01310.64
5.1.20.0030.01510.72
5.1.10.0050.01310.58
5.1.00.0010.01710.54
5.0.50.0040.0109.76
5.0.40.0090.0059.76
5.0.30.0030.0209.76
5.0.20.0040.0109.76
5.0.10.0000.0169.76
5.0.00.0000.0199.76
4.4.90.0010.0159.76
4.4.80.0030.0079.76
4.4.70.0050.0079.76
4.4.60.0020.0109.76
4.4.50.0040.0089.76
4.4.40.0000.0189.76
4.4.30.0030.0109.76
4.4.20.0030.0099.76
4.4.10.0040.0089.76
4.4.00.0020.0159.76
4.3.110.0040.0089.76
4.3.100.0020.0109.76
4.3.90.0000.0149.76
4.3.80.0000.0249.76
4.3.70.0040.0069.76
4.3.60.0000.0099.76
4.3.50.0000.0119.76
4.3.40.0030.0109.76
4.3.30.0010.0149.76
4.3.20.0020.0209.76
4.3.10.0000.0109.76
4.3.00.0010.0129.76

preferences:
44.77 ms | 401 KiB | 5 Q