3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://scholar.google.com/scholar?q=honors+college&amp;hl=en&amp;btnG=Search& amp;as_sdt=1%2C4&amp;as_sdtp=on'; $needle = 'Import into bibtex'; $contents = file_get_contents($url); echo $contents; if(strpos($contents, $needle)!== false) { echo 'found'; } else { echo 'not found'; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for scholar.google.com failed: System error in /in/iX2R8 on line 4 Warning: file_get_contents(http://scholar.google.com/scholar?q=honors+college&amp;hl=en&amp;btnG=Search& amp;as_sdt=1%2C4&amp;as_sdtp=on): Failed to open stream: php_network_getaddresses: getaddrinfo for scholar.google.com failed: System error in /in/iX2R8 on line 4 not found

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