3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = file_get_contents('http://rezeptewiki.org/wiki/Zutat:Ackererbse'); var_dump($a); $xml = new SimpleXMLElement($a); // seach records by tag value: // find all book records with price higher than 40$ $res = $xml->xpath('//div[@id="mw-content-text"]/table/tbody/tr[5]/td/i/text() *'); var_dump($res);
Output for git.master_jit, git.master, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for rezeptewiki.org failed: System error in /in/0EEI6 on line 3 Warning: file_get_contents(http://rezeptewiki.org/wiki/Zutat:Ackererbse): Failed to open stream: php_network_getaddresses: getaddrinfo for rezeptewiki.org failed: System error in /in/0EEI6 on line 3 bool(false) Fatal error: Uncaught Exception: String could not be parsed as XML in /in/0EEI6:5 Stack trace: #0 /in/0EEI6(5): SimpleXMLElement->__construct('') #1 {main} thrown in /in/0EEI6 on line 5
Process exited with code 255.

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