I'm not quite sure what the point of this is. As far as I can tell, it simply creates variables containing the constant values defined on http://uk.php.net/manual/en/network.constants.php (using the same names), and I can't see why you would need to do that (why not just use the constants?). Is this a backwards-compatibility issue, or is this function doing something else that I've misunderstood?
Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| define_syslog_variables | "0" | PHP_INI_ALL | Deprecated in PHP 5.3.0. Removed in PHP 6.0.0. |
For further details and definitions of the PHP_INI_* modes, see the Where a configuration setting may be set.
Here's a short explanation of the configuration directives.
- define_syslog_variables boolean
-
Whether or not to define the various syslog variables (e.g. $LOG_PID, $LOG_CRON, etc.). Turning it off is a good idea performance-wise. At runtime, you can define these variables by calling define_syslog_variables().
Runtime Configuration
php at kennelREMOVEME17 dot co dot uk
26-Sep-2008 01:29
26-Sep-2008 01:29
