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 ); echo $urls;

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.0060.01318.43
8.3.50.0120.01722.24
8.3.40.0040.01519.14
8.3.30.0080.01119.13
8.3.20.0070.00320.23
8.3.10.0030.00721.80
8.3.00.0080.00322.25
8.2.180.0140.01425.92
8.2.170.0040.01522.96
8.2.160.0110.00719.19
8.2.150.0030.00724.18
8.2.140.0030.00724.66
8.2.130.0070.01726.16
8.2.120.0040.00719.73
8.2.110.0120.00922.10
8.2.100.0070.00718.09
8.2.90.0040.00819.09
8.2.80.0090.00318.29
8.2.70.0030.01017.75
8.2.60.0000.01117.80
8.2.50.0000.01318.13
8.2.40.0000.01218.30
8.2.30.0040.00718.31
8.2.20.0070.00417.86
8.2.10.0070.00418.11
8.2.00.0000.01218.07
8.1.280.0070.01425.92
8.1.270.0050.00522.07
8.1.260.0070.00326.35
8.1.250.0070.00328.09
8.1.240.0090.01920.32
8.1.230.0060.00922.21
8.1.220.0030.00817.74
8.1.210.0000.01118.77
8.1.200.0030.00917.73
8.1.190.0030.00817.65
8.1.180.0000.01118.86
8.1.170.0030.00918.71
8.1.160.0000.01022.20
8.1.150.0070.00418.91
8.1.140.0040.00717.79
8.1.130.0030.00717.88
8.1.120.0000.01117.68
8.1.110.0000.01217.71
8.1.100.0050.00517.65
8.1.90.0060.00617.73
8.1.80.0050.00517.55
8.1.70.0000.01017.70
8.1.60.0060.00617.80
8.1.50.0080.00417.74
8.1.40.0000.01217.72
8.1.30.0000.01317.81
8.1.20.0030.01017.74
8.1.10.0040.00717.76
8.1.00.0060.00617.62
8.0.300.0030.00918.77
8.0.290.0060.00617.43
8.0.280.0000.01118.51
8.0.270.0040.00718.39
8.0.260.0000.01017.16
8.0.250.0030.00917.30
8.0.240.0040.00717.32
8.0.230.0030.00717.27
8.0.220.0030.00717.10
8.0.210.0070.00317.14
8.0.200.0000.01017.30
8.0.190.0070.00417.28
8.0.180.0000.01217.23
8.0.170.0060.00617.22
8.0.160.0000.01117.14
8.0.150.0080.00417.07
8.0.140.0070.00717.16
8.0.130.0060.00313.65
8.0.120.0090.00317.20
8.0.110.0040.00717.22
8.0.100.0040.00817.20
8.0.90.0000.01217.27
8.0.80.0120.01217.22
8.0.70.0000.01117.08
8.0.60.0030.00817.11
8.0.50.0040.00717.04
8.0.30.0130.01217.23
8.0.20.0120.01417.40
8.0.10.0040.00717.03
8.0.00.0060.02117.03
7.4.330.0060.00315.25
7.4.320.0030.00716.75
7.4.300.0000.01116.84
7.4.290.0040.00816.84
7.4.280.0060.00616.97
7.4.270.0070.00316.84
7.4.260.0030.00716.81
7.4.250.0070.00416.85
7.4.240.0070.00516.89
7.4.230.0070.00416.62
7.4.220.0160.00916.92
7.4.210.0050.01616.82
7.4.200.0070.00416.90
7.4.190.0000.01016.97
7.4.160.0130.01016.69
7.4.150.0100.01317.40
7.4.140.0100.01417.86
7.4.130.0120.01416.67
7.4.120.0110.01316.65
7.4.110.0160.01316.67
7.4.100.0170.00716.79
7.4.90.0030.02316.67
7.4.80.0060.01919.39
7.4.70.0160.01016.68
7.4.60.0070.01716.91
7.4.50.0040.00416.57
7.4.40.0090.00922.77
7.4.30.0090.01516.61
7.4.00.0040.01615.15
7.3.330.0030.00613.30
7.3.320.0040.00413.34
7.3.310.0040.00816.54
7.3.300.0030.00716.32
7.3.290.0110.01116.48
7.3.280.0080.01816.46
7.3.270.0130.01017.40
7.3.260.0040.02016.59
7.3.250.0100.01416.65
7.3.240.0060.01816.41
7.3.230.0140.01116.50
7.3.210.0160.01616.63
7.3.200.0090.01519.39
7.3.190.0060.01616.51
7.3.180.0090.01216.41
7.3.170.0100.01316.58
7.3.160.0040.01816.58
7.3.120.0080.01214.76
7.2.330.0090.01516.88
7.2.320.0130.01016.74
7.2.310.0150.00916.95
7.2.300.0120.01216.88
7.2.290.0110.01416.74
7.2.00.0090.00919.89
7.1.100.0060.01218.63
7.1.70.0060.00917.51
7.1.60.0090.02219.82
7.1.50.0000.01517.31
7.1.00.0070.07722.38
7.0.200.0060.00916.72
7.0.140.0030.08322.00
7.0.60.0070.09019.92
7.0.50.0030.09717.95
7.0.40.0030.05020.27
7.0.30.0170.08020.23
7.0.20.0300.08720.19
7.0.10.0000.05320.20
7.0.00.0130.08720.40
5.6.280.0030.09721.08
5.6.210.0100.10720.62
5.6.200.0070.07318.18
5.6.190.0130.11020.45
5.6.180.0170.06320.79
5.6.170.0130.05720.45
5.6.160.0070.08720.71
5.6.150.0070.05318.11
5.6.140.0000.06018.16
5.6.130.0130.10718.20
5.6.120.0070.05320.86
5.6.110.0070.05321.11
5.6.100.0030.09721.13
5.6.90.0070.08020.99
5.6.80.0030.15020.38
5.6.70.4630.07720.39
5.5.350.0270.10020.52
5.5.340.0000.05717.93
5.5.330.0100.05320.26
5.5.320.0200.09720.32
5.5.310.0300.09320.30
5.5.300.0000.05718.00
5.5.290.0070.10317.96
5.5.280.0230.09720.80
5.5.270.0100.10020.96
5.5.260.0130.10020.86
5.5.250.0030.05320.58
5.5.240.0270.13720.26
5.4.450.0730.08719.50
5.4.440.0800.07719.56
5.4.430.0130.07319.50
5.4.420.0100.10719.54
5.4.410.0130.08018.95
5.4.400.0130.11318.76
5.4.390.0100.11718.72
5.4.380.0100.12018.51
5.4.370.0400.11318.76
5.4.360.0330.10318.76
5.4.350.0300.11318.80
5.4.340.0530.11318.65
5.4.320.0070.08512.49
5.4.310.0090.08112.48
5.4.300.0060.08312.48
5.4.290.0070.08512.48
5.4.280.0080.07712.38
5.4.270.0050.08512.38
5.4.260.0030.11318.96
5.4.250.0070.12318.75
5.4.240.0170.10318.86
5.4.230.0100.13018.89
5.4.220.0070.15319.05
5.4.210.0070.11019.02
5.4.200.0100.10718.86
5.4.190.0130.12718.94
5.4.180.0070.11018.96
5.4.170.0070.11319.05
5.4.160.0130.10318.66
5.4.150.0000.12019.00
5.4.140.0070.10716.30
5.4.130.0130.09316.43
5.4.120.0130.06716.23
5.4.110.0100.07316.22
5.4.100.0030.07316.38
5.4.90.0030.07716.26
5.4.80.0000.08016.24
5.4.70.0030.07716.26
5.4.60.0100.07716.20
5.4.50.0130.07316.54
5.4.40.0030.10016.47
5.4.30.0170.06716.29
5.4.20.0070.11016.42
5.4.10.0070.07716.44
5.4.00.0130.06715.71
5.3.290.0060.08812.80
5.3.280.0170.10314.61
5.3.270.0070.15014.35
5.3.260.0100.15014.64
5.3.250.0100.14714.50
5.3.240.0030.16314.64
5.3.230.0130.06714.49
5.3.220.0200.06014.52
5.3.210.0030.09014.61
5.3.200.0030.07714.62
5.3.190.0000.08314.61
5.3.180.0070.07314.30
5.3.170.0100.07314.48
5.3.160.0070.07314.61
5.3.150.0100.07014.52
5.3.140.0030.09314.59
5.3.130.0070.08014.61
5.3.120.0070.08714.63
5.3.110.0100.07714.48
5.3.100.0100.11313.79
5.3.90.0100.08314.06
5.3.80.0070.09714.05
5.3.70.0030.08714.14
5.3.60.0000.06314.03
5.3.50.0130.07313.75
5.3.40.0170.04713.66
5.3.30.0030.05713.99
5.3.20.0070.06013.63
5.3.10.0170.04313.52
5.3.00.0030.05713.67
5.2.170.0170.05711.09
5.2.160.0000.05311.08
5.2.150.0030.07011.10
5.2.140.0000.05311.16
5.2.130.0130.06011.04
5.2.120.0070.04311.00
5.2.110.0030.04711.02
5.2.100.0130.03711.11
5.2.90.0100.04011.05
5.2.80.0070.04311.00
5.2.70.0030.04711.04
5.2.60.0070.06010.99
5.2.50.0000.08011.04
5.2.40.0100.05011.04
5.2.30.0030.06011.00
5.2.20.0000.06311.14
5.2.10.0070.05311.05
5.2.00.0130.05310.75
5.1.60.0070.08710.23
5.1.50.0130.09010.09
5.1.40.0070.08310.08
5.1.30.0100.08010.43
5.1.20.0070.10010.29
5.1.10.0070.09710.20
5.1.00.0000.11010.16
5.0.50.0070.0908.64
5.0.40.0030.0808.37
5.0.30.0030.0778.25
5.0.20.0000.0638.37
5.0.10.0070.0578.35
5.0.00.0000.0838.18
4.4.90.0030.0736.51
4.4.80.0070.0776.51
4.4.70.0000.0836.51
4.4.60.0000.0976.51
4.4.50.0030.0736.51
4.4.40.0070.0936.51
4.4.30.0100.0676.51
4.4.20.0000.0836.51
4.4.10.0070.1136.51
4.4.00.0000.1036.51
4.3.110.0070.0506.51
4.3.100.0000.0806.51
4.3.90.0130.0436.51
4.3.80.0000.0836.51
4.3.70.0030.0576.51
4.3.60.0000.0936.51
4.3.50.0100.0676.51
4.3.40.0000.0706.51
4.3.30.0000.0776.51
4.3.20.0030.0306.51
4.3.10.0030.0236.51
4.3.00.0200.0176.73

preferences:
40.77 ms | 401 KiB | 5 Q