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 7H34NC-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.0070.01017.00
8.3.50.0140.00722.26
8.3.40.0160.00618.95
8.3.30.0110.00419.22
8.3.20.0040.00420.37
8.3.10.0040.00423.70
8.3.00.0000.00819.51
8.2.180.0040.01118.51
8.2.170.0040.01122.96
8.2.160.0100.00720.38
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00022.34
8.2.110.0040.00422.37
8.2.100.0040.00718.16
8.2.90.0030.00619.18
8.2.80.0080.00017.97
8.2.70.0060.00317.88
8.2.60.0000.00817.93
8.2.50.0050.00318.07
8.2.40.0040.00420.14
8.2.30.0040.00418.06
8.2.20.0030.00517.84
8.2.10.0000.00718.08
8.2.00.0060.00317.88
8.1.280.0140.00025.92
8.1.270.0080.00023.96
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.88
8.1.230.0040.00819.14
8.1.220.0000.00917.80
8.1.210.0000.00818.77
8.1.200.0030.00717.48
8.1.190.0060.00317.48
8.1.180.0090.00019.01
8.1.170.0030.00518.94
8.1.160.0080.00022.11
8.1.150.0000.00718.76
8.1.140.0040.00417.64
8.1.130.0000.00717.80
8.1.120.0040.00417.58
8.1.110.0080.00017.69
8.1.100.0040.00417.68
8.1.90.0040.00417.58
8.1.80.0050.00217.60
8.1.70.0040.00417.58
8.1.60.0030.00717.78
8.1.50.0040.00417.70
8.1.40.0040.00417.69
8.1.30.0000.00817.65
8.1.20.0000.00817.87
8.1.10.0000.00817.65
8.1.00.0000.00817.71
8.0.300.0040.00418.77
8.0.290.0040.00417.18
8.0.280.0030.00318.53
8.0.270.0000.00717.21
8.0.260.0000.00817.30
8.0.250.0030.00317.11
8.0.240.0060.00317.05
8.0.230.0070.00017.09
8.0.220.0000.00716.96
8.0.210.0030.00617.00
8.0.200.0000.00617.11
8.0.190.0040.00417.14
8.0.180.0080.00017.05
8.0.170.0080.00017.13
8.0.160.0040.00417.13
8.0.150.0000.00817.03
8.0.140.0030.00617.04
8.0.130.0000.00613.45
8.0.120.0000.00817.06
8.0.110.0030.00517.09
8.0.100.0040.00417.07
8.0.90.0050.00217.11
8.0.80.0060.00917.13
8.0.70.0040.00417.12
8.0.60.0040.00416.92
8.0.50.0040.00417.10
8.0.30.0120.00617.32
8.0.20.0130.00617.40
8.0.10.0040.00417.24
8.0.00.0060.01517.08
7.4.330.0020.00215.09
7.4.320.0000.00716.91
7.4.300.0040.00416.64
7.4.290.0030.00316.75
7.4.280.0070.00016.71
7.4.270.0030.00316.85
7.4.260.0000.00816.82
7.4.250.0000.00816.88
7.4.240.0040.00416.84
7.4.230.0000.00716.80
7.4.220.0070.01116.79
7.4.210.0040.01216.71
7.4.200.0000.00716.86
7.4.190.0000.00716.82
7.4.160.0040.01216.71
7.4.150.0130.00617.40
7.4.140.0070.00917.86
7.4.130.0140.00516.58
7.4.120.0140.00316.75
7.4.110.0100.01016.57
7.4.100.0140.00316.70
7.4.90.0040.01516.86
7.4.80.0160.00619.39
7.4.70.0070.01116.63
7.4.60.0070.01016.64
7.4.50.0030.00616.55
7.4.40.0100.00716.88
7.4.30.0090.00916.57
7.4.10.0110.00815.22
7.4.00.0060.01115.24
7.3.330.0000.00513.43
7.3.320.0000.00513.40
7.3.310.0000.00816.51
7.3.300.0000.00716.36
7.3.290.0060.01316.48
7.3.280.0100.01116.51
7.3.270.0120.00617.40
7.3.260.0090.00916.77
7.3.250.0120.00516.80
7.3.240.0130.00716.84
7.3.230.0100.00716.73
7.3.210.0130.00316.54
7.3.200.0120.00619.39
7.3.190.0060.01216.38
7.3.180.0080.00816.51
7.3.170.0000.01916.80
7.3.160.0110.00716.40
7.3.130.0100.00915.18
7.3.120.0090.00614.93
7.3.110.0060.01415.11
7.3.100.0030.01114.93
7.3.90.0080.00615.14
7.3.80.0040.00815.06
7.3.70.0050.00614.98
7.3.60.0030.01315.14
7.3.50.0050.01014.99
7.3.40.0030.00914.92
7.3.30.0060.00614.93
7.3.20.0070.00716.94
7.3.10.0070.00716.78
7.3.00.0040.00916.75
7.2.330.0140.00316.84
7.2.320.0110.00816.83
7.2.310.0130.01016.96
7.2.300.0060.01117.05
7.2.290.0090.00916.95
7.2.260.0130.00315.21
7.2.250.0050.01315.16
7.2.240.0050.00915.37
7.2.230.0060.00715.15
7.2.220.0000.01415.30
7.2.210.0030.00915.21
7.2.200.0050.01015.11
7.2.190.0060.00615.36
7.2.180.0080.00615.20
7.2.170.0030.01115.35
7.2.160.0040.01115.33
7.2.150.0070.01017.03
7.2.140.0110.00617.04
7.2.130.0050.00917.20
7.2.120.0040.01017.04
7.2.110.0060.00817.15
7.2.100.0050.00817.16
7.2.90.0090.00317.06
7.2.80.0060.00716.95
7.2.70.0050.00817.14
7.2.60.0070.00717.02
7.2.50.0070.00717.22
7.2.40.0090.00817.09
7.2.30.0030.01017.06
7.2.20.0090.00717.18
7.2.10.0060.00717.10
7.2.00.0050.00917.06
7.1.330.0030.01016.08
7.1.320.0030.00616.21
7.1.310.0050.00715.97
7.1.300.0110.00216.04
7.1.290.0070.00315.74
7.1.280.0110.00516.16
7.1.270.0040.00916.04
7.1.260.0040.00616.04
7.1.250.0070.00615.90
7.1.240.0040.00915.93
7.1.230.0060.00815.86
7.1.220.0030.01016.04
7.1.210.0060.00716.04
7.1.200.0060.00615.89
7.1.190.0040.00716.10
7.1.180.0050.00816.02
7.1.170.0070.00416.04
7.1.160.0040.00816.02
7.1.150.0040.00915.86
7.1.140.0070.00515.95
7.1.130.0040.00915.93
7.1.120.0040.00915.95
7.1.110.0030.00916.02
7.1.100.0050.00616.08
7.1.90.0050.00415.92
7.1.80.0050.00716.07
7.1.70.0090.00316.35
7.1.60.0060.00816.69
7.1.50.0050.01116.36
7.1.40.0060.00516.06
7.1.30.0050.00715.91
7.1.20.0040.00815.91
7.1.10.0060.00616.03
7.1.00.0060.02217.59
7.0.330.0020.00815.60
7.0.320.0050.00915.53
7.0.310.0050.00715.49
7.0.300.0050.00815.46
7.0.290.0040.00615.53
7.0.280.0020.00715.63
7.0.270.0080.00515.63
7.0.260.0060.00715.57
7.0.250.0060.00415.57
7.0.240.0050.00415.71
7.0.230.0060.00615.65
7.0.220.0050.00915.58
7.0.210.0060.00615.40
7.0.200.0030.00715.84
7.0.190.0030.00815.71
7.0.180.0050.00615.61
7.0.170.0070.00515.65
7.0.160.0040.00815.68
7.0.150.0050.00515.58
7.0.140.0060.02117.24
7.0.130.0050.00715.59
7.0.120.0090.00315.67
7.0.110.0060.00915.65
7.0.100.0030.02816.70
7.0.90.0120.03016.65
7.0.80.0110.02316.74
7.0.70.0080.02316.66
7.0.60.0110.02216.74
7.0.50.0090.02716.75
7.0.40.0050.01915.23
7.0.30.0070.02515.12
7.0.20.0060.02915.24
7.0.10.0060.02915.25
7.0.00.0070.02715.31
5.6.400.0040.00614.61
5.6.390.0050.00714.45
5.6.380.0080.00614.33
5.6.370.0060.00814.63
5.6.360.0050.00914.52
5.6.350.0070.00514.66
5.6.340.0040.00814.66
5.6.330.0070.00614.26
5.6.320.0080.00314.50
5.6.310.0030.01014.53
5.6.300.0040.00614.50
5.6.290.0050.00714.73
5.6.280.0080.02216.18
5.6.270.0080.00814.41
5.6.260.0080.00814.56
5.6.250.0080.01916.01
5.6.240.0070.02616.07
5.6.230.0090.02316.01
5.6.220.0070.02716.03
5.6.210.0060.02616.07
5.6.200.0070.02416.19
5.6.190.0060.02516.10
5.6.180.0060.02616.14
5.6.170.0060.02515.99
5.6.160.0050.02316.11
5.6.150.0090.02116.08
5.6.140.0070.02516.12
5.6.130.0050.02116.11
5.6.120.0070.02316.03
5.6.110.0070.02616.19
5.6.100.0080.02716.14
5.6.90.0060.02516.16
5.6.80.0070.02615.88
5.6.70.0050.02715.80
5.6.60.0040.02715.97
5.6.50.0070.02415.87
5.6.40.0070.01615.87
5.6.30.0060.02615.89
5.6.20.0080.01515.80
5.6.10.0050.02915.86
5.6.00.0030.02215.91
5.5.380.0080.02315.00
5.5.370.0070.02315.20
5.5.360.0060.02015.14
5.5.350.0050.02615.07
5.5.340.0080.02115.20
5.5.330.0030.02415.23
5.5.320.0070.01515.30
5.5.310.0070.02515.16
5.5.300.0050.02415.34
5.5.290.0070.03015.08
5.5.280.0030.02715.19
5.5.270.0070.02215.12
5.5.260.0070.02515.20
5.5.250.0050.02515.04
5.5.240.0100.02115.02
5.5.230.0060.01514.95
5.5.220.0050.02214.96
5.5.210.0080.02615.06
5.5.200.0030.02915.04
5.5.190.0050.03115.09
5.5.180.0080.02215.04
5.5.170.0070.00713.24
5.5.160.0080.02214.98
5.5.150.0030.02514.96
5.5.140.0070.02115.03
5.5.130.0050.01415.12
5.5.120.0050.01315.06
5.5.110.0040.01514.97
5.5.100.0050.01714.92
5.5.90.0040.01614.94
5.5.80.0070.01414.93
5.5.70.0060.01414.88
5.5.60.0040.01214.95
5.5.50.0080.01114.98
5.5.40.0020.01715.02
5.5.30.0030.01514.87
5.5.20.0060.02214.91
5.5.10.0080.02114.92
5.5.00.0030.01514.82
5.4.450.0020.01913.55
5.4.440.0070.02513.48
5.4.430.0090.01913.45
5.4.420.0030.02113.45
5.4.410.0060.01313.34
5.4.400.0050.01913.43
5.4.390.0030.01413.39
5.4.380.0010.02713.32
5.4.370.0030.01713.37
5.4.360.0080.02213.38
5.4.350.0070.02013.30
5.4.340.0020.01713.35
5.4.330.0030.00811.41
5.4.320.0050.02213.36
5.4.310.0040.01913.28
5.4.300.0040.01313.37
5.4.290.0020.01513.34
5.4.280.0040.01513.34
5.4.270.0060.01113.34
5.4.260.0020.02113.35
5.4.250.0010.01613.37
5.4.240.0040.01213.37
5.4.230.0030.01413.29
5.4.220.0030.01413.40
5.4.210.0050.01413.42
5.4.200.0020.01513.40
5.4.190.0050.02013.36
5.4.180.0030.01513.29
5.4.170.0020.01613.42
5.4.160.0030.01513.35
5.4.150.0040.01613.42
5.4.140.0040.01312.77
5.4.130.0050.01212.75
5.4.120.0030.01412.71
5.4.110.0040.01512.80
5.4.100.0030.01412.70
5.4.90.0030.01512.63
5.4.80.0070.01012.69
5.4.70.0050.01312.71
5.4.60.0030.01512.66
5.4.50.0040.01512.61
5.4.40.0040.01312.70
5.4.30.0050.01212.64
5.4.20.0040.01412.72
5.4.10.0030.01512.67
5.4.00.0060.01412.54
5.3.290.0050.01912.10
5.3.280.0040.01312.08
5.3.270.0050.02012.02
5.3.260.0010.02312.04
5.3.250.0060.00912.04
5.3.240.0020.01411.94
5.3.230.0050.01412.04
5.3.220.0050.01112.00
5.3.210.0040.01512.01
5.3.200.0030.01311.98
5.3.190.0030.01611.99
5.3.180.0060.01212.02
5.3.170.0050.01512.03
5.3.160.0040.01312.05
5.3.150.0030.01212.04
5.3.140.0040.01312.09
5.3.130.0040.01211.98
5.3.120.0020.01612.00
5.3.110.0020.01712.02
5.3.100.0050.01111.87
5.3.90.0020.01511.89
5.3.80.0050.01111.88
5.3.70.0020.01511.85
5.3.60.0040.01411.86
5.3.50.0030.01411.79
5.3.40.0050.01111.80
5.3.30.0060.01211.87
5.3.20.0020.01311.79
5.3.10.0040.01311.76
5.3.00.0020.01611.69
5.2.170.0030.01510.98
5.2.160.0000.02210.94
5.2.150.0000.01910.90
5.2.140.0050.01510.87
5.2.130.0020.01710.93
5.2.120.0060.01210.94
5.2.110.0030.03010.94
5.2.100.0020.02110.86
5.2.90.0060.01510.90
5.2.80.0050.02110.86
5.2.70.0020.01910.86
5.2.60.0050.01710.86
5.2.50.0020.01910.88
5.2.40.0050.01510.90
5.2.30.0050.02110.86
5.2.20.0050.01810.86
5.2.10.0100.02710.86
5.2.00.0030.03410.86
5.1.60.0030.02310.86
5.1.50.0030.02810.86
5.1.40.0040.02710.86
5.1.30.0020.02910.86
5.1.20.0050.01810.86
5.1.10.0050.02510.86
5.1.00.0050.02810.86
5.0.50.0000.02410.86
5.0.40.0020.01710.86
5.0.30.0000.03910.86
5.0.20.0090.01810.86
5.0.10.0030.01910.86
5.0.00.0000.03210.86
4.4.90.0020.01410.86
4.4.80.0000.01310.86
4.4.70.0040.01410.86
4.4.60.0020.01710.86
4.4.50.0050.01310.86
4.4.40.0050.01810.86
4.4.30.0020.01510.86
4.4.20.0070.01710.86
4.4.10.0050.01810.86
4.4.00.0020.02710.86
4.3.110.0030.01610.86
4.3.100.0020.01710.86
4.3.90.0020.02010.86
4.3.80.0030.02710.86
4.3.70.0030.01710.86
4.3.60.0020.01510.86
4.3.50.0000.02010.86
4.3.40.0030.02610.86
4.3.30.0050.01810.86
4.3.20.0030.01810.86
4.3.10.0020.02010.86
4.3.00.0020.02010.86

preferences:
43.43 ms | 401 KiB | 5 Q