3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = file_get_contents('http://planeshift.teamix.org/index.php?page=char_stats'); $chars1 = strip_tags($chars); $pieces = explode("Players Online", $chars1); $names = explode (", ", $pieces[1]); sort ($names); foreach ($names as $name) { echo "$name<br>"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for planeshift.teamix.org failed: System error in /in/Vs577 on line 2 Warning: file_get_contents(http://planeshift.teamix.org/index.php?page=char_stats): Failed to open stream: php_network_getaddresses: getaddrinfo for planeshift.teamix.org failed: System error in /in/Vs577 on line 2 Warning: Undefined array key 1 in /in/Vs577 on line 8 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /in/Vs577 on line 8 <br>

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.04 ms | 402 KiB | 8 Q