3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://clerk.house.gov/floorsummary/HDoc-114-1-FloorProceedings.xml"; $data = file_get_contents($url); $xml = simplexml_load_string($data) or die("some shit broke"); foreach ($xml->legislative_activity as $la){ foreach ($la->floor_actions as $af) { foreach ($af->floor_action as $fa ) { $ai = $fa['act-id']; $ud = $fa['update-date-time']; $uid = $fa['unique-id']; $atf = $fa->action_time; $atfs = $atf['for-search']; $acti = $fa->action_item; var_dump($fa); die(); } } }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for clerk.house.gov failed: System error in /in/0HcX4 on line 4 Warning: file_get_contents(http://clerk.house.gov/floorsummary/HDoc-114-1-FloorProceedings.xml): Failed to open stream: php_network_getaddresses: getaddrinfo for clerk.house.gov failed: System error in /in/0HcX4 on line 4 some shit broke

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:
44.3 ms | 402 KiB | 8 Q