Exemples
PHP Manual

Exemple simple

<?php
readfile
("gopher://gopher.example.com/somedocument");
?>

Exemples
PHP Manual