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 . 'facebook' . $urlRegex2, 'http://www.linkedin.com/profile/view?id=123456789', $fullURLSample ); var_dump( $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.0110.01418.55
8.3.50.0080.01222.17
8.3.40.0130.00719.04
8.3.30.0070.01319.06
8.3.20.0030.00720.29
8.3.10.0100.00022.08
8.3.00.0070.00322.58
8.2.180.0070.01316.75
8.2.170.0080.01122.96
8.2.160.0150.00419.39
8.2.150.0000.01124.18
8.2.140.0080.00324.66
8.2.130.0070.00326.16
8.2.120.0030.00719.86
8.2.110.0030.00822.34
8.2.100.0100.00720.01
8.2.90.0110.00019.35
8.2.80.0080.00417.97
8.2.70.0000.01317.88
8.2.60.0060.00617.93
8.2.50.0000.01118.07
8.2.40.0030.00818.16
8.2.30.0040.00818.23
8.2.20.0050.00517.84
8.2.10.0040.00718.07
8.2.00.0080.00318.02
8.1.280.0130.01025.92
8.1.270.0080.00322.03
8.1.260.0000.01126.35
8.1.250.0000.01028.09
8.1.240.0060.00623.96
8.1.230.0040.01119.14
8.1.220.0080.00317.74
8.1.210.0030.00918.77
8.1.200.0030.01017.60
8.1.190.0000.01117.64
8.1.180.0090.00318.86
8.1.170.0070.00418.75
8.1.160.0090.00322.09
8.1.150.0030.00918.96
8.1.140.0040.00717.71
8.1.130.0030.00717.87
8.1.120.0050.00517.65
8.1.110.0060.00617.68
8.1.100.0070.00417.56
8.1.90.0000.01117.64
8.1.80.0000.01117.64
8.1.70.0030.00717.50
8.1.60.0040.00817.69
8.1.50.0030.00917.73
8.1.40.0070.00417.69
8.1.30.0030.00917.83
8.1.20.0060.00617.73
8.1.10.0030.00917.62
8.1.00.0040.00717.72
8.0.300.0080.00318.77
8.0.290.0030.00817.30
8.0.280.0030.00718.57
8.0.270.0000.01017.23
8.0.260.0050.00517.14
8.0.250.0000.01117.25
8.0.240.0040.00717.30
8.0.230.0030.00917.14
8.0.220.0000.01017.15
8.0.210.0030.00717.18
8.0.200.0050.00517.20
8.0.190.0000.01117.14
8.0.180.0000.01117.13
8.0.170.0000.01117.18
8.0.160.0000.01117.09
8.0.150.0080.00417.22
8.0.140.0030.01017.21
8.0.130.0030.00613.66
8.0.120.0000.01117.14
8.0.110.0060.00617.28
8.0.100.0000.01217.26
8.0.90.0040.00717.20
8.0.80.0030.01917.16
8.0.70.0000.01117.02
8.0.60.0070.00417.09
8.0.50.0000.01117.03
8.0.30.0120.01717.28
8.0.20.0100.01417.40
8.0.10.0000.01017.03
8.0.00.0080.01717.02
7.4.330.0030.00615.07
7.4.320.0000.01016.88
7.4.300.0000.01016.87
7.4.290.0000.01016.87
7.4.280.0040.00716.88
7.4.270.0000.01116.91
7.4.260.0040.00716.90
7.4.250.0040.00716.79
7.4.240.0060.00516.86
7.4.230.0040.00716.84
7.4.220.0070.01816.66
7.4.210.0070.01516.88
7.4.200.0030.00716.68
7.4.190.0030.00716.75
7.4.160.0140.01816.71
7.4.150.0090.02417.40
7.4.140.0150.01917.86
7.4.130.0090.01716.63
7.4.120.0120.01216.85
7.4.110.0120.01216.65
7.4.100.0190.02016.66
7.4.90.0100.01616.66
7.4.80.0140.01019.39
7.4.70.0070.02016.63
7.4.60.0200.00316.57
7.4.50.0040.01116.60
7.4.40.0000.02122.77
7.4.30.0000.02316.89
7.4.00.0090.01315.16
7.3.330.0000.00913.26
7.3.320.0000.00913.20
7.3.310.0030.00716.53
7.3.300.0050.00516.29
7.3.290.0100.01316.40
7.3.280.0120.01216.45
7.3.270.0100.01317.40
7.3.260.0090.01616.53
7.3.250.0110.01216.56
7.3.240.0040.02016.46
7.3.230.0060.02116.62
7.3.210.0090.01516.56
7.3.200.0090.01219.39
7.3.190.0120.01216.49
7.3.180.0190.01216.50
7.3.170.0090.01216.47
7.3.160.0140.00816.41
7.3.120.0080.01414.84
7.3.110.0020.01914.96
7.3.100.0060.01315.20
7.3.90.0070.01114.61
7.3.80.0030.01314.86
7.3.70.0030.01714.86
7.3.60.0130.00715.04
7.3.50.0100.01014.80
7.3.40.0090.01215.10
7.3.30.0060.01314.72
7.3.20.0040.01416.78
7.3.10.0030.01516.59
7.3.00.0060.00816.95
7.2.330.0160.00816.91
7.2.320.0070.01716.64
7.2.310.0130.01016.74
7.2.300.0080.01516.74
7.2.290.0060.01916.83
7.2.250.0070.01815.33
7.2.240.0130.01315.35
7.2.230.0100.01015.11
7.2.220.0030.01015.23
7.2.210.0030.01715.37
7.2.200.0030.01215.39
7.2.190.0060.01215.30
7.2.180.0040.01815.06
7.2.170.0030.01215.41
7.1.330.0030.01416.21
7.1.320.0030.01315.72
7.1.310.0030.01316.24
7.1.300.0000.01515.77
7.1.290.0000.01815.95
7.1.280.0000.01615.77
7.1.270.0070.01415.80
7.1.260.0120.00615.97
7.1.70.0070.01117.43
7.1.60.0070.02319.82
7.1.50.0060.00917.04
7.1.00.0030.08322.43
7.0.200.0030.01016.79
7.0.140.0000.08022.11
7.0.60.0100.08019.93
7.0.50.0100.04717.93
7.0.40.0000.06020.09
7.0.30.0330.07720.27
7.0.20.0330.06720.08
7.0.10.0270.06720.23
7.0.00.0130.08720.08
5.6.280.0030.09721.13
5.6.210.0070.09320.76
5.6.200.0070.05718.14
5.6.190.0030.12020.34
5.6.180.3130.05020.63
5.6.170.0300.06020.73
5.6.160.0230.09320.55
5.6.150.0100.10018.24
5.6.140.0030.06018.12
5.6.130.0070.08318.19
5.6.120.0030.06021.11
5.6.110.0100.07020.97
5.6.100.0200.09320.99
5.6.90.0070.05720.96
5.6.80.0100.08720.38
5.6.70.4270.09720.39
5.5.350.0070.10320.35
5.5.340.0200.09018.04
5.5.330.0000.06020.16
5.5.320.0130.06020.43
5.5.310.0400.07720.35
5.5.300.0070.10317.94
5.5.290.0000.06017.93
5.5.280.0030.07720.68
5.5.270.0170.09720.88
5.5.260.0070.10720.86
5.5.250.0070.08320.76
5.5.240.0100.13720.04
5.4.450.0500.07319.50
5.4.440.0630.08319.50
5.4.430.0530.08019.49
5.4.420.0130.06719.29
5.4.410.0530.07319.51
5.4.400.1470.00018.85
5.4.390.1430.00018.76
5.4.380.0200.12018.74
5.4.370.0670.11318.51
5.4.360.0630.11018.59
5.4.350.0770.12718.52
5.4.340.0830.11718.70
5.4.320.0070.09012.49
5.4.310.0040.08312.49
5.4.300.0060.09612.49
5.4.290.0140.08412.48
5.4.280.0060.09212.38
5.4.270.0080.08712.38
5.4.260.0170.09718.88
5.4.250.0100.11018.88
5.4.240.0100.11018.87
5.4.230.0130.10718.76
5.4.220.0030.11319.02
5.4.210.0100.10718.76
5.4.200.0070.10718.99
5.4.190.0030.11318.88
5.4.180.0130.10318.84
5.4.170.0130.15019.02
5.4.160.0130.10318.86
5.4.150.0030.11318.95
5.4.140.0200.10016.36
5.4.130.0100.07016.20
5.4.120.0100.06716.21
5.4.110.0100.09316.41
5.4.100.0030.07716.42
5.4.90.0100.06716.48
5.4.80.0070.07316.33
5.4.70.0070.07316.29
5.4.60.0170.07716.48
5.4.50.0030.08016.29
5.4.40.0170.08016.18
5.4.30.0170.09016.29
5.4.20.0100.07716.49
5.4.10.0070.12016.29
5.4.00.0100.09715.65
5.3.290.0060.09412.80
5.3.280.0030.10714.55
5.3.270.0100.16314.33
5.3.260.0130.15014.64
5.3.250.0070.16014.50
5.3.240.0030.16014.33
5.3.230.0070.09714.32
5.3.220.0170.06714.65
5.3.210.0100.07714.46
5.3.200.0030.08014.46
5.3.190.0030.09014.61
5.3.180.0100.09314.55
5.3.170.0070.07714.61
5.3.160.0000.08014.48
5.3.150.0030.08014.63
5.3.140.0000.07714.59
5.3.130.0030.08014.51
5.3.120.0070.07714.68
5.3.110.0130.07314.60
5.3.100.0100.07713.92
5.3.90.0000.08014.14
5.3.80.0030.07713.89
5.3.70.0030.08013.90
5.3.60.0170.05014.04
5.3.50.0070.06313.98
5.3.40.0030.06013.99
5.3.30.0070.06313.93
5.3.20.0070.05313.88
5.3.10.0100.05013.44
5.3.00.0070.08013.65
5.2.170.0070.04711.17
5.2.160.0070.06011.29
5.2.150.0030.05310.93
5.2.140.0070.05010.92
5.2.130.0030.05311.27
5.2.120.0070.04711.14
5.2.110.0070.04311.12
5.2.100.0030.04711.12
5.2.90.0130.04711.04
5.2.80.0000.05311.11
5.2.70.0070.05010.94
5.2.60.0270.06710.98
5.2.50.0030.06710.97
5.2.40.0100.08010.79
5.2.30.0100.06311.00
5.2.20.0030.05710.92
5.2.10.0030.06010.78
5.2.00.0070.07010.81
5.1.60.0070.09710.23
5.1.50.0100.1109.89
5.1.40.0070.08310.03
5.1.30.0070.08710.45
5.1.20.0000.10710.31
5.1.10.0030.10710.04
5.1.00.0130.09010.30
5.0.50.0000.0908.50
5.0.40.0030.0608.29
5.0.30.0000.0778.29
5.0.20.0000.0608.28
5.0.10.0000.0608.35
5.0.00.0030.0808.16
4.4.90.0030.1176.41
4.4.80.0000.1136.41
4.4.70.0030.1006.41
4.4.60.0030.0806.41
4.4.50.0030.0776.41
4.4.40.0030.0936.41
4.4.30.0000.1206.41
4.4.20.0030.1276.41
4.4.10.0000.1106.41
4.4.00.0000.1036.41
4.3.110.0000.0536.41
4.3.100.0070.0776.41
4.3.90.0030.0676.41
4.3.80.0030.0706.41
4.3.70.0030.0736.41
4.3.60.0000.0536.41
4.3.50.0030.0536.41
4.3.40.0070.0576.41
4.3.30.0000.0676.41
4.3.20.0030.0206.41
4.3.10.0000.0336.41
4.3.00.0100.0207.10

preferences:
45.17 ms | 401 KiB | 5 Q