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.facebook.com', $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.0070.01118.68
8.3.50.0130.01222.30
8.3.40.0080.01119.09
8.3.30.0090.00919.21
8.3.20.0070.00320.15
8.3.10.0070.00421.92
8.3.00.0030.00722.40
8.2.180.0160.01316.38
8.2.170.0160.00622.96
8.2.160.0070.01119.22
8.2.150.0000.01124.18
8.2.140.0000.01124.66
8.2.130.0070.01726.16
8.2.120.0040.00817.75
8.2.110.0070.00422.20
8.2.100.0190.00317.97
8.2.90.0040.00819.36
8.2.80.0070.00418.04
8.2.70.0000.01317.75
8.2.60.0080.00517.93
8.2.50.0060.00618.07
8.2.40.0060.00618.28
8.2.30.0040.00718.25
8.2.20.0060.00617.89
8.2.10.0040.00817.91
8.2.00.0100.00317.89
8.1.280.0000.01925.92
8.1.270.0070.00322.14
8.1.260.0030.00726.35
8.1.250.0000.01028.09
8.1.240.0060.00623.96
8.1.230.0120.00319.16
8.1.220.0000.01117.89
8.1.210.0000.01118.77
8.1.200.0070.00717.60
8.1.190.0060.00617.54
8.1.180.0040.00818.86
8.1.170.0000.01118.72
8.1.160.0030.00822.11
8.1.150.0080.00318.87
8.1.140.0060.00617.61
8.1.130.0000.01017.82
8.1.120.0030.00717.68
8.1.110.0000.01117.54
8.1.100.0070.00417.67
8.1.90.0040.00717.59
8.1.80.0030.00817.71
8.1.70.0000.01017.51
8.1.60.0060.00617.71
8.1.50.0000.01117.59
8.1.40.0000.01117.57
8.1.30.0030.00817.83
8.1.20.0080.00317.81
8.1.10.0000.01117.63
8.1.00.0080.00317.62
8.0.300.0030.00918.77
8.0.290.0060.00617.18
8.0.280.0070.00318.63
8.0.270.0030.00717.36
8.0.260.0000.01117.12
8.0.250.0000.01017.16
8.0.240.0050.00617.30
8.0.230.0040.00717.10
8.0.220.0000.01017.18
8.0.210.0030.00717.21
8.0.200.0040.00717.23
8.0.190.0070.00317.21
8.0.180.0080.00417.28
8.0.170.0060.00617.24
8.0.160.0040.00717.18
8.0.150.0040.00717.07
8.0.140.0030.00917.06
8.0.130.0020.00813.61
8.0.120.0000.01117.07
8.0.110.0070.00417.04
8.0.100.0000.01017.19
8.0.90.0030.00817.21
8.0.80.0070.02417.18
8.0.70.0080.00317.07
8.0.60.0070.00417.06
8.0.50.0060.00617.25
8.0.30.0090.01517.46
8.0.20.0150.01417.46
8.0.10.0040.00817.18
8.0.00.0140.01616.90
7.4.330.0000.00915.30
7.4.320.0030.00716.80
7.4.300.0050.00516.89
7.4.290.0030.00716.81
7.4.280.0000.01016.71
7.4.270.0030.00716.86
7.4.260.0060.00616.73
7.4.250.0030.00716.79
7.4.240.0000.01116.88
7.4.230.0050.00516.87
7.4.220.0070.01816.89
7.4.210.0060.01616.85
7.4.200.0000.01116.88
7.4.190.0000.01016.68
7.4.160.0110.01116.63
7.4.150.0070.01617.40
7.4.140.0080.01617.86
7.4.130.0090.01316.78
7.4.120.0090.01416.77
7.4.110.0060.01916.67
7.4.100.0120.01216.72
7.4.90.0100.01416.59
7.4.80.0130.01319.39
7.4.70.0140.02116.68
7.4.60.0030.02116.72
7.4.50.0000.00716.54
7.4.40.0030.01322.77
7.4.30.0110.01516.85
7.4.10.0090.01515.13
7.4.00.0050.01215.09
7.3.330.0000.00813.27
7.3.320.0030.00613.15
7.3.310.0000.01116.48
7.3.300.0030.00716.43
7.3.290.0100.01016.39
7.3.280.0040.01916.51
7.3.270.0180.00617.40
7.3.260.0050.02516.64
7.3.250.0080.01616.60
7.3.240.0130.01016.53
7.3.230.0090.01916.48
7.3.210.0060.01916.70
7.3.200.0090.01516.41
7.3.190.0100.01416.60
7.3.180.0100.01416.43
7.3.170.0100.02016.81
7.3.160.0060.01616.68
7.3.130.0030.02014.65
7.3.120.0080.01014.90
7.3.110.0070.01714.96
7.3.100.0030.01714.94
7.3.90.0090.00915.09
7.3.80.0030.01314.84
7.3.70.0040.00815.01
7.3.60.0100.01015.12
7.3.50.0030.01314.80
7.3.40.0030.01614.95
7.3.30.0060.01315.03
7.3.20.0070.01016.91
7.3.10.0060.00616.66
7.3.00.0030.01016.84
7.2.330.0090.01516.56
7.2.320.0000.02316.94
7.2.310.0090.01616.78
7.2.300.0140.00816.74
7.2.290.0080.01516.61
7.2.260.0090.01515.41
7.2.250.0110.01115.35
7.2.240.0070.01115.33
7.2.230.0030.02015.35
7.2.220.0070.01114.94
7.2.210.0040.01115.40
7.2.200.0100.01015.20
7.2.190.0070.01315.02
7.2.180.0070.01715.23
7.2.170.0040.01814.83
7.2.160.0070.01115.42
7.2.150.0080.00817.27
7.2.140.0040.01117.20
7.2.130.0130.00717.16
7.2.120.0040.01517.21
7.2.110.0030.01317.21
7.2.100.0040.01416.86
7.2.90.0040.01417.27
7.2.80.0030.01516.99
7.2.70.0080.00617.23
7.2.60.0030.01616.90
7.2.50.0070.01617.02
7.2.40.0130.00716.99
7.2.30.0070.01317.27
7.2.20.0070.01317.20
7.2.10.0000.01916.96
7.2.00.0070.01017.27
7.1.330.0030.01615.89
7.1.320.0040.01216.07
7.1.310.0000.01216.11
7.1.300.0100.01315.88
7.1.290.0060.01215.61
7.1.280.0000.02016.09
7.1.270.0060.01216.01
7.1.260.0040.01416.01
7.1.250.0100.01015.89
7.1.240.0000.01516.05
7.1.230.0070.01415.73
7.1.220.0090.01215.96
7.1.210.0040.01115.95
7.1.200.0030.01716.14
7.1.190.0000.01915.87
7.1.180.0060.00616.08
7.1.170.0040.01216.07
7.1.160.0060.01316.05
7.1.150.0030.01615.95
7.1.140.0040.01515.77
7.1.130.0060.01516.09
7.1.120.0060.01215.93
7.1.110.0030.01016.11
7.1.100.0000.02116.02
7.1.90.0000.02116.08
7.1.80.0030.02216.07
7.1.70.0030.01016.63
7.1.60.0070.01217.93
7.1.50.0050.01816.43
7.1.40.0100.01015.93
7.1.30.0030.01015.95
7.1.20.0030.01715.99
7.1.10.0030.01216.03
7.1.00.0030.04819.04
7.0.330.0030.01315.94
7.0.320.0060.01215.40
7.0.310.0100.00615.79
7.0.300.0030.01515.86
7.0.290.0110.01415.65
7.0.280.0030.00915.68
7.0.270.0090.00915.66
7.0.260.0060.01315.68
7.0.250.0100.00715.62
7.0.240.0090.01615.78
7.0.230.0060.01215.57
7.0.220.0060.01315.51
7.0.210.0100.00715.52
7.0.200.0090.00616.31
7.0.190.0030.00915.34
7.0.180.0030.01315.73
7.0.170.0040.01515.75
7.0.160.0030.00915.89
7.0.150.0060.01215.74
7.0.140.0090.03918.89
7.0.130.0030.01415.71
7.0.120.0000.01315.57
7.0.110.0070.00715.55
7.0.100.0110.04617.94
7.0.90.0230.04617.83
7.0.80.0070.05117.74
7.0.70.0050.05217.84
7.0.60.0020.05017.79
7.0.50.0090.03118.10
7.0.40.0030.03917.01
7.0.30.0030.03217.08
7.0.20.0120.04716.86
7.0.10.0130.02916.83
7.0.00.0050.04416.93
5.6.400.0070.03214.53
5.6.390.0040.03514.66
5.6.380.0030.03814.57
5.6.370.0060.03614.16
5.6.360.0110.03214.29
5.6.350.0030.04314.48
5.6.340.0030.03714.57
5.6.330.0070.03414.39
5.6.320.0070.04114.60
5.6.310.0070.04014.21
5.6.300.0030.03514.31
5.6.290.0030.03414.25
5.6.280.0000.07217.79
5.6.270.0060.03114.55
5.6.260.0070.03214.27
5.6.250.0070.05217.56
5.6.240.0070.06317.45
5.6.230.0050.05617.42
5.6.220.0050.06017.56
5.6.210.0080.05017.58
5.6.200.0070.04617.61
5.6.190.0080.06817.52
5.6.180.0080.06617.60
5.6.170.0100.06417.63
5.6.160.0080.04817.66
5.6.150.0030.07117.83
5.6.140.0030.07217.83
5.6.130.0070.05917.74
5.6.120.0080.05617.70
5.6.110.0030.07117.74
5.6.100.0070.07217.58
5.6.90.0030.07417.74
5.6.80.0050.10317.48
5.6.70.0050.08317.40
5.6.60.0050.07717.30
5.6.50.0050.07817.22
5.6.40.0080.08917.22
5.6.30.0080.08817.24
5.6.20.0070.09817.48
5.6.10.0100.07917.21
5.6.00.0050.09117.32
5.5.380.0120.05517.44
5.5.370.0050.07017.30
5.5.360.0070.06817.31
5.5.350.0050.06917.24
5.5.340.0050.05117.61
5.5.330.0030.07217.66
5.5.320.0030.04817.66
5.5.310.0100.05517.71
5.5.300.0060.05817.45
5.5.290.0050.05117.68
5.5.280.0000.05217.71
5.5.270.0070.06717.66
5.5.260.0120.06317.51
5.5.250.0150.05917.46
5.5.240.0050.11117.13
5.5.230.0070.11517.25
5.5.220.0030.10417.18
5.5.210.0100.09217.18
5.5.200.0070.08217.11
5.5.190.0030.09617.17
5.5.180.0000.10117.12
5.5.170.0030.06114.36
5.5.160.0080.10517.28
5.5.150.0030.12417.25
5.5.140.0000.08917.20
5.5.130.0030.09717.26
5.5.120.0030.09817.25
5.5.110.0020.11217.25
5.5.100.0030.11717.12
5.5.90.0050.10117.01
5.5.80.0020.07817.19
5.5.70.0100.08417.12
5.5.60.0070.07517.15
5.5.50.0050.10817.05
5.5.40.0030.09617.19
5.5.30.0030.07917.14
5.5.20.0080.08517.19
5.5.10.0100.08817.04
5.5.00.0080.10217.11
5.4.450.0020.07215.83
5.4.440.0100.03715.94
5.4.430.0080.06115.87
5.4.420.0000.06415.94
5.4.410.0080.06115.87
5.4.400.0070.09315.68
5.4.390.0030.07815.79
5.4.380.0030.08115.75
5.4.370.0030.09215.78
5.4.360.0030.06915.62
5.4.350.0070.08315.74
5.4.340.0050.09115.74
5.4.330.0070.05612.43
5.4.320.0030.10715.75
5.4.310.0050.06015.76
5.4.300.0050.09515.75
5.4.290.0070.05915.84
5.4.280.0000.06715.78
5.4.270.0050.09815.70
5.4.260.0070.10115.78
5.4.250.0050.09215.67
5.4.240.0080.08315.74
5.4.230.0030.09415.63
5.4.220.0030.09115.74
5.4.210.0050.09315.62
5.4.200.0070.06415.77
5.4.190.0030.08815.62
5.4.180.0030.08715.75
5.4.170.0070.09915.70
5.4.160.0080.06615.80
5.4.150.0030.10015.61
5.4.140.0030.07114.33
5.4.130.0050.06414.31
5.4.120.0100.06214.37
5.4.110.0050.05514.45
5.4.100.0070.04614.39
5.4.90.0070.07014.44
5.4.80.0070.06014.35
5.4.70.0100.05914.40
5.4.60.0000.04914.34
5.4.50.0030.06614.34
5.4.40.0070.06814.46
5.4.30.0020.05214.31
5.4.20.0050.04514.43
5.4.10.0050.06914.34
5.4.00.0100.05214.08
5.3.290.0050.09013.54
5.3.280.0050.08713.52
5.3.270.0110.10513.48
5.3.260.0070.12913.46
5.3.250.0030.09113.52
5.3.240.0050.10913.44
5.3.230.0070.06413.51
5.3.220.0050.06413.45
5.3.210.0030.04413.45
5.3.200.0060.04613.49
5.3.190.0050.06313.50
5.3.180.0030.07113.51
5.3.170.0050.06413.52
5.3.160.0000.05113.52
5.3.150.0100.05413.49
5.3.140.0090.06413.51
5.3.130.0030.06113.49
5.3.120.0070.06813.44
5.3.110.0030.07013.50
5.3.100.0100.05813.25
5.3.90.0080.06013.17
5.3.80.0050.06313.11
5.3.70.0030.04813.24
5.3.60.0040.03913.22
5.3.50.0030.04413.19
5.3.40.0030.02813.17
5.3.30.0030.02913.11
5.3.20.0050.02413.03
5.3.10.0000.02913.03
5.3.00.0060.02313.03
5.2.170.0030.06011.08
5.2.160.0000.04011.02
5.2.150.0070.04711.00
5.2.140.0070.04711.18
5.2.130.0070.02710.96
5.2.120.0030.03310.91
5.2.110.0030.03311.06
5.2.100.0030.03311.11
5.2.90.0000.03710.96
5.2.80.0000.03710.93
5.2.70.0030.03711.11
5.2.60.0000.04310.89
5.2.50.0070.03710.96
5.2.40.0030.04011.07
5.2.30.0070.03310.87
5.2.20.0030.04311.02
5.2.10.0100.03710.80
5.2.00.0030.03310.65
5.1.60.0000.05310.03
5.1.50.0000.06010.02
5.1.40.0070.0439.84
5.1.30.0000.05010.38
5.1.20.0070.07010.41
5.1.10.0000.0609.93
5.1.00.0130.05310.18
5.0.50.0000.0578.59
5.0.40.0000.0408.59
5.0.30.0030.0408.59
5.0.20.0000.0378.59
5.0.10.0030.0438.59
5.0.00.0000.0438.59
4.4.90.0000.0478.59
4.4.80.0030.0478.59
4.4.70.0000.0478.59
4.4.60.0000.0478.59
4.4.50.0000.0478.59
4.4.40.0000.0478.59
4.4.30.0000.0538.59
4.4.20.0030.0638.59
4.4.10.0000.0478.59
4.4.00.0030.0808.59
4.3.110.0030.0338.59
4.3.100.0000.0438.59
4.3.90.0030.0308.59
4.3.80.0000.0438.59
4.3.70.0000.0378.59
4.3.60.0000.0378.59
4.3.50.0000.0478.59
4.3.40.0000.0408.59
4.3.30.0000.0378.59
4.3.20.0000.0138.59
4.3.10.0000.0178.59
4.3.00.0000.0138.59

preferences:
44.21 ms | 401 KiB | 5 Q