3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.lolking.net/summoner/euw/21048165'; $content = file_get_contents($url); $first_step = explode( '<div class="personal_ratings_rating" style="margin-bottom: 0; height: 30px; font: bold 20px \'Trebuchet MS\';">' , $content ); $second_step = explode("</div>" , $first_step[1] ); echo $second_step[0];
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.lolking.net failed: System error in /in/ETBII on line 4 Warning: file_get_contents(http://www.lolking.net/summoner/euw/21048165): Failed to open stream: php_network_getaddresses: getaddrinfo for www.lolking.net failed: System error in /in/ETBII on line 4 Warning: Undefined array key 1 in /in/ETBII on line 6 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /in/ETBII on line 6

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