3v4l.org

run code in 300+ PHP versions simultaneously
<?php $guildIds = [ 'uhmotNBAQ6-0vi9PFysRBg', 'DWkD4B0uSsGQoryrz8Nuwg', 'wSbCgimqTPy470n-wDQXPQ', 'nmc0HQW-TZirTlnGzwbF-w', 'WpV4yaVxSLW8QXH2Be40cA', ]; $urlTemplate = 'https://gameinfo.albiononline.com/api/gameinfo/guilds/%s/members'; $guilds = []; foreach ($guildIds as $guildId) { $guilds[] = json_decode(file_get_contents(sprintf($urlTemplate, $guildId))); } var_export($guilds);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZJikL on line 15 Warning: file_get_contents(): open_basedir restriction in effect. File(https://gameinfo.albiononline.com/api/gameinfo/guilds/uhmotNBAQ6-0vi9PFysRBg/members) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZJikL on line 15 Warning: file_get_contents(https://gameinfo.albiononline.com/api/gameinfo/guilds/uhmotNBAQ6-0vi9PFysRBg/members): Failed to open stream: Operation not permitted in /in/ZJikL on line 15 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZJikL on line 15 Warning: file_get_contents(): open_basedir restriction in effect. File(https://gameinfo.albiononline.com/api/gameinfo/guilds/DWkD4B0uSsGQoryrz8Nuwg/members) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZJikL on line 15 Warning: file_get_contents(https://gameinfo.albiononline.com/api/gameinfo/guilds/DWkD4B0uSsGQoryrz8Nuwg/members): Failed to open stream: Operation not permitted in /in/ZJikL on line 15 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZJikL on line 15 Warning: file_get_contents(): open_basedir restriction in effect. File(https://gameinfo.albiononline.com/api/gameinfo/guilds/wSbCgimqTPy470n-wDQXPQ/members) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZJikL on line 15 Warning: file_get_contents(https://gameinfo.albiononline.com/api/gameinfo/guilds/wSbCgimqTPy470n-wDQXPQ/members): Failed to open stream: Operation not permitted in /in/ZJikL on line 15 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZJikL on line 15 Warning: file_get_contents(): open_basedir restriction in effect. File(https://gameinfo.albiononline.com/api/gameinfo/guilds/nmc0HQW-TZirTlnGzwbF-w/members) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZJikL on line 15 Warning: file_get_contents(https://gameinfo.albiononline.com/api/gameinfo/guilds/nmc0HQW-TZirTlnGzwbF-w/members): Failed to open stream: Operation not permitted in /in/ZJikL on line 15 Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/ZJikL on line 15 Warning: file_get_contents(): open_basedir restriction in effect. File(https://gameinfo.albiononline.com/api/gameinfo/guilds/WpV4yaVxSLW8QXH2Be40cA/members) is not within the allowed path(s): (/tmp:/in:/etc) in /in/ZJikL on line 15 Warning: file_get_contents(https://gameinfo.albiononline.com/api/gameinfo/guilds/WpV4yaVxSLW8QXH2Be40cA/members): Failed to open stream: Operation not permitted in /in/ZJikL on line 15 array ( 0 => NULL, 1 => NULL, 2 => NULL, 3 => NULL, 4 => NULL, )

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:
118.53 ms | 416 KiB | 5 Q