Short reminder about PHP #defines
| From: | Andi Gutmans | Date: | Sat, 10 Jun 2000 09:03:44 +0000 |
| Subject: | Short reminder about PHP #defines | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20880@lists.php.net to get a copy of this message | ||
Hi,
A short reminder about the types of the standard #define's in PHP. Some are defined to values and some are only defined in certain cases. Here's a list:
These two are always defined and have a value (0/1). o when you check for them use "if"
- HAVE_MODULE=1
- ZTS=1
These are only defined in certain cases so use #ifdef to check for them:
- ZEND_WIN32
- PHP_WIN32
- COMPILE_DL_MODULE
Andi
---
Andi Gutmans <andi@zend.com>
http://www.zend.com/