Sample file download

A sample php file, which prints the text “Sample PHP file”. Note that the PHP_EOL constant was added in php version 5.0.2.

$ file sample.php
sample.php: PHP script text

Sample php script: download here.

Tags: php script

Top Site Counter