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 7Hr34-5001nc'; $re1='.*?'; # Non-greedy match on filler $re41='([a-z]?[a-z])'; # Any Single Word Character (Not Whitespace) 1 or 2 $re43='(\\d\\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.$re43.$re45.$re46.$re47.$re48.$re49."/is", $txt, $matches)) { $w1=$matches[1][0]; $d1=$matches[2][0]; $c1=$matches[3][0]; $d3=$matches[4][0]; $d4=$matches[5][0]; $d5=$matches[6][0]; print "($w1) ($d1) ($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.0090.00616.86
8.3.50.0130.00622.08
8.3.40.0090.00619.04
8.3.30.0090.00619.01
8.3.20.0040.00420.34
8.3.10.0090.00023.48
8.3.00.0080.00019.63
8.2.180.0100.00616.50
8.2.170.0120.00322.96
8.2.160.0070.01020.44
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00022.19
8.2.110.0110.00722.42
8.2.100.0070.00418.03
8.2.90.0000.00818.16
8.2.80.0040.00417.97
8.2.70.0030.00617.88
8.2.60.0030.00618.05
8.2.50.0000.00818.07
8.2.40.0030.00620.18
8.2.30.0000.00820.01
8.2.20.0050.00317.97
8.2.10.0070.00018.06
8.2.00.0000.00917.95
8.1.280.0090.00925.92
8.1.270.0080.00023.84
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0070.01122.65
8.1.230.0060.00620.98
8.1.220.0040.00417.74
8.1.210.0040.00418.97
8.1.200.0060.00317.59
8.1.190.0050.00317.35
8.1.180.0030.00618.10
8.1.170.0000.00818.70
8.1.160.0000.00721.95
8.1.150.0000.00818.78
8.1.140.0050.00217.52
8.1.130.0030.00317.77
8.1.120.0070.00017.58
8.1.110.0070.00017.65
8.1.100.0040.00417.63
8.1.90.0000.00717.62
8.1.80.0030.00517.60
8.1.70.0030.00317.62
8.1.60.0000.00917.75
8.1.50.0040.00417.57
8.1.40.0000.00817.68
8.1.30.0050.00317.71
8.1.20.0000.00817.71
8.1.10.0040.00417.71
8.1.00.0070.00017.71
8.0.300.0040.00420.09
8.0.290.0000.00717.16
8.0.280.0040.00418.38
8.0.270.0000.00717.29
8.0.260.0000.00817.29
8.0.250.0000.00717.09
8.0.240.0000.00717.12
8.0.230.0000.00717.07
8.0.220.0000.00716.93
8.0.210.0050.00516.97
8.0.200.0000.00617.09
8.0.190.0040.00417.13
8.0.180.0040.00416.95
8.0.170.0030.00617.13
8.0.160.0040.00417.05
8.0.150.0000.00716.93
8.0.140.0040.00216.87
8.0.130.0000.00613.51
8.0.120.0030.00616.90
8.0.110.0000.00717.05
8.0.100.0040.00417.02
8.0.90.0050.00216.94
8.0.80.0070.01417.09
8.0.70.0040.00416.82
8.0.60.0040.00417.00
8.0.50.0040.00417.00
8.0.30.0140.00917.15
8.0.20.0120.01117.40
8.0.10.0000.00717.09
8.0.00.0110.00617.21
7.4.330.0020.00215.11
7.4.320.0000.00716.74
7.4.300.0030.00316.71
7.4.290.0040.00416.71
7.4.280.0070.00016.72
7.4.270.0000.00716.80
7.4.260.0050.00216.83
7.4.250.0040.00416.59
7.4.240.0040.00416.76
7.4.230.0030.00316.65
7.4.220.0140.00616.55
7.4.210.0060.00916.72
7.4.200.0040.00416.75
7.4.190.0000.00816.56
7.4.160.0120.00616.79
7.4.150.0090.00917.40
7.4.140.0100.01017.86
7.4.130.0100.00616.78
7.4.120.0070.01216.63
7.4.110.0090.00916.47
7.4.100.0140.00716.82
7.4.90.0100.01016.69
7.4.80.0110.00919.39
7.4.70.0080.01516.65
7.4.60.0060.01216.75
7.4.50.0090.00016.49
7.4.40.0000.01816.43
7.4.30.0120.00316.55
7.4.00.0100.00615.19
7.3.330.0020.00213.21
7.3.320.0000.00513.26
7.3.310.0000.00716.53
7.3.300.0030.00316.46
7.3.290.0030.01416.46
7.3.280.0090.00916.49
7.3.270.0040.01417.40
7.3.260.0000.01716.82
7.3.250.0090.00916.45
7.3.240.0140.00316.77
7.3.230.0030.01416.48
7.3.210.0030.01316.62
7.3.200.0150.00819.39
7.3.190.0120.00916.56
7.3.180.0100.00716.70
7.3.170.0090.00916.84
7.3.160.0030.01716.44
7.3.120.0050.01315.15
7.3.110.0050.00814.73
7.3.100.0100.01015.02
7.3.90.0110.00415.06
7.3.80.0040.00814.99
7.3.70.0170.00014.76
7.3.60.0030.00915.05
7.3.50.0060.00915.12
7.3.40.0040.01515.12
7.3.30.0070.00715.09
7.3.20.0080.00816.99
7.3.10.0090.00916.63
7.3.00.0100.00616.86
7.2.330.0100.00717.00
7.2.320.0060.01316.70
7.2.310.0070.01716.66
7.2.300.0180.00416.67
7.2.290.0120.00616.80
7.2.250.0040.01415.19
7.2.240.0130.00715.25
7.2.230.0100.00615.13
7.2.220.0110.00715.29
7.2.210.0030.01014.98
7.2.200.0040.01115.29
7.2.190.0040.00715.32
7.2.180.0070.01015.42
7.2.170.0030.01615.30
7.2.160.0080.00415.39
7.2.150.0030.01017.41
7.2.140.0000.01517.13
7.2.130.0100.00317.20
7.2.120.0030.01316.94
7.2.110.0080.00917.03
7.2.100.0100.00417.11
7.2.90.0080.00417.14
7.2.80.0080.00517.12
7.2.70.0040.01017.20
7.2.60.0080.00716.96
7.2.50.0100.00517.14
7.2.40.0080.00617.03
7.2.30.0070.00717.04
7.2.20.0090.00717.20
7.2.10.0090.00417.16
7.2.00.0060.00717.71
7.1.330.0030.01416.17
7.1.320.0100.01015.96
7.1.310.0070.00716.15
7.1.300.0070.00715.64
7.1.290.0090.00616.11
7.1.280.0120.00615.91
7.1.270.0140.00016.21
7.1.260.0090.00316.21
7.1.250.0070.00515.87
7.1.240.0060.00716.01
7.1.230.0070.00615.80
7.1.220.0070.00716.00
7.1.210.0110.00215.96
7.1.200.0060.00615.82
7.1.190.0070.00815.95
7.1.180.0080.00815.90
7.1.170.0080.00715.96
7.1.160.0080.00715.91
7.1.150.0050.00815.71
7.1.140.0050.00715.93
7.1.130.0090.00815.80
7.1.120.0090.00415.87
7.1.110.0080.00615.94
7.1.100.0090.00516.55
7.1.90.0040.01116.03
7.1.80.0030.01116.00
7.1.70.0060.00716.30
7.1.60.0030.01316.82
7.1.50.0050.01216.24
7.1.40.0060.00615.96
7.1.30.0080.00716.02
7.1.20.0080.00416.02
7.1.10.0060.00615.75
7.1.00.0060.02517.51
7.0.330.0070.00615.54
7.0.320.0070.00615.55
7.0.310.0050.01115.61
7.0.300.0090.00815.54
7.0.290.0110.00615.73
7.0.280.0120.00415.60
7.0.270.0110.00515.68
7.0.260.0100.00515.43
7.0.250.0080.00915.73
7.0.240.0050.00615.64
7.0.230.0070.00715.60
7.0.220.0070.00615.54
7.0.210.0080.00615.67
7.0.200.0040.00816.02
7.0.190.0060.00615.72
7.0.180.0070.00415.57
7.0.170.0110.00715.59
7.0.160.0040.00915.61
7.0.150.0070.00715.43
7.0.140.0050.02317.12
7.0.130.0050.00915.50
7.0.120.0100.00415.54
7.0.110.0040.01015.74
7.0.100.0070.01916.59
7.0.90.0090.02416.74
7.0.80.0120.02616.58
7.0.70.0120.01516.58
7.0.60.0070.02716.53
7.0.50.0160.02416.79
7.0.40.0070.01615.27
7.0.30.0070.02415.12
7.0.20.0040.02515.30
7.0.10.0060.02715.26
7.0.00.0080.01815.25
5.6.400.0030.01314.40
5.6.390.0070.00714.69
5.6.380.0080.00614.49
5.6.370.0070.00714.51
5.6.360.0050.00914.49
5.6.350.0060.00814.47
5.6.340.0060.00414.37
5.6.330.0060.00614.54
5.6.320.0070.00614.28
5.6.310.0070.00514.38
5.6.300.0040.00814.48
5.6.290.0070.00514.43
5.6.280.0070.02316.14
5.6.270.0050.00714.52
5.6.260.0090.00714.54
5.6.250.0090.02315.97
5.6.240.0050.02015.93
5.6.230.0070.02515.93
5.6.220.0090.02615.90
5.6.210.0060.02615.90
5.6.200.0080.01816.17
5.6.190.0080.02616.12
5.6.180.0060.01816.17
5.6.170.0050.02016.06
5.6.160.0070.02616.00
5.6.150.0030.02716.09
5.6.140.0050.02816.05
5.6.130.0050.02716.14
5.6.120.0070.01915.95
5.6.110.0080.02516.06
5.6.100.0050.02515.97
5.6.90.0090.01716.03
5.6.80.0070.01716.00
5.6.70.0060.01715.89
5.6.60.0040.02315.89
5.6.50.0070.02715.74
5.6.40.0050.02715.82
5.6.30.0110.02015.83
5.6.20.0050.02515.93
5.6.10.0080.01815.89
5.6.00.0050.02715.89
5.5.380.0150.00814.29
5.5.370.0050.02514.17
5.5.360.0040.01814.47
5.5.350.0060.02214.27
5.5.340.0060.02314.30
5.5.330.0060.01914.28
5.5.320.0060.02614.44
5.5.310.0080.02114.34
5.5.300.0050.01514.45
5.5.290.0080.02514.38
5.5.280.0040.02514.43
5.5.270.0100.02014.27
5.5.260.0060.02414.45
5.5.250.0100.02314.27
5.5.240.0090.02014.13
5.5.230.0050.02514.15
5.5.220.0040.02114.18
5.5.210.0030.02514.09
5.5.200.0060.02314.13
5.5.190.0040.02114.16
5.5.180.0070.02414.07
5.5.170.0070.00412.09
5.5.160.0050.01814.23
5.5.150.0060.02314.19
5.5.140.0080.02213.98
5.5.130.0030.02714.20
5.5.120.0040.02414.33
5.5.110.0060.01414.08
5.5.100.0050.01714.10
5.5.90.0070.02114.12
5.5.80.0060.01414.07
5.5.70.0040.01614.21
5.5.60.0070.02314.12
5.5.50.0060.01814.00
5.5.40.0080.02214.04
5.5.30.0080.01414.08
5.5.20.0060.02314.08
5.5.10.0060.02314.19
5.5.00.0020.01913.98
5.4.450.0030.02413.38
5.4.440.0080.02213.42
5.4.430.0020.02913.40
5.4.420.0060.02313.35
5.4.410.0050.02313.33
5.4.400.0070.02113.08
5.4.390.0050.02213.29
5.4.380.0040.01813.26
5.4.370.0080.02013.30
5.4.360.0070.02113.09
5.4.350.0050.01413.21
5.4.340.0040.02413.25
5.4.330.0060.00311.26
5.4.320.0040.02613.27
5.4.310.0080.02113.18
5.4.300.0040.02113.10
5.4.290.0030.02613.18
5.4.280.0050.01713.15
5.4.270.0070.02213.22
5.4.260.0060.01313.25
5.4.250.0070.01913.20
5.4.240.0030.02313.15
5.4.230.0020.02413.30
5.4.220.0020.02513.13
5.4.210.0030.01813.29
5.4.200.0040.02413.17
5.4.190.0050.02413.18
5.4.180.0040.01913.25
5.4.170.0050.02013.15
5.4.160.0070.02313.13
5.4.150.0050.02113.23
5.4.140.0040.02112.57
5.4.130.0050.01312.41
5.4.120.0080.01912.58
5.4.110.0060.01612.50
5.4.100.0020.02012.54
5.4.90.0070.02012.56
5.4.80.0050.01712.61
5.4.70.0040.02612.46
5.4.60.0070.02312.43
5.4.50.0060.01712.53
5.4.40.0050.02212.52
5.4.30.0050.01412.51
5.4.20.0060.02012.61
5.4.10.0070.01912.60
5.4.00.0080.01912.41
5.3.290.0030.01511.94
5.3.280.0050.01911.90
5.3.270.0020.02911.96
5.3.260.0050.02511.91
5.3.250.0070.02111.90
5.3.240.0040.02111.87
5.3.230.0020.02211.92
5.3.220.0080.01911.83
5.3.210.0050.01611.84
5.3.200.0060.02011.89
5.3.190.0050.02111.87
5.3.180.0030.02311.89
5.3.170.0030.02511.86
5.3.160.0040.01811.89
5.3.150.0040.01711.89
5.3.140.0040.02411.91
5.3.130.0060.02011.89
5.3.120.0040.02311.92
5.3.110.0040.01411.89
5.3.100.0080.01711.76
5.3.90.0030.02411.77
5.3.80.0020.02511.71
5.3.70.0040.01611.71
5.3.60.0040.02411.75
5.3.50.0030.02311.67
5.3.40.0020.02211.67
5.3.30.0070.02111.74
5.3.20.0040.01511.65
5.3.10.0080.02111.55
5.3.00.0050.02311.52
5.2.170.0050.02710.58
5.2.160.0060.02210.59
5.2.150.0040.02410.55
5.2.140.0060.02110.58
5.2.130.0040.02210.58
5.2.120.0030.02310.52
5.2.110.0050.02210.56
5.2.100.0040.02210.59
5.2.90.0050.01110.59
5.2.80.0050.02210.59
5.2.70.0040.02410.52
5.2.60.0050.02610.56
5.2.50.0050.02210.54
5.2.40.0020.02610.56
5.2.30.0050.02310.54
5.2.20.0040.01610.49
5.2.10.0030.02210.47
5.2.00.0040.02210.43
5.1.60.0040.01810.16
5.1.50.0000.02310.21
5.1.40.0010.02410.20
5.1.30.0040.02110.33
5.1.20.0020.01310.33
5.1.10.0050.01710.24
5.1.00.0050.02110.23
5.0.50.0020.0189.68
5.0.40.0020.0109.70
5.0.30.0020.0139.64
5.0.20.0030.0099.64
5.0.10.0050.0119.60
5.0.00.0020.0269.60
4.4.90.0030.0089.54
4.4.80.0020.0149.54
4.4.70.0010.0179.54
4.4.60.0020.0149.54
4.4.50.0000.0149.54
4.4.40.0040.0179.54
4.4.30.0030.0139.54
4.4.20.0010.0149.54
4.4.10.0040.0119.54
4.4.00.0010.0139.54
4.3.110.0030.0079.54
4.3.100.0030.0119.54
4.3.90.0010.0139.54
4.3.80.0010.0149.54
4.3.70.0030.0139.54
4.3.60.0040.0109.54
4.3.50.0020.0139.54
4.3.40.0010.0129.54
4.3.30.0010.0139.54
4.3.20.0020.0139.54
4.3.10.0030.0139.54
4.3.00.0020.0159.54

preferences:
43.7 ms | 401 KiB | 5 Q