3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fullURLSample = str_replace( "\r", '', 'https://www.facebook.com/dialog/feed?app_id={app_id}&link={url}&picture={img}&name={title}&description={desc}&redirect_uri={redirect_url} https://twitter.com/share?url={url}&text={title}&via={via}&hashtags={hashtags} https://plus.google.com/share?url={url} https://pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video={is_video}&description={title} http://www.youtube.com/watch?v=uMdl80k-3yo https://vimeo.com/391720 https://www.flickr.com/photos/eshu/galleries/72157621948084368/ http://picasa.google.com.au/ http://instagram.com/username111 https://foursquare.com/explore?cat=food&mode=url&near=Wollongong%2C%20NSW http://every1-knows-its-butters.tumblr.com/ http://www.tumblr.com/share/link?url={url}&name={title}&description={desc} skype://notsurewhatgoeshere https://soundcloud.com/iambrodydalle http://www.linkedin.com/shareArticle?url={url}&title={title} https://github.com/chrisburgess7 http://dribbble.com/MailChimp https://itunes.apple.com/au/podcast/the-history-of-britain/id802163163?mt=2'); $urlRegex1 = '_' . '(?:(?:https?)://)' . '(?:[a-z\x{00a1}-\x{ffff}0-9]+-?)*\.?'; $urlRegex2 = '(?:\.(?:[a-z\x{00a1}-\x{ffff}0-9]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)*' . // domain name '(?:\.(?:[a-z\x{00a1}-\x{ffff}]{2,}))' . // TLD identifier '(?::\d{2,5})?(?:/[^\s]*)?' . // rest of path '_iuS'; $urls = preg_replace( $urlRegex1 . 'linkedin' . $urlRegex2, 'http://www.linkedin.com/profile/view?id=123456789', $fullURLSample );

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.40.0130.00618.92
8.3.30.0040.01519.08
8.3.20.0080.00320.24
8.3.10.0070.00322.14
8.3.00.0070.00322.58
8.2.170.0060.01322.96
8.2.160.0130.00719.30
8.2.150.0040.00724.18
8.2.140.0000.01024.66
8.2.130.0070.00426.16
8.2.120.0070.00419.60
8.2.110.0040.00822.38
8.2.100.0040.01419.82
8.2.90.0060.00619.53
8.2.80.0060.00617.97
8.2.70.0000.01317.88
8.2.60.0060.00617.93
8.2.50.0060.00618.07
8.2.40.0030.00918.47
8.2.30.0040.00718.26
8.2.20.0050.00517.99
8.2.10.0040.00718.14
8.2.00.0060.00917.95
8.1.270.0070.00322.23
8.1.260.0100.00026.35
8.1.250.0030.00728.09
8.1.240.0070.00424.04
8.1.230.0060.00919.29
8.1.220.0030.00917.91
8.1.210.0060.00618.77
8.1.200.0040.00817.60
8.1.190.0040.00717.66
8.1.180.0030.00918.96
8.1.170.0080.00418.96
8.1.160.0000.01022.23
8.1.150.0000.01118.84
8.1.140.0040.00717.61
8.1.130.0030.00718.03
8.1.120.0000.01117.61
8.1.110.0040.00717.59
8.1.100.0030.00917.70
8.1.90.0000.01217.68
8.1.80.0040.00717.57
8.1.70.0030.00917.68
8.1.60.0030.00917.77
8.1.50.0040.00717.68
8.1.40.0000.01117.77
8.1.30.0030.00917.86
8.1.20.0030.00917.86
8.1.10.0000.01117.75
8.1.00.0060.00617.68
8.0.300.0000.01218.77
8.0.290.0030.00917.30
8.0.280.0040.00718.63
8.0.270.0050.00517.40
8.0.260.0060.00617.07
8.0.250.0030.00717.16
8.0.240.0030.00917.29
8.0.230.0030.00717.31
8.0.220.0070.00317.23
8.0.210.0070.00317.10
8.0.200.0060.00317.22
8.0.190.0050.00517.33
8.0.180.0040.00717.14
8.0.170.0040.00817.23
8.0.160.0040.00717.14
8.0.150.0030.00817.07
8.0.140.0000.01117.09
8.0.130.0000.01013.61
8.0.120.0030.00817.26
8.0.110.0000.01117.30
8.0.100.0040.00817.29
8.0.90.0040.00817.21
8.0.80.0090.01317.16
8.0.70.0040.00717.19
8.0.60.0040.00717.29
8.0.50.0050.00517.21
8.0.30.0060.01917.43
8.0.20.0080.02217.51
8.0.10.0030.00917.11
8.0.00.0080.01517.02
7.4.330.0030.00615.30
7.4.320.0040.00716.86
7.4.300.0060.00316.74
7.4.290.0000.01216.84
7.4.280.0040.00716.92
7.4.270.0030.00816.95
7.4.260.0080.00716.72
7.4.250.0040.00816.75
7.4.240.0020.01016.90
7.4.230.0030.00716.59
7.4.220.0130.01616.76
7.4.210.0070.01516.82
7.4.200.0040.00716.90
7.4.190.0000.01016.80
7.4.160.0100.01316.61
7.4.150.0120.01217.40
7.4.140.0070.01717.86
7.4.130.0090.01516.74
7.4.120.0120.01216.77
7.4.110.0160.01616.85
7.4.100.0030.02016.70
7.4.90.0140.01116.91
7.4.80.0100.01419.39
7.4.70.0030.02316.72
7.4.60.0100.01316.68
7.4.50.0000.01016.78
7.4.40.0090.00922.77
7.4.30.0060.02616.84
7.4.00.0070.01315.44
7.3.330.0040.00413.19
7.3.320.0000.00913.16
7.3.310.0000.01016.36
7.3.300.0030.00716.49
7.3.290.0110.01116.42
7.3.280.0080.01416.46
7.3.270.0100.01417.40
7.3.260.0170.01716.57
7.3.250.0080.01616.42
7.3.240.0060.01816.55
7.3.230.0210.01216.50
7.3.210.0120.01216.54
7.3.200.0160.01219.39
7.3.190.0100.01316.64
7.3.180.0030.02016.35
7.3.170.0150.00916.69
7.3.160.0040.01916.59
7.3.120.0040.01814.82
7.2.330.0030.02316.81
7.2.320.0080.01616.73
7.2.310.0140.01016.91
7.2.300.0090.01516.82
7.2.290.0030.01916.75
7.1.70.0000.01117.45
7.1.60.0060.02219.82
7.1.50.0130.00917.13
7.1.00.0000.08322.34
7.0.200.0030.00916.80
7.0.140.0030.08022.04
7.0.60.0270.07320.02
7.0.50.0270.08720.39
7.0.40.0270.04720.12
7.0.30.0270.07720.13
7.0.20.0300.07720.07
7.0.10.0200.09020.03
7.0.00.0170.09020.11
5.6.280.0030.09321.07
5.6.210.0100.05020.46
5.6.200.0230.08320.96
5.6.190.0470.10021.14
5.6.180.0170.09721.01
5.6.170.0270.07720.99
5.6.160.0130.06321.02
5.6.150.0230.07320.96
5.6.140.0200.07321.00
5.6.130.0200.06320.96
5.6.120.0230.10021.13
5.6.110.0200.07720.98
5.6.100.0170.09320.95
5.6.90.0270.09720.97
5.6.80.0230.10720.28
5.6.70.0100.09720.36
5.6.60.0270.10720.48
5.6.50.0230.11020.50
5.6.40.0230.08320.36
5.6.30.0130.09320.48
5.6.20.0200.13320.43
5.6.10.0270.13320.49
5.6.00.0200.12020.49
5.5.350.0200.07020.53
5.5.340.0330.09320.85
5.5.330.0270.10320.88
5.5.320.0270.09020.97
5.5.310.0230.09320.77
5.5.300.0230.10720.88
5.5.290.0170.07320.77
5.5.280.0330.09020.75
5.5.270.0300.06320.64
5.5.260.0170.06020.98
5.5.250.0300.09720.66
5.5.240.0200.13320.18
5.5.230.0200.09320.10
5.5.220.0200.13020.17
5.5.210.0300.13020.21
5.5.200.0430.09320.01
5.5.190.0270.12720.22
5.5.180.0230.14020.25
5.5.160.0200.13320.24
5.5.150.0170.13020.31
5.5.140.0370.12320.30
5.5.130.0200.14020.20
5.5.120.0300.13020.07
5.5.110.0370.13720.25
5.5.100.0130.09720.13
5.5.90.0300.10020.01
5.5.80.0200.10020.04
5.5.70.0270.12720.04
5.5.60.0300.10320.21
5.5.50.0170.08720.10
5.5.40.0370.11019.88
5.5.30.0230.12320.04
5.5.20.0270.12720.08
5.5.10.0270.13720.08
5.5.00.0270.12720.07
5.4.450.0170.09719.35
5.4.440.0270.08719.34
5.4.430.0330.08719.49
5.4.420.0170.05719.34
5.4.410.0270.08019.27
5.4.400.0200.13318.99
5.4.390.0100.08019.08
5.4.380.0300.11319.17
5.4.370.0270.11719.01
5.4.360.0200.08319.19
5.4.350.0200.13318.87
5.4.340.0200.13319.01
5.4.320.0200.12718.93
5.4.310.0200.09319.03
5.4.300.0270.11318.86
5.4.290.0300.12318.92
5.4.280.0270.11718.86
5.4.270.0200.07319.02
5.4.260.0230.09318.96
5.4.250.0200.12719.11
5.4.240.0200.07019.02
5.4.230.0330.11018.90
5.4.220.0170.10319.02
5.4.210.0230.11718.98
5.4.200.0330.06319.21
5.4.190.0170.07319.11
5.4.180.0300.09319.11
5.4.170.0200.08719.00
5.4.160.0170.11018.85
5.4.150.0130.08018.97
5.4.140.0170.11316.42
5.4.130.0170.05716.13
5.4.120.0300.09016.40
5.4.110.0300.08316.27
5.4.100.0230.08716.20
5.4.90.0270.07316.32
5.4.80.0300.09316.48
5.4.70.0230.08716.30
5.4.60.0300.08316.26
5.4.50.0270.08716.18
5.4.40.0400.08716.25
5.4.30.0270.07716.40
5.4.20.0370.09016.26
5.4.10.0170.08316.17
5.4.00.0270.10015.58
5.3.290.0200.07714.61
5.3.280.0400.11314.56
5.3.270.0300.11314.61
5.3.260.0170.11314.54
5.3.250.0170.10714.55
5.3.240.0430.12714.56
5.3.230.0230.07314.47
5.3.220.0200.09714.57
5.3.210.0230.10014.50
5.3.200.0370.08714.59
5.3.190.0200.06714.54
5.3.180.0300.08014.54
5.3.170.0130.05714.41
5.3.160.0170.06714.39
5.3.150.0270.07014.58
5.3.140.0300.07014.50
5.3.130.0270.09714.60
5.3.120.0130.05714.56
5.3.110.0230.08714.56
5.3.100.0370.08314.02
5.3.90.0230.05713.98
5.3.80.0170.06713.80
5.3.70.0130.05714.01
5.3.60.0230.07713.97
5.3.50.0200.04713.94
5.3.40.0230.07713.90
5.3.30.0300.05013.86
5.3.20.0230.07313.68
5.3.10.0130.05313.46
5.3.00.0230.06713.61
5.2.170.0170.07011.17
5.2.160.0200.05311.17
5.2.150.0170.04311.13
5.2.140.0100.05010.98
5.2.130.0230.07010.95
5.2.120.0230.06710.90
5.2.110.0170.06710.95
5.2.100.0230.03310.95
5.2.90.0170.03311.13
5.2.80.0170.06311.04
5.2.70.0130.05011.04
5.2.60.0230.04711.07
5.2.50.0170.04310.82
5.2.40.0170.03311.00
5.2.30.0170.04710.83
5.2.20.0070.04310.82
5.2.10.0100.04010.89
5.2.00.0100.04010.73
5.1.60.0070.05010.02
5.1.50.0030.06010.05
5.1.40.0070.05310.05
5.1.30.0130.04710.42
5.1.20.0200.08010.43
5.1.10.0100.05710.07
5.1.00.0100.05310.09
5.0.50.0030.0738.68
5.0.40.0030.0338.68
5.0.30.0000.0478.68
5.0.20.0030.0338.68
5.0.10.0000.0378.68
5.0.00.0030.0438.68
4.4.90.0100.0838.68
4.4.80.0030.0478.68
4.4.70.0030.0538.68
4.4.60.0030.0478.68
4.4.50.0030.0478.68
4.4.40.0030.0578.68
4.4.30.0030.0508.68
4.4.20.0030.0478.68
4.4.10.0070.0678.68
4.4.00.0030.0808.68
4.3.110.0070.0278.68
4.3.100.0030.0508.68
4.3.90.0070.0278.68
4.3.80.0030.0378.68
4.3.70.0070.0278.68
4.3.60.0030.0308.68
4.3.50.0030.0308.68
4.3.40.0030.0438.68
4.3.30.0030.0308.68
4.3.20.0000.0138.68
4.3.10.0000.0138.68
4.3.00.0030.0138.68

preferences:
40.18 ms | 400 KiB | 5 Q