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&18&20&32&33&-36&34&30&31&12&7&6 $txt='directv HR34NC-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='(\\d)'; # Any Single Digit 1 $re7='(\\d)'; # Any Single Digit 2 $re8='.*?'; # Non-greedy match on filler $re9='(-)'; # Any Single Character 1 $re10='(\\d+)'; # Integer Number 2 $re11='(\\d)'; # Any Single Digit 3 $re12='(\\d)'; # Any Single Digit 4 if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10.$re11.$re12."/is", $txt, $matches)) { $word1=$matches[1][0]; $int1=$matches[2][0]; $d1=$matches[3][0]; $d2=$matches[4][0]; $c1=$matches[5][0]; $int2=$matches[6][0]; $d3=$matches[7][0]; $d4=$matches[8][0]; print "($word1) ($int1) ($d1) ($d2) ($c1) ($int2) ($d3) ($d4) \n"; }else{ echo "no match"; } ?>

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.00416.63
8.3.50.0060.00922.11
8.3.40.0100.01019.10
8.3.30.0110.00319.04
8.3.20.0080.00020.16
8.3.10.0030.00623.48
8.3.00.0050.00319.50
8.2.180.0070.01118.54
8.2.170.0040.01119.04
8.2.160.0180.00022.96
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0030.00522.38
8.2.110.0040.00422.33
8.2.100.0090.00318.03
8.2.90.0040.00419.21
8.2.80.0080.00017.97
8.2.70.0090.00017.63
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0000.00820.05
8.2.30.0070.00018.11
8.2.20.0000.00817.73
8.2.10.0030.00518.16
8.2.00.0040.00417.79
8.1.280.0110.00825.92
8.1.270.0000.00823.82
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00323.83
8.1.230.0030.00719.16
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0090.00017.35
8.1.180.0070.00319.13
8.1.170.0030.00518.70
8.1.160.0070.00022.12
8.1.150.0040.00418.68
8.1.140.0080.00017.66
8.1.130.0040.00417.87
8.1.120.0000.00717.53
8.1.110.0000.00717.50
8.1.100.0030.00517.63
8.1.90.0040.00417.63
8.1.80.0040.00417.64
8.1.70.0000.00717.57
8.1.60.0060.00617.73
8.1.50.0080.00017.68
8.1.40.0040.00417.59
8.1.30.0000.00817.65
8.1.20.0050.00317.89
8.1.10.0040.00417.57
8.1.00.0030.00517.61
8.0.300.0040.00418.77
8.0.290.0050.00317.04
8.0.280.0040.00418.49
8.0.270.0070.00017.29
8.0.260.0000.00717.14
8.0.250.0000.00717.14
8.0.240.0040.00417.02
8.0.230.0080.00016.97
8.0.220.0000.00717.06
8.0.210.0030.00617.01
8.0.200.0000.00716.98
8.0.190.0030.00517.10
8.0.180.0030.00516.98
8.0.170.0040.00416.94
8.0.160.0000.00717.03
8.0.150.0040.00417.00
8.0.140.0040.00417.00
8.0.130.0000.00613.47
8.0.120.0040.00417.04
8.0.110.0090.00017.06
8.0.100.0060.00317.02
8.0.90.0000.00717.11
8.0.80.0090.00717.08
8.0.70.0000.00917.01
8.0.60.0000.00717.07
8.0.50.0040.00416.93
8.0.30.0070.01717.19
8.0.20.0110.00817.43
8.0.10.0000.00716.91
8.0.00.0080.01417.06
7.4.330.0030.00215.05
7.4.320.0000.00616.78
7.4.300.0030.00316.75
7.4.290.0000.00716.85
7.4.280.0000.00816.75
7.4.270.0030.00316.82
7.4.260.0030.00316.71
7.4.250.0050.00316.78
7.4.240.0020.00516.82
7.4.230.0030.00316.66
7.4.220.0090.00816.57
7.4.210.0100.00616.76
7.4.200.0000.00716.79
7.4.190.0030.00516.64
7.4.160.0100.00716.61
7.4.150.0090.00917.40
7.4.140.0100.01117.86
7.4.130.0050.01616.67
7.4.120.0060.01116.67
7.4.110.0180.00816.71
7.4.100.0120.00916.67
7.4.90.0140.00616.60
7.4.80.0180.00019.39
7.4.70.0130.01016.55
7.4.60.0100.00716.50
7.4.50.0030.00516.68
7.4.40.0130.00316.59
7.4.30.0100.00616.68
7.4.00.0050.00815.12
7.3.330.0000.00613.29
7.3.320.0000.00513.17
7.3.310.0040.00416.36
7.3.300.0030.00316.43
7.3.290.0070.01116.38
7.3.280.0090.00816.46
7.3.270.0130.00517.40
7.3.260.0000.01716.66
7.3.250.0070.01116.65
7.3.240.0100.00716.47
7.3.230.0070.01016.52
7.3.210.0060.01216.54
7.3.200.0080.01219.39
7.3.190.0060.01316.55
7.3.180.0060.01016.75
7.3.170.0040.01316.70
7.3.160.0110.01016.68
7.3.120.0060.00615.14
7.3.110.0060.00914.76
7.3.100.0030.01314.89
7.3.90.0070.00415.05
7.3.80.0060.00615.09
7.3.70.0090.00614.93
7.3.60.0030.01014.87
7.3.50.0000.01114.89
7.3.40.0000.01415.05
7.3.30.0060.00914.91
7.3.20.0030.00616.70
7.3.10.0070.00716.83
7.3.00.0030.00916.86
7.2.330.0130.01316.79
7.2.320.0110.01116.99
7.2.310.0160.00616.93
7.2.300.0030.01416.75
7.2.290.0070.01116.95
7.2.250.0080.01115.04
7.2.240.0070.01315.11
7.2.230.0090.00915.03
7.2.220.0030.00915.07
7.2.210.0070.00715.18
7.2.200.0090.00615.20
7.2.190.0040.00815.27
7.2.180.0100.00314.99
7.2.170.0030.00815.36
7.2.00.0000.01419.60
7.1.330.0070.00716.01
7.1.320.0040.00715.83
7.1.310.0090.00316.19
7.1.300.0100.00015.95
7.1.290.0040.01015.93
7.1.280.0060.00615.96
7.1.270.0000.01215.73
7.1.260.0080.00415.84
7.1.200.0030.00915.91
7.1.100.0070.00418.59
7.1.70.0080.00017.03
7.1.60.0100.01419.46
7.1.50.0070.01416.99
7.1.00.0030.07322.32
7.0.200.0050.00316.68
7.0.140.0000.07722.10
7.0.100.0170.07720.03
7.0.90.0200.07020.15
7.0.80.0330.07720.14
7.0.70.0400.08019.97
7.0.60.0300.07019.96
7.0.50.0300.06020.26
7.0.40.0070.09020.13
7.0.30.0130.07020.08
7.0.20.0070.08020.09
7.0.10.0170.06719.95
7.0.00.0130.07020.12
5.6.280.0000.07021.09
5.6.250.0100.07720.50
5.6.240.0170.06720.70
5.6.230.0130.04720.68
5.6.220.0170.07020.48
5.6.210.0030.08320.67
5.6.200.0030.06021.13
5.6.190.0100.05320.96
5.6.180.0100.08321.04
5.6.170.0130.07720.96
5.6.160.0200.04720.96
5.6.150.0030.08721.09
5.6.140.0170.07321.03
5.6.130.0170.07321.14
5.6.120.0000.08721.03
5.6.110.0100.08721.08
5.6.100.0070.05720.95
5.6.90.0100.08320.94
5.6.80.0000.05020.39
5.6.70.0030.04020.33
5.6.60.0070.03720.39
5.6.50.0030.04320.52
5.6.40.0100.04020.47
5.6.30.0000.04720.30
5.6.20.0030.04320.39
5.6.10.0100.05320.31
5.6.00.0100.07720.36
5.5.380.0100.08320.47
5.5.370.0070.04020.45
5.5.360.0030.09020.35
5.5.350.0070.07720.48
5.5.340.0070.07320.90
5.5.330.0270.06320.85
5.5.320.0130.07320.94
5.5.310.0070.08320.81
5.5.300.0100.07720.91
5.5.290.0100.08020.91
5.5.280.0000.05020.77
5.5.270.0170.04720.87
5.5.260.0130.07320.93
5.5.250.0100.07020.67
5.5.240.0070.06320.22
5.5.230.0130.04720.21
5.5.220.0030.04020.31
5.5.210.0070.03720.28
5.5.200.0100.03320.10
5.5.190.0070.03720.12
5.5.180.0070.06320.26
5.5.160.0000.04320.25
5.5.150.0030.04720.19
5.5.140.0070.05020.25
5.5.130.0030.05020.27
5.5.120.0030.05720.24
5.5.110.0070.04020.28
5.5.100.0030.04020.08
5.5.90.0030.04320.13
5.5.80.0030.03320.05
5.5.70.0070.04020.17
5.5.60.0100.04020.09
5.5.50.0100.03020.05
5.5.40.0070.03720.13
5.5.30.0030.03320.06
5.5.20.0070.03320.04
5.5.10.0070.03720.08
5.5.00.0030.04020.01
5.4.450.0030.09019.45
5.4.440.0070.07719.55
5.4.430.0100.07019.55
5.4.420.0070.08019.39
5.4.410.0100.07719.16
5.4.400.0070.05319.13
5.4.390.0030.04018.94
5.4.380.0030.03718.90
5.4.370.0070.03319.12
5.4.360.0000.04019.06
5.4.350.0100.03319.09
5.4.340.0070.05018.79
5.4.320.0070.03718.81
5.4.310.0000.04018.96
5.4.300.0030.03318.96
5.4.290.0030.03319.23
5.4.280.0030.04318.94
5.4.270.0030.06318.78
5.4.260.0030.03718.83
5.4.250.0000.03718.78
5.4.240.0070.03719.11
5.4.230.0030.03719.12
5.4.220.0000.04019.02
5.4.210.0030.04719.06
5.4.200.0070.03019.02
5.4.190.0030.04018.96
5.4.180.0030.04019.13
5.4.170.0030.03719.04
5.4.160.0000.04019.02
5.4.150.0030.03719.00
5.4.140.0130.04716.07
5.4.130.0000.03716.42
5.4.120.0000.03716.26
5.4.110.0030.03716.29
5.4.100.0030.03716.38
5.4.90.0000.03716.26
5.4.80.0000.03716.19
5.4.70.0030.03716.21
5.4.60.0030.03316.41
5.4.50.0130.06716.18
5.4.40.0030.07316.26
5.4.30.0070.07316.20
5.4.20.0100.04016.35
5.4.10.0100.05016.39
5.4.00.0070.04015.81
5.3.290.0000.04314.63
5.3.280.0030.03314.57
5.3.270.0030.03714.61
5.3.260.0030.04014.53
5.3.250.0030.03714.47
5.3.240.0070.03314.59
5.3.230.0070.03314.59
5.3.220.0100.03014.40
5.3.210.0070.04714.44
5.3.200.0000.04014.55
5.3.190.0130.03314.54
5.3.180.0070.03714.40
5.3.170.0070.03014.55
5.3.160.0030.08314.52
5.3.150.0030.04714.44
5.3.140.0130.04714.54
5.3.130.0100.05714.54
5.3.120.0000.07014.55
5.3.110.0070.07014.57
5.3.100.0130.02714.04
5.3.90.0070.05714.03
5.3.80.0070.07314.02
5.3.70.0100.07713.94
5.3.60.0030.08013.96
5.3.50.0100.05713.95
5.3.40.0070.07313.95
5.3.30.0070.07713.91
5.3.20.0000.07713.69
5.3.10.0070.07313.66
5.3.00.0070.07713.56
5.2.170.0070.03311.07
5.2.160.0030.06711.08
5.2.150.0070.06010.99
5.2.140.0200.03011.19
5.2.130.0030.04711.13
5.2.120.0070.06311.17
5.2.110.0030.05711.06
5.2.100.0070.06010.95
5.2.90.0100.05710.95
5.2.80.0070.04311.07
5.2.70.0070.03310.93
5.2.60.0030.05711.08
5.2.50.0030.05011.05
5.2.40.0000.03311.00
5.2.30.0000.03311.04
5.2.20.0030.03310.93
5.2.10.0000.03710.89
5.2.00.0030.06310.73
5.1.60.0000.05710.04
5.1.50.0030.0479.84
5.1.40.0070.03310.06
5.1.30.0030.03310.27
5.1.20.0030.05310.29
5.1.10.0100.05010.07
5.1.00.0100.05010.07
5.0.50.0130.0309.20
5.0.40.0030.0439.20
5.0.30.0000.0679.20
5.0.20.0000.0239.20
5.0.10.0000.0479.20
5.0.00.0030.0679.20
4.4.90.0000.0309.20
4.4.80.0000.0209.20
4.4.70.0070.0309.20
4.4.60.0000.0409.20
4.4.50.0030.0309.20
4.4.40.0030.0579.20
4.4.30.0000.0379.20
4.4.20.0030.0339.20
4.4.10.0030.0179.20
4.4.00.0000.0479.20
4.3.110.0070.0339.20
4.3.100.0030.0179.20
4.3.90.0070.0279.20
4.3.80.0000.0579.20
4.3.70.0030.0339.20
4.3.60.0030.0339.20
4.3.50.0030.0179.20
4.3.40.0030.0509.20
4.3.30.0070.0139.20
4.3.20.0030.0379.20
4.3.10.0000.0309.20
4.3.00.0000.0179.20

preferences:
39.52 ms | 401 KiB | 5 Q