3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( !$contenu = fopen ( 'http://re.jrc.ec.europa.eu/pvgis/apps4/PVcalc.php?lat=-41.32465129&lon=170.83730365999998&peakpower=1&region=europe&pvtechchoice=crystSi&loss=10&optimalinclination=1&optimalangles=1&mountingplace=building&raddatabase=PVGIS-CMSAF', 'r' ) ) echo "mama"; else { while ( !feof( $contenu ) ) : $ligne = fgets($contenu, 4096); $donnees[] = $ligne; endwhile; $lignePvgis = explode("\t\t", $donnees[20]); echo $lignePvgis; $pvgis = intval($lignePvgis[2])*12; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: fopen(): php_network_getaddresses: getaddrinfo for re.jrc.ec.europa.eu failed: System error in /in/UJEZo on line 2 Warning: fopen(http://re.jrc.ec.europa.eu/pvgis/apps4/PVcalc.php?lat=-41.32465129&lon=170.83730365999998&peakpower=1&region=europe&pvtechchoice=crystSi&loss=10&optimalinclination=1&optimalangles=1&mountingplace=building&raddatabase=PVGIS-CMSAF): Failed to open stream: php_network_getaddresses: getaddrinfo for re.jrc.ec.europa.eu failed: System error in /in/UJEZo on line 2 mama

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.57 ms | 402 KiB | 8 Q