3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://clerk.house.gov/floorsummary/HDoc-114-1-FloorProceedings.xml"; $xml = simplexml_load_file($url) 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: simplexml_load_file(): php_network_getaddresses: getaddrinfo for clerk.house.gov failed: System error in /in/F2nls on line 4 Warning: simplexml_load_file(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/F2nls on line 4 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://clerk.house.gov/floorsummary/HDoc-114-1-FloorProceedings.xml" in /in/F2nls 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:
54.25 ms | 402 KiB | 8 Q