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='tr 23-500'; $re='.*?(T?[a-z]?[a-z]\\d\\d).*?((-\\d\\d\\d)?)'; if ($c=preg_match_all ("/".$re."/is", $txt, $matches)) { $w1=$matches[1][0]; $w2=$matches[2][0]; print "$w1$w2\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.0140.00418.53
8.3.50.0190.00022.13
8.3.40.0060.00918.92
8.3.30.0090.00619.02
8.3.20.0050.00220.39
8.3.10.0040.00423.50
8.3.00.0030.00519.50
8.2.180.0130.00616.63
8.2.170.0110.00422.96
8.2.160.0080.00620.39
8.2.150.0050.00224.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00022.25
8.2.110.0100.00022.11
8.2.100.0070.01017.77
8.2.90.0000.00819.27
8.2.80.0040.00418.03
8.2.70.0030.00617.62
8.2.60.0060.00318.05
8.2.50.0080.00018.07
8.2.40.0040.00419.93
8.2.30.0000.00718.06
8.2.20.0040.00417.89
8.2.10.0040.00418.03
8.2.00.0020.00517.82
8.1.280.0110.01125.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.88
8.1.230.0080.00319.09
8.1.220.0060.00317.79
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0050.00517.51
8.1.180.0050.00518.10
8.1.170.0030.00620.55
8.1.160.0070.00022.05
8.1.150.0050.00218.78
8.1.140.0030.00517.66
8.1.130.0000.00717.61
8.1.120.0000.00717.64
8.1.110.0050.00217.49
8.1.100.0000.00717.63
8.1.90.0050.00217.68
8.1.80.0050.00317.54
8.1.70.0030.00317.54
8.1.60.0080.00417.79
8.1.50.0000.00817.68
8.1.40.0000.00717.61
8.1.30.0030.00717.70
8.1.20.0000.01017.82
8.1.10.0060.00317.66
8.1.00.0000.00917.58
8.0.300.0050.00220.71
8.0.290.0020.00517.05
8.0.280.0030.00318.47
8.0.270.0000.00717.21
8.0.260.0000.00717.02
8.0.250.0070.00017.13
8.0.240.0030.00317.10
8.0.230.0020.00517.04
8.0.220.0030.00317.04
8.0.210.0080.00017.04
8.0.200.0000.00617.10
8.0.190.0040.00417.09
8.0.180.0000.00817.07
8.0.170.0000.00817.00
8.0.160.0030.00317.16
8.0.150.0040.00417.01
8.0.140.0030.00516.99
8.0.130.0050.00013.46
8.0.120.0050.00316.91
8.0.110.0030.00516.95
8.0.100.0050.00216.98
8.0.90.0040.00416.91
8.0.80.0090.01217.04
8.0.70.0040.00416.89
8.0.60.0030.00517.03
8.0.50.0000.00716.85
8.0.30.0160.00317.33
8.0.20.0090.00917.42
8.0.10.0040.00417.13
8.0.00.0090.00916.72
7.4.330.0000.00515.11
7.4.320.0000.00716.79
7.4.300.0030.00516.64
7.4.290.0030.00316.77
7.4.280.0040.00416.64
7.4.270.0080.00016.66
7.4.260.0080.00016.78
7.4.250.0030.00516.70
7.4.240.0040.00316.59
7.4.230.0030.00316.58
7.4.220.0040.01416.63
7.4.210.0090.00516.79
7.4.200.0040.00416.79
7.4.190.0030.00316.70
7.4.160.0030.01216.63
7.4.150.0090.00917.40
7.4.140.0120.00517.86
7.4.130.0100.00616.74
7.4.120.0070.01216.62
7.4.110.0140.00316.50
7.4.100.0070.01116.61
7.4.90.0090.00916.57
7.4.80.0060.01519.39
7.4.70.0180.00416.60
7.4.60.0080.01216.61
7.4.50.0050.00316.55
7.4.40.0070.01416.44
7.4.30.0100.00616.50
7.4.00.0070.01115.18
7.3.330.0030.00313.35
7.3.320.0020.00213.40
7.3.310.0030.00516.46
7.3.300.0000.00716.48
7.3.290.0140.00716.52
7.3.280.0080.01016.46
7.3.270.0100.01017.40
7.3.260.0110.00616.73
7.3.250.0130.00916.61
7.3.240.0130.00316.35
7.3.230.0030.01616.40
7.3.210.0060.01516.71
7.3.200.0130.00619.39
7.3.190.0060.01616.31
7.3.180.0080.01116.60
7.3.170.0120.00916.41
7.3.160.0040.01816.37
7.3.120.0040.00715.21
7.2.330.0150.00916.84
7.2.320.0070.01116.56
7.2.310.0060.01716.57
7.2.300.0080.00816.84
7.2.290.0090.00816.55
7.2.60.0120.00317.05
7.2.00.0090.00319.83
7.1.200.0040.00415.90
7.1.100.0040.00718.49
7.1.70.0000.00917.50
7.1.60.0130.01319.46
7.1.50.0110.00616.84
7.1.00.0000.08022.30
7.0.200.0030.00316.66
7.0.140.0070.07021.95
7.0.100.0070.07720.16
7.0.90.0500.06720.04
7.0.80.0400.04319.91
7.0.70.0500.06719.95
7.0.60.0470.05019.95
7.0.50.0430.07320.30
7.0.40.0100.04320.13
7.0.30.0030.08720.05
7.0.20.0200.07020.18
7.0.10.0070.04720.02
7.0.00.0130.08320.07
5.6.280.0000.07720.86
5.6.250.0070.08720.69
5.6.240.0100.08020.62
5.6.230.0100.07720.59
5.6.220.0100.08020.66
5.6.210.0070.08020.49
5.6.200.0030.08720.93
5.6.190.0030.08721.05
5.6.180.0100.05021.03
5.6.170.0100.08321.02
5.6.160.0100.08020.95
5.6.150.0030.05320.93
5.6.140.0170.07021.07
5.6.130.0070.08720.95
5.6.120.0130.08021.11
5.6.110.0100.07720.95
5.6.100.0170.06721.09
5.6.90.0030.08321.01
5.6.80.0070.08720.39
5.6.70.0030.08020.41
5.6.60.0000.04020.45
5.6.50.0030.07020.41
5.6.40.0030.04720.30
5.6.30.0000.08320.31
5.6.20.0100.06720.40
5.6.10.0100.08020.39
5.6.00.0000.08320.36
5.5.380.0100.08320.51
5.5.370.0070.08320.34
5.5.360.0130.07020.38
5.5.350.0130.07720.36
5.5.340.0100.06720.88
5.5.330.0130.07320.90
5.5.320.0100.08020.77
5.5.310.0000.08720.71
5.5.300.0100.08020.72
5.5.290.0030.08320.86
5.5.280.0130.07320.87
5.5.270.0000.07720.77
5.5.260.0070.08020.87
5.5.250.0030.09020.65
5.5.240.0070.07720.30
5.5.230.0070.05720.14
5.5.220.0030.08320.15
5.5.210.0100.08320.11
5.5.200.0030.07720.05
5.5.190.0000.04320.25
5.5.180.0030.06320.27
5.5.160.0070.05720.26
5.5.150.0070.08320.22
5.5.140.0100.07020.16
5.5.130.0000.07020.26
5.5.120.0100.05020.14
5.5.110.0100.06720.26
5.5.100.0030.04020.01
5.5.90.0000.05020.12
5.5.80.0130.05319.94
5.5.70.0100.07319.94
5.5.60.0070.07720.08
5.5.50.0030.06320.05
5.5.40.0170.06720.14
5.5.30.0070.07720.02
5.5.20.0030.07320.14
5.5.10.0200.05720.11
5.5.00.0070.07319.96
5.4.450.0030.08019.47
5.4.440.0000.06319.37
5.4.430.0200.03319.13
5.4.420.0030.05719.55
5.4.410.0000.08719.43
5.4.400.0000.04019.05
5.4.390.0030.04719.09
5.4.380.0130.05318.93
5.4.370.0130.06719.11
5.4.360.0070.03318.98
5.4.350.0100.06719.03
5.4.340.0030.07019.11
5.4.320.0070.04319.22
5.4.310.0030.07019.06
5.4.300.0070.06718.81
5.4.290.0100.06318.81
5.4.280.0100.07719.11
5.4.270.0070.07719.14
5.4.260.0100.06719.14
5.4.250.0130.05718.89
5.4.240.0030.07019.16
5.4.230.0100.06718.80
5.4.220.0070.07718.80
5.4.210.0130.06719.12
5.4.200.0100.07319.09
5.4.190.0070.07319.13
5.4.180.0070.07719.15
5.4.170.0000.07319.06
5.4.160.0100.07319.07
5.4.150.0170.07319.00
5.4.140.0070.07316.36
5.4.130.0070.04016.36
5.4.120.0070.07016.35
5.4.110.0000.07316.21
5.4.100.0000.08016.29
5.4.90.0070.06316.21
5.4.80.0000.07316.36
5.4.70.0070.07016.31
5.4.60.0000.07016.34
5.4.50.0030.07316.33
5.4.40.0030.06716.25
5.4.30.0100.07016.31
5.4.20.0070.07016.28
5.4.10.0030.06716.41
5.4.00.0000.07015.69
5.3.290.0030.08314.68
5.3.280.0000.08014.57
5.3.270.0100.04014.57
5.3.260.0000.05014.58
5.3.250.0030.04314.55
5.3.240.0130.06314.55
5.3.230.0070.07714.59
5.3.220.0070.07314.52
5.3.210.0000.07014.47
5.3.200.0030.04714.56
5.3.190.0070.07014.55
5.3.180.0100.06014.42
5.3.170.0100.06014.55
5.3.160.0030.05314.51
5.3.150.0070.06714.38
5.3.140.0070.07014.52
5.3.130.0070.07014.52
5.3.120.0030.07314.55
5.3.110.0070.08014.38
5.3.100.0030.08014.03
5.3.90.0030.07713.98
5.3.80.0030.06714.01
5.3.70.0100.07313.87
5.3.60.0070.07313.75
5.3.50.0030.08013.85
5.3.40.0070.05713.85
5.3.30.0130.05313.87
5.3.20.0100.07013.45
5.3.10.0070.07013.59
5.3.00.0070.06013.57
5.2.170.0030.05311.09
5.2.160.0070.06011.14
5.2.150.0030.04011.14
5.2.140.0070.06010.95
5.2.130.0100.05711.09
5.2.120.0170.05010.95
5.2.110.0030.04011.04
5.2.100.0000.05711.02
5.2.90.0030.05710.94
5.2.80.0070.03311.13
5.2.70.0070.05011.09
5.2.60.0000.06011.03
5.2.50.0030.06310.84
5.2.40.0030.06311.05
5.2.30.0070.04710.97
5.2.20.0070.02710.85
5.2.10.0030.03310.76
5.2.00.0030.02710.76
5.1.60.0070.0409.98
5.1.50.0070.02710.07
5.1.40.0000.0539.96
5.1.30.0000.04010.38
5.1.20.0030.05710.37
5.1.10.0100.04710.05
5.1.00.0030.03710.05
5.0.50.0000.0478.53
5.0.40.0030.0208.25
5.0.30.0100.0378.21
5.0.20.0000.0478.30
5.0.10.0030.0478.25
5.0.00.0030.0638.21
4.4.90.0100.0238.19
4.4.80.0000.0378.19
4.4.70.0030.0178.19
4.4.60.0000.0408.19
4.4.50.0070.0278.19
4.4.40.0000.0438.19
4.4.30.0000.0308.19
4.4.20.0070.0278.19
4.4.10.0070.0178.19
4.4.00.0000.0538.19
4.3.110.0030.0338.19
4.3.100.0000.0308.19
4.3.90.0030.0278.19
4.3.80.0030.0338.19
4.3.70.0000.0178.19
4.3.60.0070.0278.19
4.3.50.0030.0338.19
4.3.40.0030.0508.19
4.3.30.0030.0338.19
4.3.20.0030.0178.19
4.3.10.0030.0378.19
4.3.00.0000.0378.19

preferences:
43.17 ms | 401 KiB | 5 Q