3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = fopen ("http://www.tricor.com.br/", "r"); if (!$file) { echo "<p>Incapaz de abrir arquivo remoto.\n"; exit; } while (!feof ($file)) { $line = fgets ($file, 1024); /* Isso só funciona se o título e suas tags estiverem na mesma linha */ if (eregi ("<title>(.*)</title>", $line, $out)) { $title = $out[1]; break; } } fclose($file); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: fopen(): php_network_getaddresses: getaddrinfo for www.tricor.com.br failed: System error in /in/mjSGS on line 2 Warning: fopen(http://www.tricor.com.br/): Failed to open stream: php_network_getaddresses: getaddrinfo for www.tricor.com.br failed: System error in /in/mjSGS on line 2 <p>Incapaz de abrir arquivo remoto.

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:
40.89 ms | 401 KiB | 8 Q