3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "http://google.at;www.davetrudes.com asdf http://www.youtube.com/user/davetrudes http://code.google.com/u/dave.trudes/"; $t = "regexbuddy.com www.regexbuddy.com http://regexbuddy.com cvc http://www.regexbuddy.com cvcv http://www.regexbuddy.com/ g http://www.regexbuddy.com/index.html f http://www.regexbuddy.com/index.html?source=library f You can download RegexBu ddy at http://www.regexbuddy.com/download.html. f 'www.domain.com/quoted URL with spaces' http://10.2.2.1.2/ttxx/txt/gg v support@regexbuddy.com"; $match = null; preg_match('/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/', $string, $match); var_dump($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.0130.00318.30
8.3.50.0050.00922.05
8.3.40.0130.00618.97
8.3.30.0090.00618.86
8.3.20.0050.00320.69
8.3.10.0040.00421.09
8.3.00.0060.00319.43
8.2.180.0150.00417.00
8.2.170.0090.00622.96
8.2.160.0040.01120.46
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.00
8.2.110.0030.00620.35
8.2.100.0030.00717.84
8.2.90.0000.00819.02
8.2.80.0050.00319.13
8.2.70.0040.00417.75
8.2.60.0060.00317.91
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0070.00021.18
8.2.20.0060.00317.79
8.2.10.0060.00317.73
8.2.00.0070.00317.64
8.1.280.0000.01425.92
8.1.270.0050.00323.99
8.1.260.0100.01026.35
8.1.250.0050.00328.09
8.1.240.0100.00022.36
8.1.230.0070.00420.97
8.1.220.0030.00518.77
8.1.210.0050.00518.96
8.1.200.0060.00317.36
8.1.190.0080.00017.18
8.1.180.0030.00518.10
8.1.170.0000.00918.69
8.1.160.0000.00818.78
8.1.150.0050.00218.68
8.1.140.0040.00417.46
8.1.130.0040.00417.77
8.1.120.0000.00717.57
8.1.110.0000.00817.55
8.1.100.0070.00017.57
8.1.90.0000.00817.54
8.1.80.0000.00817.55
8.1.70.0000.00717.52
8.1.60.0000.00917.71
8.1.50.0000.00817.56
8.1.40.0080.00017.51
8.1.30.0040.00417.63
8.1.20.0060.00317.77
8.1.10.0040.00417.55
8.1.00.0050.00317.52
8.0.300.0040.00419.85
8.0.290.0070.00017.03
8.0.280.0070.00018.33
8.0.270.0030.00317.14
8.0.260.0000.00816.92
8.0.250.0040.00417.09
8.0.240.0060.00316.97
8.0.230.0030.00516.96
8.0.220.0040.00416.95
8.0.210.0040.00416.93
8.0.200.0030.00317.05
8.0.190.0040.00417.13
8.0.180.0050.00316.89
8.0.170.0000.00716.89
8.0.160.0080.00016.88
8.0.150.0040.00416.82
8.0.140.0000.00716.98
8.0.130.0000.00513.45
8.0.120.0030.00616.93
8.0.110.0070.00017.02
8.0.100.0040.00416.98
8.0.90.0040.00416.89
8.0.80.0060.01217.03
8.0.70.0040.00416.78
8.0.60.0050.00316.80
8.0.50.0040.00416.82
8.0.30.0100.00817.22
8.0.20.0120.00617.41
8.0.10.0000.00716.94
8.0.00.0090.01016.83
7.4.330.0000.00516.86
7.4.320.0000.00616.73
7.4.300.0000.00616.75
7.4.290.0080.00016.59
7.4.280.0000.00716.59
7.4.270.0000.00716.76
7.4.260.0030.00313.46
7.4.250.0000.00916.60
7.4.240.0030.00516.70
7.4.230.0000.00816.81
7.4.220.0060.01316.53
7.4.210.0070.00816.72
7.4.200.0070.00016.78
7.4.190.0030.00316.57
7.4.160.0030.01316.70
7.4.150.0000.01717.40
7.4.140.0090.00817.86
7.4.130.0110.00616.77
7.4.120.0100.01016.45
7.4.110.0170.00316.62
7.4.100.0060.01216.71
7.4.90.0070.01416.59
7.4.80.0030.01719.39
7.4.70.0090.00916.60
7.4.60.0070.01116.44
7.4.50.0030.00516.52
7.4.40.0100.00522.77
7.4.30.0130.00716.66
7.4.00.0100.00615.22
7.3.330.0000.00613.13
7.3.320.0000.00513.07
7.3.310.0070.00016.35
7.3.300.0030.00316.30
7.3.290.0070.00716.34
7.3.280.0070.00816.29
7.3.270.0160.00317.40
7.3.260.0130.01018.24
7.3.250.0090.00916.52
7.3.240.0060.01116.36
7.3.230.0120.00916.40
7.3.210.0090.00916.76
7.3.200.0130.01019.39
7.3.190.0060.00916.31
7.3.180.0090.00616.43
7.3.170.0060.01616.73
7.3.160.0130.00416.34
7.3.120.0040.01215.11
7.3.10.0110.00416.79
7.3.00.0060.00616.86
7.2.330.0100.00716.57
7.2.320.0070.01616.59
7.2.310.0150.00916.73
7.2.300.0170.00016.40
7.2.290.0030.01316.49
7.2.130.0040.00716.64
7.2.120.0030.01017.02
7.2.110.0060.00916.73
7.2.100.0080.00616.69
7.2.90.0060.00916.58
7.2.80.0000.01416.70
7.2.70.0000.01516.82
7.2.60.0070.00717.01
7.2.50.0110.00316.80
7.2.40.0060.00916.78
7.2.30.0090.00616.79
7.2.20.0110.00416.80
7.2.10.0110.00416.75
7.2.00.0090.00918.17
7.1.250.0100.00715.50
7.1.200.0000.01315.83
7.1.100.0000.01418.13
7.1.70.0030.00717.25
7.1.60.0030.01317.42
7.1.50.0030.00917.06
7.1.40.0070.00716.81
7.1.30.0080.00416.86
7.1.20.0030.01316.95
7.1.10.0040.00416.76
7.1.00.0060.00917.06
7.0.200.0070.00016.94
7.0.190.0000.00816.54
7.0.180.0060.00616.47
7.0.170.0000.00716.49
7.0.160.0050.00316.20
7.0.150.0050.00316.56
7.0.140.0040.00416.52
7.0.130.0000.00916.91
7.0.120.0000.00816.76
7.0.110.0040.00416.48
7.0.100.0030.00916.29
7.0.90.0100.00016.55
7.0.80.0000.01016.57
7.0.70.0040.00716.34
7.0.60.0050.00516.28
7.0.50.0000.00716.58
7.0.40.0040.00414.89
7.0.30.0000.00814.89
7.0.20.0040.00414.89
7.0.10.0030.00614.89
7.0.00.0060.00314.89
5.6.300.0070.03720.98
5.6.290.0130.03620.78
5.6.280.0070.06821.00
5.6.270.0000.04520.91
5.6.260.0000.04320.85
5.6.250.0100.06621.05
5.6.240.0100.04120.80
5.6.230.0060.03920.94
5.6.220.0030.04220.84
5.6.210.0200.04720.59
5.6.200.0000.05320.77
5.6.190.0000.04821.02
5.6.180.0070.03820.83
5.6.170.0220.03520.91
5.6.160.0180.03620.82
5.6.150.0030.04520.86
5.6.140.0070.03821.02
5.6.130.0060.04020.90
5.6.120.0030.04420.79
5.6.110.0030.04521.01
5.6.100.0090.04420.82
5.6.90.0030.05920.80
5.6.80.0060.03820.14
5.6.70.0000.04620.39
5.6.60.0090.04120.34
5.6.50.0030.07020.34
5.6.40.0100.03420.18
5.6.30.0000.04520.27
5.6.20.0040.03920.33
5.6.10.0040.04020.16
5.6.00.0000.04620.19
5.5.380.0100.06017.47
5.5.370.0000.04617.54
5.5.360.0060.04217.43
5.5.350.0090.03417.54
5.5.340.0140.03817.97
5.5.330.0030.06318.06
5.5.320.0100.07317.84
5.5.310.0060.04417.83
5.5.300.0040.04617.84
5.5.290.0070.04217.70
5.5.280.0030.04517.84
5.5.270.0040.04718.05
5.5.260.0000.04517.97
5.5.250.0030.04117.52
5.5.240.0000.04017.13
5.5.230.0000.04617.32
5.5.220.0030.04117.41
5.5.210.0100.03817.43
5.5.200.0100.03317.41
5.5.190.0030.04517.43
5.5.180.0090.03117.42
5.5.160.0060.05017.33
5.5.150.0030.03717.31
5.5.140.0000.04417.05
5.5.130.0040.03917.19
5.5.120.0000.04017.37
5.5.110.0060.03817.32
5.5.100.0000.04617.09
5.5.90.0000.05417.09
5.5.80.0040.03917.17
5.5.70.0000.04016.95
5.5.60.0000.04217.07
5.5.50.0060.03717.30
5.5.40.0030.03617.26
5.5.30.0150.03017.26
5.5.20.0110.03517.25
5.5.10.0070.03917.09
5.5.00.0090.03517.16
5.4.450.0030.04119.38
5.4.440.0030.04119.33
5.4.430.0000.06019.23
5.4.420.0070.03719.38
5.4.410.0040.04019.25
5.4.400.0000.04219.14
5.4.390.0060.03519.12
5.4.380.0070.03719.14
5.4.370.0000.04219.15
5.4.360.0040.03919.14
5.4.350.0060.03918.87
5.4.340.0070.03419.15
5.4.320.0030.04019.15
5.4.310.0030.03819.15
5.4.300.0030.03818.97
5.4.290.0000.04019.05
5.4.280.0030.04219.14
5.4.270.0070.03319.07
5.4.260.0000.04518.93
5.4.250.0030.03919.13
5.4.240.0030.04019.06
5.4.230.0060.03818.82
5.4.220.0130.06818.97
5.4.210.0030.05919.01
5.4.200.0070.03718.86
5.4.190.0000.04018.84
5.4.180.0000.04118.84
5.4.170.0000.04219.05
5.4.160.0030.04319.04
5.4.150.0000.04718.96
5.4.140.0080.03416.34
5.4.130.0060.03516.53
5.4.120.0030.03516.59
5.4.110.0100.03516.65
5.4.100.0000.03916.46
5.4.90.0100.03616.60
5.4.80.0030.04816.37
5.4.70.0090.02816.29
5.4.60.0060.03916.37
5.4.50.0130.04716.36
5.4.40.0030.03816.44
5.4.30.0160.05816.63
5.4.20.0060.03516.60
5.4.10.0040.03916.43
5.4.00.0070.04615.79
5.3.290.0090.03614.89
5.3.280.0060.03514.89
5.3.270.0030.03814.89
5.3.260.0040.03914.89
5.3.250.0000.04214.89
5.3.240.0030.03614.89
5.3.230.0000.04314.89
5.3.220.0040.03514.89
5.3.210.0030.08114.89
5.3.200.0070.05014.89
5.3.190.0000.04214.89
5.3.180.0060.03514.89
5.3.170.0120.04614.89
5.3.160.0030.03814.89
5.3.150.0030.04114.89
5.3.140.0070.04714.89
5.3.130.0030.04114.89
5.3.120.0000.04014.89
5.3.110.0000.06314.89
5.3.100.0070.04514.89
5.3.90.0030.03814.89
5.3.80.0030.04814.89
5.3.70.0030.04214.89
5.3.60.0100.03414.89
5.3.50.0000.03814.89
5.3.40.0030.07714.89
5.3.30.0030.07714.89
5.3.20.0000.03614.89
5.3.10.0030.03814.89
5.3.00.0030.03414.89
5.2.170.0030.06214.89
5.2.160.0060.02914.89
5.2.150.0030.03614.89
5.2.140.0040.03314.89
5.2.130.0000.03114.89
5.2.120.0100.04214.89
5.2.110.0030.03014.89
5.2.100.0060.02514.89
5.2.90.0000.03114.89
5.2.80.0090.03214.89
5.2.70.0030.03114.89
5.2.60.0000.03514.89
5.2.50.0000.03714.89
5.2.40.0030.04614.89
5.2.30.0060.02814.89
5.2.20.0030.05414.89
5.2.10.0060.04514.89
5.2.00.0030.03214.89
5.1.60.0100.04214.89
5.1.50.0030.02414.89
5.1.40.0000.03214.89
5.1.30.0070.02514.89
5.1.20.0030.02714.89
5.1.10.0030.02314.89
5.1.00.0030.03114.89
5.0.50.0080.02314.89
5.0.40.0000.02214.89
5.0.30.0030.03114.89
5.0.20.0030.02414.89
5.0.10.0000.02214.89
5.0.00.0070.02714.89
4.4.90.0060.01214.89
4.4.80.0000.01714.89
4.4.70.0040.02514.89
4.4.60.0040.02214.89
4.4.50.0060.01614.89
4.4.40.0040.02514.89
4.4.30.0030.01714.89
4.4.20.0000.01814.89
4.4.10.0030.01414.89
4.4.00.0040.02514.89
4.3.110.0000.01914.89
4.3.100.0030.01314.89
4.3.90.0000.01714.89
4.3.80.0030.02314.89
4.3.70.0000.01814.89
4.3.60.0140.00714.89
4.3.50.0030.01614.89
4.3.40.0030.02914.89
4.3.30.0000.02314.89
4.3.20.0000.01714.89
4.3.10.0030.03314.89
4.3.00.0060.01614.89

preferences:
45.12 ms | 401 KiB | 5 Q