3v4l.org

run code in 300+ PHP versions simultaneously
<?php # URL that generated this code: # http://txt2re.com/index-php.php3?s=directv%20HR24NC-500nc&-36&6&7&12 $txt='directv HR24NC-500nc'; $re1='.*?'; # Non-greedy match on filler $re2='(?:[a-z][a-z]+)'; # Uninteresting: word $re3='.*?'; # Non-greedy match on filler $re4='((?:[a-z][a-z]+))'; # Word 1 $re5='(\\d+)'; # Integer Number 1 $re6='.*?'; # Non-greedy match on filler $re7='(-)'; # Any Single Character 1 $re8='(\\d+)'; # Integer Number 2 if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8."/is", $txt, $matches)) { $word1=$matches[1][0]; $int1=$matches[2][0]; $c1=$matches[3][0]; $int2=$matches[4][0]; print "($word1) ($int1) ($c1) ($int2) \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.0140.00718.96
8.3.30.0130.00919.09
8.3.20.0080.00020.39
8.3.10.0000.00823.62
8.3.00.0060.00319.51
8.2.170.0110.00722.96
8.2.160.0140.00320.53
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00422.33
8.2.110.0030.00619.30
8.2.100.0060.00618.09
8.2.90.0040.00419.35
8.2.80.0060.00317.97
8.2.70.0000.00817.75
8.2.60.0080.00018.03
8.2.50.0040.00418.07
8.2.40.0040.00419.88
8.2.30.0050.00318.22
8.2.20.0030.00517.93
8.2.10.0050.00218.17
8.2.00.0040.00417.90
8.1.270.0080.00023.96
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.09
8.1.230.0100.00319.12
8.1.220.0000.01017.79
8.1.210.0090.00018.77
8.1.200.0080.00017.48
8.1.190.0040.00417.38
8.1.180.0070.00419.01
8.1.170.0040.00418.84
8.1.160.0000.00721.98
8.1.150.0040.00418.79
8.1.140.0040.00417.61
8.1.130.0030.00317.86
8.1.120.0000.00817.67
8.1.110.0040.00417.60
8.1.100.0040.00417.60
8.1.90.0000.00717.48
8.1.80.0000.00717.54
8.1.70.0050.00217.50
8.1.60.0030.00617.63
8.1.50.0000.00817.59
8.1.40.0000.00817.63
8.1.30.0030.00517.69
8.1.20.0000.00717.79
8.1.10.0020.00517.79
8.1.00.0030.00617.56
8.0.300.0040.00420.05
8.0.290.0060.00316.88
8.0.280.0050.00318.53
8.0.270.0030.00317.29
8.0.260.0030.00317.16
8.0.250.0070.00017.15
8.0.240.0070.00017.09
8.0.230.0030.00317.10
8.0.220.0000.00717.05
8.0.210.0090.00017.05
8.0.200.0030.00317.10
8.0.190.0000.00717.12
8.0.180.0000.00717.06
8.0.170.0050.00316.97
8.0.160.0040.00416.99
8.0.150.0040.00417.04
8.0.140.0040.00716.91
8.0.130.0060.00013.57
8.0.120.0040.00416.92
8.0.110.0030.00517.06
8.0.100.0000.00916.83
8.0.90.0000.00716.97
8.0.80.0100.00617.04
8.0.70.0000.00717.12
8.0.60.0000.00716.95
8.0.50.0070.00017.04
8.0.30.0110.00817.31
8.0.20.0050.01417.40
8.0.10.0000.00817.09
8.0.00.0130.00817.07
7.4.330.0000.00515.07
7.4.320.0000.00616.82
7.4.300.0030.00316.84
7.4.290.0030.00316.82
7.4.280.0050.00316.77
7.4.270.0030.00416.64
7.4.260.0040.00416.83
7.4.250.0000.00816.83
7.4.240.0060.00116.76
7.4.230.0070.00016.88
7.4.220.0160.00316.70
7.4.210.0110.00616.75
7.4.200.0050.00316.74
7.4.190.0070.00016.63
7.4.160.0090.00616.53
7.4.150.0110.00617.40
7.4.140.0120.00817.86
7.4.130.0070.01016.72
7.4.120.0090.00916.70
7.4.110.0070.01116.68
7.4.100.0090.00916.70
7.4.90.0120.00616.48
7.4.80.0110.00619.39
7.4.70.0150.00916.64
7.4.60.0080.00916.75
7.4.50.0040.00416.70
7.4.40.0040.01416.63
7.4.30.0050.01116.61
7.4.00.0070.01114.97
7.3.330.0000.00713.21
7.3.320.0050.00013.23
7.3.310.0070.00016.30
7.3.300.0000.00716.53
7.3.290.0090.00516.44
7.3.280.0100.00816.43
7.3.270.0110.00617.40
7.3.260.0170.00716.96
7.3.250.0090.00916.82
7.3.240.0120.00816.85
7.3.230.0160.00016.73
7.3.210.0070.01016.88
7.3.200.0100.00819.39
7.3.190.0110.00516.42
7.3.180.0070.01016.58
7.3.170.0080.00816.54
7.3.160.0150.00316.47
7.3.120.0000.01015.24
7.3.10.0030.01316.97
7.3.00.0030.01316.91
7.2.330.0120.00916.89
7.2.320.0210.00316.91
7.2.310.0160.00016.86
7.2.300.0090.00916.73
7.2.290.0180.00617.08
7.2.130.0030.01016.96
7.2.120.0060.00616.98
7.2.110.0070.00717.28
7.2.100.0040.01117.22
7.2.90.0030.00717.13
7.2.80.0110.00416.98
7.2.70.0030.00916.96
7.2.60.0100.00717.29
7.2.50.0040.00716.98
7.2.40.0070.00717.01
7.2.30.0080.00417.08
7.2.20.0140.00017.21
7.2.10.0060.00916.91
7.2.00.0030.01018.29
7.1.250.0030.00616.09
7.1.240.0110.00316.24
7.1.230.0090.00315.97
7.1.220.0080.00516.00
7.1.210.0030.00515.85
7.1.200.0070.00416.04
7.1.190.0030.00615.96
7.1.180.0000.00816.18
7.1.170.0000.01016.22
7.1.160.0050.00515.82
7.1.150.0040.00815.82
7.1.140.0060.00615.84
7.1.130.0000.01516.02
7.1.120.0070.00015.96
7.1.110.0030.01016.11
7.1.100.0090.00517.11
7.1.90.0030.01016.18
7.1.80.0070.00715.96
7.1.70.0070.00516.67
7.1.60.0020.01617.76
7.1.50.0050.01116.69
7.1.40.0030.00715.95
7.1.30.0050.00515.80
7.1.20.0090.00316.16
7.1.10.0030.01015.72
7.1.00.0030.04119.18
7.0.330.0000.01215.31
7.0.320.0060.01015.35
7.0.310.0070.00315.17
7.0.300.0070.00715.34
7.0.290.0000.01515.51
7.0.280.0070.00315.39
7.0.270.0030.00615.42
7.0.260.0060.00315.30
7.0.250.0100.00315.27
7.0.240.0000.00715.37
7.0.230.0030.01015.48
7.0.220.0040.00415.45
7.0.210.0040.00415.47
7.0.200.0010.00616.05
7.0.190.0090.00615.57
7.0.180.0040.00715.60
7.0.170.0100.00315.53
7.0.160.0100.00315.49
7.0.150.0030.00915.28
7.0.140.0050.03918.83
7.0.130.0040.01115.41
7.0.120.0130.00015.37
7.0.110.0060.00615.46
7.0.100.0050.03917.68
7.0.90.0070.02417.87
7.0.80.0070.02517.80
7.0.70.0070.02917.61
7.0.60.0110.02517.75
7.0.50.0070.04318.06
7.0.40.0090.04416.85
7.0.30.0050.04516.90
7.0.20.0070.03116.92
7.0.10.0060.04616.84
7.0.00.0070.04216.75
5.6.380.0060.00614.70
5.6.370.0000.01014.23
5.6.360.0000.01014.07
5.6.350.0090.00914.56
5.6.340.0000.01314.13
5.6.330.0060.00314.06
5.6.320.0030.00914.21
5.6.310.0060.00614.62
5.6.300.0040.00414.22
5.6.290.0090.00614.11
5.6.280.0050.03917.69
5.6.270.0060.00614.63
5.6.260.0060.00314.56
5.6.250.0020.02517.38
5.6.240.0080.03017.49
5.6.230.0050.03317.45
5.6.220.0070.04117.45
5.6.210.0100.03817.29
5.6.200.0050.03017.75
5.6.190.0050.04517.66
5.6.180.0080.04517.65
5.6.170.0130.03817.68
5.6.160.0120.03217.71
5.6.150.0040.03117.79
5.6.140.0110.04117.77
5.6.130.0030.04717.68
5.6.120.0120.03717.60
5.6.110.0090.03617.78
5.6.100.0090.03817.64
5.6.90.0020.04817.74
5.6.80.0070.03817.50
5.6.70.0070.04617.39
5.6.60.0120.03817.32
5.6.50.0080.02517.35
5.6.40.0070.04317.25
5.6.30.0080.03817.16
5.6.20.0100.04217.24
5.6.10.0020.04817.15
5.6.00.0070.04017.23
5.5.380.0050.02016.03
5.5.370.0030.03215.99
5.5.360.0040.04516.01
5.5.350.0030.04816.03
5.5.340.0050.03716.29
5.5.330.0070.04216.22
5.5.320.0030.04016.28
5.5.310.0000.04716.26
5.5.300.0080.04516.27
5.5.290.0050.02916.19
5.5.280.0120.03216.25
5.5.270.0020.05016.21
5.5.260.0080.04116.13
5.5.250.0040.04316.18
5.5.240.0050.02715.96
5.5.230.0070.03815.96
5.5.220.0080.03915.90
5.5.210.0100.02315.97
5.5.200.0120.03015.93
5.5.190.0050.04415.92
5.5.180.0050.04315.95
5.5.170.0080.00311.64
5.5.160.0080.03915.93
5.5.150.0060.04415.93
5.5.140.0080.03015.88
5.5.130.0080.03715.89
5.5.120.0050.04515.87
5.5.110.0060.04115.87
5.5.100.0080.04015.91
5.5.90.0090.03815.82
5.5.80.0090.03915.88
5.5.70.0100.03815.87
5.5.60.0070.04415.85
5.5.50.0050.04515.86
5.5.40.0080.03815.89
5.5.30.0080.03815.87
5.5.20.0130.03615.87
5.5.10.0070.04115.86
5.5.00.0070.03715.84
5.4.450.0040.04515.52
5.4.440.0050.04215.39
5.4.430.0080.03915.45
5.4.420.0110.03815.60
5.4.410.0070.03715.37
5.4.400.0020.04615.34
5.4.390.0090.03215.39
5.4.380.0040.04215.24
5.4.370.0070.04015.33
5.4.360.0050.04015.31
5.4.350.0050.04415.27
5.4.340.0080.02815.34
5.4.330.0060.00611.64
5.4.320.0070.04215.29
5.4.310.0070.03915.39
5.4.300.0100.03515.31
5.4.290.0100.03815.23
5.4.280.0050.04515.36
5.4.270.0060.03815.39
5.4.260.0110.03415.34
5.4.250.0100.03715.33
5.4.240.0090.03815.38
5.4.230.0030.03915.43
5.4.220.0080.03715.30
5.4.210.0030.03615.40
5.4.200.0050.04015.37
5.4.190.0040.02615.31
5.4.180.0050.04015.34
5.4.170.0080.04315.22
5.4.160.0080.03915.32
5.4.150.0100.04015.37
5.4.140.0050.04213.88
5.4.130.0070.03614.00
5.4.120.0070.03713.97
5.4.110.0100.03513.93
5.4.100.0080.03513.92
5.4.90.0050.03013.95
5.4.80.0150.03214.02
5.4.70.0090.03514.02
5.4.60.0100.03213.94
5.4.50.0010.04113.91
5.4.40.0080.03513.99
5.4.30.0050.04014.01
5.4.20.0030.04013.91
5.4.10.0070.03913.97
5.4.00.0100.03513.73
5.3.290.0050.04013.08
5.3.280.0050.04013.11
5.3.270.0040.04013.11
5.3.260.0020.04513.04
5.3.250.0080.03313.05
5.3.240.0060.04213.12
5.3.230.0040.02813.12
5.3.220.0020.04313.09
5.3.210.0060.04113.03
5.3.200.0060.04313.06
5.3.190.0070.04013.06
5.3.180.0070.03813.06
5.3.170.0100.03313.09
5.3.160.0060.04013.07
5.3.150.0090.03413.08
5.3.140.0050.03813.01
5.3.130.0070.04213.10
5.3.120.0030.03313.09
5.3.110.0030.03813.02
5.3.100.0060.04012.76
5.3.90.0070.03712.74
5.3.80.0080.03812.76
5.3.70.0030.04112.83
5.3.60.0030.04212.82
5.3.50.0030.03512.75
5.3.40.0030.04312.72
5.3.30.0070.03512.77
5.3.20.0050.03512.64
5.3.10.0020.02512.64
5.3.00.0070.02212.63
5.2.170.0020.03511.38
5.2.160.0020.03211.41
5.2.150.0070.03211.39
5.2.140.0050.03311.39
5.2.130.0030.03111.37
5.2.120.0050.03211.30
5.2.110.0070.03011.29
5.2.100.0020.03611.37
5.2.90.0050.03211.39
5.2.80.0030.03211.37
5.2.70.0020.02611.36
5.2.60.0030.02811.34
5.2.50.0030.02211.37
5.2.40.0070.03111.34
5.2.30.0080.02611.27
5.2.20.0030.03311.23
5.2.10.0030.03211.25
5.2.00.0050.02311.13
5.1.60.0060.02610.79
5.1.50.0020.01810.81
5.1.40.0000.02810.74
5.1.30.0060.02810.90
5.1.20.0060.02811.02
5.1.10.0030.01610.87
5.1.00.0040.02910.89
5.0.50.0100.02010.64
5.0.40.0030.02510.64
5.0.30.0030.03310.64
5.0.20.0040.02510.64
5.0.10.0090.01710.64
5.0.00.0070.03010.64
4.4.90.0020.02010.64
4.4.80.0050.01810.64
4.4.70.0030.01710.64
4.4.60.0030.01310.64
4.4.50.0030.01810.64
4.4.40.0030.02810.64
4.4.30.0030.01810.64
4.4.20.0000.01610.64
4.4.10.0000.02210.64
4.4.00.0030.02810.64
4.3.110.0000.01810.64
4.3.100.0000.02010.64
4.3.90.0030.01810.64
4.3.80.0040.02410.64
4.3.70.0050.01810.64
4.3.60.0030.01310.64
4.3.50.0030.01810.64
4.3.40.0000.02710.64
4.3.30.0020.02010.64
4.3.20.0000.02210.64
4.3.10.0020.01310.64
4.3.00.0020.02010.64

preferences:
44.58 ms | 400 KiB | 5 Q