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 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='(\\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.88
8.3.50.0090.00722.21
8.3.40.0120.00918.98
8.3.30.0090.00619.14
8.3.20.0050.00320.30
8.3.10.0080.00023.66
8.3.00.0090.00019.51
8.2.180.0140.00416.63
8.2.170.0120.00622.96
8.2.160.0120.00320.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00322.29
8.2.110.0040.00422.37
8.2.100.0120.00019.95
8.2.90.0050.00519.09
8.2.80.0030.00517.97
8.2.70.0030.00617.63
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0040.00419.93
8.2.30.0040.00418.11
8.2.20.0040.00417.91
8.2.10.0040.00418.17
8.2.00.0060.00317.79
8.1.280.0120.00925.92
8.1.270.0050.00323.85
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0070.00323.92
8.1.230.0040.00819.22
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0040.00417.48
8.1.190.0000.00817.48
8.1.180.0000.00919.13
8.1.170.0040.00418.72
8.1.160.0040.00422.07
8.1.150.0000.00818.72
8.1.140.0040.00417.67
8.1.130.0000.00717.77
8.1.120.0030.00417.63
8.1.110.0040.00417.50
8.1.100.0030.00517.64
8.1.90.0000.00717.63
8.1.80.0000.00817.61
8.1.70.0000.00717.60
8.1.60.0030.00717.76
8.1.50.0060.00317.58
8.1.40.0000.00717.68
8.1.30.0080.00017.73
8.1.20.0040.00417.83
8.1.10.0040.00417.70
8.1.00.0090.00017.63
8.0.300.0000.00718.77
8.0.290.0040.00417.43
8.0.280.0000.00718.55
8.0.270.0030.00317.38
8.0.260.0000.00717.18
8.0.250.0030.00317.17
8.0.240.0040.00417.13
8.0.230.0030.00317.09
8.0.220.0040.00417.08
8.0.210.0040.00417.08
8.0.200.0000.00617.17
8.0.190.0080.00017.16
8.0.180.0040.00417.11
8.0.170.0040.00417.05
8.0.160.0050.00217.14
8.0.150.0000.00817.00
8.0.140.0040.00717.05
8.0.130.0060.00013.45
8.0.120.0030.00517.06
8.0.110.0040.00417.06
8.0.100.0050.00217.11
8.0.90.0040.00417.01
8.0.80.0040.01117.05
8.0.70.0000.00717.13
8.0.60.0030.00316.93
8.0.50.0000.00716.97
8.0.30.0110.01117.42
8.0.20.0050.01417.45
8.0.10.0000.00817.07
8.0.00.0120.00616.99
7.4.330.0020.00215.22
7.4.320.0000.00616.66
7.4.300.0060.00016.65
7.4.290.0000.00716.74
7.4.280.0040.00416.73
7.4.270.0000.00716.64
7.4.260.0030.00316.79
7.4.250.0040.00416.78
7.4.240.0030.00316.76
7.4.230.0070.00016.84
7.4.220.0090.00916.79
7.4.210.0070.00916.76
7.4.200.0070.00016.61
7.4.190.0040.00316.73
7.4.160.0030.01616.54
7.4.150.0130.00317.40
7.4.140.0100.00817.86
7.4.130.0080.01116.64
7.4.120.0100.00716.50
7.4.110.0120.00616.66
7.4.100.0180.00716.68
7.4.90.0030.01616.80
7.4.80.0030.01319.39
7.4.70.0100.01016.59
7.4.60.0120.00416.52
7.4.50.0060.00316.76
7.4.40.0060.01216.54
7.4.30.0030.01316.46
7.4.00.0100.00715.05
7.3.330.0000.00613.16
7.3.320.0000.00613.36
7.3.310.0040.00416.43
7.3.300.0020.00516.46
7.3.290.0100.00616.45
7.3.280.0090.00816.44
7.3.270.0100.00717.40
7.3.260.0070.01016.49
7.3.250.0090.00816.43
7.3.240.0150.00316.76
7.3.230.0140.00316.48
7.3.210.0160.00716.81
7.3.200.0130.00619.39
7.3.190.0140.00316.70
7.3.180.0060.01516.68
7.3.170.0100.01016.40
7.3.160.0100.01016.46
7.3.120.0130.00315.02
7.2.330.0110.01516.73
7.2.320.0130.00916.75
7.2.310.0110.00616.92
7.2.300.0070.01116.76
7.2.290.0120.00916.89
7.2.110.0150.00516.81
7.2.100.0170.00316.86
7.2.90.0410.00316.94
7.2.80.0070.00816.54
7.2.70.0100.00716.89
7.2.60.0060.01217.18
7.2.50.0040.01316.90
7.2.40.0150.00916.89
7.2.30.0120.00917.13
7.2.20.0060.00916.88
7.2.10.0120.00616.87
7.2.00.0110.00718.38
7.1.230.0130.00515.70
7.1.220.0080.01215.82
7.1.210.0080.01115.68
7.1.200.0100.00615.88
7.1.190.0120.00515.91
7.1.180.0410.00415.96
7.1.170.0130.00716.02
7.1.160.0110.00415.91
7.1.150.0170.00015.63
7.1.140.0130.00615.69
7.1.130.0420.00315.87
7.1.120.0130.00315.63
7.1.110.0130.00315.88
7.1.100.0070.00817.12
7.1.90.0120.00615.91
7.1.80.0380.00715.86
7.1.70.0100.00616.59
7.1.60.0090.01417.78
7.1.50.0100.00916.62
7.1.40.0100.01116.15
7.1.30.0040.01616.11
7.1.20.0160.00716.16
7.1.10.0110.00415.88
7.1.00.0050.04319.19
7.0.310.0110.00315.41
7.0.300.0410.00015.43
7.0.290.0330.00315.65
7.0.280.0190.00415.51
7.0.270.0160.00015.44
7.0.260.0450.00315.28
7.0.250.0140.00715.43
7.0.240.0080.00815.64
7.0.230.0150.00415.67
7.0.220.0080.00815.55
7.0.210.0080.00815.36
7.0.200.0100.00316.20
7.0.190.0090.00715.72
7.0.180.0060.00615.61
7.0.170.0080.00815.50
7.0.160.0070.00715.42
7.0.150.0140.00615.56
7.0.140.0030.04218.83
7.0.130.0110.00415.33
7.0.120.0140.00415.70
7.0.110.0660.00715.45
7.0.100.0070.03217.86
7.0.90.0080.03617.78
7.0.80.0110.04217.81
7.0.70.0060.04617.56
7.0.60.0170.04317.84
7.0.50.0070.04517.93
7.0.40.0110.02616.86
7.0.30.0040.04116.82
7.0.20.0130.03816.94
7.0.10.0130.03816.91
7.0.00.0120.01816.76
5.6.380.0170.00014.62
5.6.370.0060.00714.48
5.6.360.0120.00414.17
5.6.350.0130.00814.50
5.6.340.0080.01214.43
5.6.330.0120.00614.59
5.6.320.0100.01014.43
5.6.310.0120.00814.33
5.6.300.0080.00814.64
5.6.290.0130.00414.09
5.6.280.0080.03817.75
5.6.270.0080.00814.43
5.6.260.0140.00814.30
5.6.250.0100.02017.53
5.6.240.0110.04517.59
5.6.230.0120.02417.57
5.6.220.0130.02317.35
5.6.210.0040.05117.40
5.6.200.0130.04317.69
5.6.190.0100.03617.61
5.6.180.0120.04017.78
5.6.170.0080.03617.62
5.6.160.0100.04717.87
5.6.150.0070.04817.89
5.6.140.0100.03317.68
5.6.130.0110.04317.84
5.6.120.0070.02217.75
5.6.110.0070.04217.85
5.6.100.0070.04617.72
5.6.90.0020.02817.69
5.6.80.0120.04217.42
5.6.70.0090.03117.38
5.6.60.0030.05017.47
5.6.50.0150.03917.37
5.6.40.0090.03617.45
5.6.30.0080.03017.35
5.6.20.0100.02317.38
5.6.10.0070.04717.38
5.6.00.0080.02517.31
5.5.380.0120.03516.61
5.5.370.0130.04016.57
5.5.360.0070.04216.57
5.5.350.0020.02716.62
5.5.340.0100.04016.83
5.5.330.0110.03516.77
5.5.320.0090.02216.83
5.5.310.0100.02316.77
5.5.300.0080.02316.71
5.5.290.0070.03216.81
5.5.280.0080.03516.84
5.5.270.0060.02216.83
5.5.260.0080.04416.85
5.5.250.0090.04216.74
5.5.240.0090.04116.55
5.5.230.0090.02816.45
5.5.220.0090.03616.52
5.5.210.0060.02816.49
5.5.200.0070.04416.54
5.5.190.0050.02616.53
5.5.180.0050.02716.47
5.5.170.0130.00314.18
5.5.160.0160.01616.45
5.5.150.0050.03716.48
5.5.140.0090.02716.51
5.5.130.0110.03516.48
5.5.120.0070.04316.46
5.5.110.0100.02416.47
5.5.100.0080.02716.42
5.5.90.0100.03216.45
5.5.80.0070.03016.46
5.5.70.0070.02316.44
5.5.60.0070.02216.47
5.5.50.0050.02216.41
5.5.40.0050.02316.37
5.5.30.0040.02116.46
5.5.20.0070.02116.41
5.5.10.0050.02116.38
5.5.00.0050.02316.41
5.4.450.0060.02315.95
5.4.440.0090.02116.02
5.4.430.0060.03716.10
5.4.420.0130.03916.07
5.4.410.0150.01515.97
5.4.400.0080.02115.96
5.4.390.0130.03315.93
5.4.380.0130.03715.84
5.4.370.0070.02415.92
5.4.360.0080.02315.95
5.4.350.0080.04215.88
5.4.340.0080.02115.88
5.4.330.0080.00312.79
5.4.320.0060.02115.96
5.4.310.0130.03515.95
5.4.300.0020.02615.95
5.4.290.0040.04316.01
5.4.280.0120.04015.88
5.4.270.0070.04115.90
5.4.260.0100.02015.84
5.4.250.0090.03915.96
5.4.240.0070.04015.93
5.4.230.0100.02215.95
5.4.220.0040.02415.88
5.4.210.0090.01515.87
5.4.200.0040.02615.91
5.4.190.0070.02015.94
5.4.180.0100.01515.95
5.4.170.0060.02115.96
5.4.160.0060.02115.95
5.4.150.0050.02015.93
5.4.140.0040.02014.52
5.4.130.0070.01914.50
5.4.120.0050.01814.39
5.4.110.0110.01514.51
5.4.100.0110.01514.54
5.4.90.0030.02314.60
5.4.80.0070.02014.56
5.4.70.0030.02414.50
5.4.60.0030.02114.55
5.4.50.0060.01914.54
5.4.40.0050.01714.53
5.4.30.0050.02014.59
5.4.20.0050.01614.56
5.4.10.0040.02214.50
5.4.00.0060.01714.21
5.3.290.0110.03513.73
5.3.280.0040.02613.63
5.3.270.0070.02013.63
5.3.260.0000.02713.67
5.3.250.0090.01513.63
5.3.240.0080.01913.71
5.3.230.0050.01813.69
5.3.220.0090.01913.68
5.3.210.0040.02213.64
5.3.200.0050.02013.67
5.3.190.0100.02813.65
5.3.180.0090.03213.61
5.3.170.0040.02013.60
5.3.160.0040.01913.68
5.3.150.0020.02513.68
5.3.140.0070.02313.59
5.3.130.0040.02313.62
5.3.120.0080.01813.67
5.3.110.0070.02013.60
5.3.100.0080.02013.40
5.3.90.0040.01913.40
5.3.80.0070.01713.29
5.3.70.0060.01513.42
5.3.60.0070.01813.38
5.3.50.0060.03113.37
5.3.40.0060.01913.34
5.3.30.0060.02513.36
5.3.20.0090.01813.13
5.3.10.0030.02613.18
5.3.00.0060.01713.17
5.2.170.0030.02111.93
5.2.160.0040.01611.88
5.2.150.0080.01311.98
5.2.140.0070.01811.99
5.2.130.0060.01311.88
5.2.120.0060.01511.93
5.2.110.0050.01511.91
5.2.100.0040.01611.85
5.2.90.0040.01511.93
5.2.80.0030.01811.91
5.2.70.0040.02311.88
5.2.60.0050.01511.92
5.2.50.0060.01811.92
5.2.40.0050.01711.91
5.2.30.0060.01311.80
5.2.20.0070.01211.91
5.2.10.0070.02011.78
5.2.00.0040.01511.72
5.1.60.0040.02711.39
5.1.50.0050.02811.39
5.1.40.0080.02511.40
5.1.30.0030.02211.54
5.1.20.0080.02511.58
5.1.10.0030.01811.44
5.1.00.0060.02311.44
5.0.50.0040.02511.13
5.0.40.0080.02011.13
5.0.30.0050.03011.13
5.0.20.0020.02611.13
5.0.10.0060.01511.13
5.0.00.0010.03111.13
4.4.90.0060.00711.13
4.4.80.0000.01011.13
4.4.70.0020.00911.13
4.4.60.0050.00511.13
4.4.50.0020.00811.13
4.4.40.0030.03011.13
4.4.30.0000.02311.13
4.4.20.0000.02311.13
4.4.10.0080.00711.13
4.4.00.0000.02911.13
4.3.110.0030.02011.13
4.3.100.0030.01311.13
4.3.90.0000.01811.13
4.3.80.0040.02911.13
4.3.70.0020.01911.13
4.3.60.0000.01611.13
4.3.50.0060.00711.13
4.3.40.0060.01511.13
4.3.30.0030.01811.13
4.3.20.0030.01811.13
4.3.10.0040.01011.13
4.3.00.0010.01911.13

preferences:
41.02 ms | 401 KiB | 5 Q