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]?[a-z])'; # Any Single Word Character (Not Whitespace) 1 or 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]; 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.00317.00
8.3.50.0100.00922.15
8.3.40.0150.00619.04
8.3.30.0080.00819.12
8.3.20.0050.00320.13
8.3.10.0030.00623.66
8.3.00.0040.00419.63
8.2.180.0150.00618.71
8.2.170.0120.00322.96
8.2.160.0120.00620.38
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0040.00422.17
8.2.110.0050.00520.53
8.2.100.0100.00318.16
8.2.90.0060.00319.36
8.2.80.0000.00817.97
8.2.70.0030.00717.75
8.2.60.0000.00918.05
8.2.50.0040.00418.07
8.2.40.0030.00620.18
8.2.30.0000.00718.18
8.2.20.0040.00417.92
8.2.10.0000.00718.22
8.2.00.0000.00718.11
8.1.280.0000.01425.92
8.1.270.0090.00023.92
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0030.00623.96
8.1.230.0100.00017.64
8.1.220.0040.00417.91
8.1.210.0050.00318.77
8.1.200.0060.00617.60
8.1.190.0000.00817.60
8.1.180.0050.00519.13
8.1.170.0060.00318.71
8.1.160.0040.00422.07
8.1.150.0000.00718.88
8.1.140.0050.00217.70
8.1.130.0000.00817.82
8.1.120.0050.00217.55
8.1.110.0040.00417.66
8.1.100.0040.00417.55
8.1.90.0040.00417.61
8.1.80.0040.00417.66
8.1.70.0000.00717.50
8.1.60.0090.00017.76
8.1.50.0030.00517.72
8.1.40.0050.00317.66
8.1.30.0040.00417.63
8.1.20.0070.00017.77
8.1.10.0000.00817.79
8.1.00.0080.00017.63
8.0.300.0050.00318.77
8.0.290.0000.00717.00
8.0.280.0030.00418.54
8.0.270.0000.00717.35
8.0.260.0070.00017.31
8.0.250.0080.00017.21
8.0.240.0040.00417.18
8.0.230.0030.00317.21
8.0.220.0000.00717.14
8.0.210.0000.01017.16
8.0.200.0030.00317.13
8.0.190.0000.00917.24
8.0.180.0040.00417.21
8.0.170.0030.00617.18
8.0.160.0000.00717.08
8.0.150.0080.00016.94
8.0.140.0070.00317.14
8.0.130.0030.00313.63
8.0.120.0030.00617.13
8.0.110.0050.00317.13
8.0.100.0000.00717.13
8.0.90.0050.00317.11
8.0.80.0060.00917.16
8.0.70.0040.00417.10
8.0.60.0070.00017.16
8.0.50.0070.00016.98
8.0.30.0090.00917.08
8.0.20.0110.00817.40
8.0.10.0000.00717.07
8.0.00.0060.01216.81
7.4.330.0000.00615.04
7.4.320.0000.00616.84
7.4.300.0030.00316.70
7.4.290.0030.00316.74
7.4.280.0070.00016.74
7.4.270.0000.00716.66
7.4.260.0000.00716.66
7.4.250.0040.00416.63
7.4.240.0030.00516.78
7.4.230.0030.00316.72
7.4.220.0150.00616.89
7.4.210.0060.00916.70
7.4.200.0000.00716.69
7.4.190.0030.00316.58
7.4.160.0120.00416.58
7.4.150.0090.00917.40
7.4.140.0100.00817.86
7.4.130.0110.00616.79
7.4.120.0090.00716.84
7.4.110.0080.00916.73
7.4.100.0080.01116.71
7.4.90.0030.01316.91
7.4.80.0130.01019.39
7.4.70.0120.00916.95
7.4.60.0160.00716.61
7.4.50.0040.00416.58
7.4.40.0140.00316.44
7.4.30.0090.00916.56
7.4.00.0000.01615.05
7.3.330.0000.00513.40
7.3.320.0000.00513.48
7.3.310.0000.00716.62
7.3.300.0070.00016.59
7.3.290.0070.00716.59
7.3.280.0080.01016.54
7.3.270.0090.00917.40
7.3.260.0240.01716.56
7.3.250.0070.01116.72
7.3.240.0080.00816.71
7.3.230.0110.00516.66
7.3.210.0130.00316.88
7.3.200.0060.00916.75
7.3.190.0150.00616.73
7.3.180.0070.01416.74
7.3.170.0110.01116.68
7.3.160.0110.00816.81
7.3.120.0050.01014.89
7.3.110.0030.01214.64
7.3.100.0040.01215.14
7.3.90.0000.01515.33
7.3.80.0040.01415.07
7.3.70.0000.01515.13
7.3.60.0040.01115.16
7.3.50.0000.01515.08
7.3.40.0090.00914.90
7.3.30.0060.01315.11
7.3.20.0000.01016.98
7.3.10.0000.01317.04
7.3.00.0030.00916.88
7.2.330.0140.00316.72
7.2.320.0110.00817.09
7.2.310.0120.00616.88
7.2.300.0130.00416.90
7.2.290.0140.00316.89
7.2.250.0030.01415.32
7.2.240.0070.01315.45
7.2.230.0060.01215.22
7.2.220.0100.00715.11
7.2.210.0070.00415.18
7.2.200.0060.00915.30
7.2.190.0030.01015.07
7.2.180.0060.01015.43
7.2.170.0030.01715.25
7.2.110.0130.00616.99
7.2.100.0160.00316.68
7.2.90.0130.00716.93
7.2.80.0130.00817.07
7.2.70.0140.00617.17
7.2.60.0070.01117.29
7.2.50.0200.00816.87
7.2.40.0100.00617.10
7.2.30.0110.00817.32
7.2.20.0090.00917.07
7.2.10.0090.00917.18
7.2.00.0080.00818.35
7.1.330.0070.00716.10
7.1.320.0130.00315.99
7.1.310.0110.00415.88
7.1.300.0060.00915.79
7.1.290.0000.01615.73
7.1.280.0090.00916.18
7.1.270.0040.01515.90
7.1.260.0130.00015.86
7.1.230.0400.00615.91
7.1.220.0130.00416.13
7.1.210.0080.00815.85
7.1.200.0000.01415.90
7.1.190.0210.00615.93
7.1.180.0130.01016.07
7.1.170.0180.00715.96
7.1.160.0120.00816.06
7.1.150.0130.00516.10
7.1.140.0210.00315.95
7.1.130.0180.00015.68
7.1.120.0080.00415.96
7.1.110.0150.00315.82
7.1.100.0100.00317.37
7.1.90.0100.01015.84
7.1.80.0370.00316.16
7.1.70.0050.00716.74
7.1.60.0110.01017.88
7.1.50.0090.00916.54
7.1.40.0100.00716.18
7.1.30.0080.00816.05
7.1.20.0110.00816.23
7.1.10.0050.00915.84
7.1.00.0100.04519.14
7.0.310.0450.00315.57
7.0.300.0110.00415.57
7.0.290.0100.00515.63
7.0.280.0080.00415.49
7.0.270.0340.00915.36
7.0.260.0090.00315.71
7.0.250.0110.00715.54
7.0.240.0130.00315.50
7.0.230.0190.00015.61
7.0.220.0100.00315.75
7.0.210.0070.00815.41
7.0.200.0080.00216.36
7.0.190.0060.00915.75
7.0.180.0120.00015.69
7.0.170.0060.00915.71
7.0.160.0140.00315.59
7.0.150.0090.00615.75
7.0.140.0090.03618.99
7.0.130.0060.00615.70
7.0.120.0090.00615.49
7.0.110.0150.00415.72
7.0.100.0260.03117.71
7.0.90.0040.02917.76
7.0.80.0080.04517.80
7.0.70.0130.02817.69
7.0.60.0120.03317.66
7.0.50.0090.04017.99
7.0.40.0040.03416.84
7.0.30.0110.04616.58
7.0.20.0050.04216.74
7.0.10.0110.04016.97
7.0.00.0130.04216.97
5.6.380.0090.00614.10
5.6.370.0070.00514.51
5.6.360.0080.01214.11
5.6.350.0050.00814.76
5.6.340.0160.00014.56
5.6.330.0110.00314.11
5.6.320.0110.00314.54
5.6.310.0120.00214.63
5.6.300.0030.00914.81
5.6.290.0090.00614.62
5.6.280.0090.03717.74
5.6.270.0050.00914.66
5.6.260.0110.00414.63
5.6.250.0100.02717.48
5.6.240.0060.03917.53
5.6.230.0090.04217.48
5.6.220.0080.04317.47
5.6.210.0070.04417.48
5.6.200.0050.04417.69
5.6.190.0060.04817.72
5.6.180.0100.03217.76
5.6.170.0120.04217.82
5.6.160.0130.04317.77
5.6.150.0060.03317.90
5.6.140.0100.04117.89
5.6.130.0140.02517.89
5.6.120.0120.02017.61
5.6.110.0090.02317.68
5.6.100.0110.02217.72
5.6.90.0050.02317.74
5.6.80.0090.01917.49
5.6.70.0060.02117.35
5.6.60.0070.02317.43
5.6.50.0140.03017.34
5.6.40.0080.01817.29
5.6.30.0070.02217.32
5.6.20.0090.04017.51
5.6.10.0080.02117.54
5.6.00.0070.01817.30
5.5.380.0120.03216.62
5.5.370.0090.03816.57
5.5.360.0060.02816.57
5.5.350.0080.04516.63
5.5.340.0060.04516.79
5.5.330.0050.04516.84
5.5.320.0100.03816.86
5.5.310.0080.04516.82
5.5.300.0070.04216.85
5.5.290.0040.04316.85
5.5.280.0050.03916.85
5.5.270.0070.03516.85
5.5.260.0070.02216.75
5.5.250.0070.02016.75
5.5.240.0060.02116.53
5.5.230.0020.02716.48
5.5.220.0100.01716.44
5.5.210.0070.02916.51
5.5.200.0110.01916.47
5.5.190.0100.01316.51
5.5.180.0070.02416.47
5.5.170.0120.00314.27
5.5.160.0040.02216.50
5.5.150.0060.01816.45
5.5.140.0060.02216.43
5.5.130.0050.02216.51
5.5.120.0070.01916.45
5.5.110.0060.02116.45
5.5.100.0080.02316.42
5.5.90.0080.02116.43
5.5.80.0010.02316.41
5.5.70.0060.02016.44
5.5.60.0030.02016.37
5.5.50.0070.02216.39
5.5.40.0050.01916.47
5.5.30.0050.02016.44
5.5.20.0030.02116.37
5.5.10.0060.02016.43
5.5.00.0020.02216.44
5.4.450.0050.03716.08
5.4.440.0020.02516.04
5.4.430.0080.02116.09
5.4.420.0080.03215.95
5.4.410.0110.01815.88
5.4.400.0080.01815.93
5.4.390.0070.01815.95
5.4.380.0100.01215.95
5.4.370.0060.02015.97
5.4.360.0060.01915.93
5.4.350.0040.02215.88
5.4.340.0040.01915.97
5.4.330.0050.00512.79
5.4.320.0070.01715.92
5.4.310.0080.01915.87
5.4.300.0070.01615.84
5.4.290.0080.01815.88
5.4.280.0120.01815.96
5.4.270.0080.01715.84
5.4.260.0030.02015.91
5.4.250.0090.01715.80
5.4.240.0060.02215.90
5.4.230.0080.01815.86
5.4.220.0050.01816.00
5.4.210.0060.01815.96
5.4.200.0060.01815.93
5.4.190.0060.01615.99
5.4.180.0020.02015.92
5.4.170.0050.02215.88
5.4.160.0090.01715.95
5.4.150.0050.02115.79
5.4.140.0030.02014.53
5.4.130.0060.01614.49
5.4.120.0040.01814.52
5.4.110.0080.01714.52
5.4.100.0100.01314.52
5.4.90.0030.01814.50
5.4.80.0050.02014.57
5.4.70.0030.02114.55
5.4.60.0070.02114.50
5.4.50.0030.02214.51
5.4.40.0080.02014.53
5.4.30.0040.01914.60
5.4.20.0050.02414.53
5.4.10.0050.01914.54
5.4.00.0100.01514.25
5.3.290.0060.01813.73
5.3.280.0000.02413.68
5.3.270.0040.02013.61
5.3.260.0030.02013.63
5.3.250.0060.01713.70
5.3.240.0060.01513.69
5.3.230.0050.01713.71
5.3.220.0060.01713.69
5.3.210.0080.01813.68
5.3.200.0050.02013.66
5.3.190.0060.01813.62
5.3.180.0040.02613.64
5.3.170.0050.03613.66
5.3.160.0130.01213.65
5.3.150.0050.02013.60
5.3.140.0060.01813.66
5.3.130.0100.03813.64
5.3.120.0030.03713.65
5.3.110.0080.02713.68
5.3.100.0030.02213.41
5.3.90.0070.01713.40
5.3.80.0050.02313.35
5.3.70.0080.03813.33
5.3.60.0050.01813.28
5.3.50.0040.03813.30
5.3.40.0060.03313.35
5.3.30.0100.03813.33
5.3.20.0040.02713.23
5.3.10.0050.02013.10
5.3.00.0070.02513.20
5.2.170.0030.02811.96
5.2.160.0050.03411.90
5.2.150.0050.02211.90
5.2.140.0050.02211.94
5.2.130.0050.03011.94
5.2.120.0040.02811.97
5.2.110.0060.03111.86
5.2.100.0070.03211.96
5.2.90.0050.02011.95
5.2.80.0030.02811.95
5.2.70.0040.03211.96
5.2.60.0050.02811.96
5.2.50.0120.02711.87
5.2.40.0030.02211.82
5.2.30.0060.01911.91
5.2.20.0030.03111.81
5.2.10.0080.03011.85
5.2.00.0020.02111.72
5.1.60.0030.02711.44
5.1.50.0050.01311.41
5.1.40.0040.03111.39
5.1.30.0070.01511.60
5.1.20.0050.02311.57
5.1.10.0050.01311.43
5.1.00.0050.01511.46
5.0.50.0030.01310.93
5.0.40.0070.01510.93
5.0.30.0030.01710.93
5.0.20.0030.01310.93
5.0.10.0030.01510.93
5.0.00.0030.01810.93
4.4.90.0020.01210.93
4.4.80.0030.01510.93
4.4.70.0020.01310.93
4.4.60.0020.01710.93
4.4.50.0020.02010.93
4.4.40.0020.01510.93
4.4.30.0070.01210.93
4.4.20.0010.01310.93
4.4.10.0000.01110.93
4.4.00.0020.01510.93
4.3.110.0020.01210.93
4.3.100.0110.00810.93
4.3.90.0020.01410.93
4.3.80.0050.01510.93
4.3.70.0060.01310.93
4.3.60.0040.01210.93
4.3.50.0010.01810.93
4.3.40.0020.02710.93
4.3.30.0060.00510.93
4.3.20.0000.01710.93
4.3.10.0020.01210.93
4.3.00.0000.02010.93

preferences:
44.59 ms | 401 KiB | 5 Q