Re: PHP and #if
| From: | André Medeiros | Date: | Fri, 14 Mar 2008 19:33:20 +0000 |
| Subject: | Re: PHP and #if | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271614@lists.php.net to get a copy of this message | ||
OK, here's how it goes:
<?php
if(!defined('_THIS_PHP_FILE_PHP')) {
define('_THIS_PHP_FILE_PHP', true);
// define your classes and functions here
} // endif _THIS_PHP_FILE_PHP
?>