3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = file_get_contents('https://api.charidy.com/api/v1/campaign/96?extend[]=donation_level&extend[]=share&extend[]=languages&extend[]=media&extend[]=organization&extend[]=teams&extend[]=metas&extend[]=largest_donation&extend[]=campaign_stats&extend[]=matchers&extend[]=donation_stream&extend[]=gateways'); var_dump(json_decode($x,TRUE));
Output for 5.6.30, 7.0.30 - 7.2.6
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/3ocee on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.charidy.com/api/v1/campaign/96?extend[]=donation_level&extend[]=share&extend[]=languages&extend[]=media&extend[]=organization&extend[]=teams&extend[]=metas&extend[]=largest_donation&extend[]=campaign_stats&extend[]=matchers&extend[]=donation_stream&extend[]=gateways) is not within the allowed path(s): (/tmp:/in) in /in/3ocee on line 3 Warning: file_get_contents(https://api.charidy.com/api/v1/campaign/96?extend[]=donation_level&extend[]=share&extend[]=languages&extend[]=media&extend[]=organization&extend[]=teams&extend[]=metas&extend[]=largest_donation&extend[]=campaign_stats&extend[]=matchers&extend[]=donation_stream&extend[]=gateways): failed to open stream: Operation not permitted in /in/3ocee on line 3 NULL
Output for hhvm-3.22.0
Warning: Failed to open https://api.charidy.com/api/v1/campaign/96?extend[]=donation_level&extend[]=share&extend[]=languages&extend[]=media&extend[]=organization&extend[]=teams&extend[]=metas&extend[]=largest_donation&extend[]=campaign_stats&extend[]=matchers&extend[]=donation_stream&extend[]=gateways (Could not resolve host: api.charidy.com) in /in/3ocee on line -1 NULL
Output for hhvm-3.18.5 - 3.21.3
Warning: Failed to open https://api.charidy.com/api/v1/campaign/96?extend[]=donation_level&extend[]=share&extend[]=languages&extend[]=media&extend[]=organization&extend[]=teams&extend[]=metas&extend[]=largest_donation&extend[]=campaign_stats&extend[]=matchers&extend[]=donation_stream&extend[]=gateways (Could not resolve host: api.charidy.com) in /in/3ocee on line 3 NULL