3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_page_stats($domain) { $str = file_get_contents($domain); $str = strip_tags(strtolower($str)); $words = str_word_count($str, 1); var_dump($words); } get_page_stats('http://google.com');
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for google.com failed: System error in /in/SU9CN on line 3 Warning: file_get_contents(http://google.com): Failed to open stream: php_network_getaddresses: getaddrinfo for google.com failed: System error in /in/SU9CN on line 3 array(0) { }

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