define_syslog_variables() only defines global variables. Constants are already always defined, if the syslog module is loaded. You _do not_ need to call this to use the syslog constants.
For instance, on my system:
<?php
var_dump(LOG_ERR); // int(3)
var_dump($LOG_ERR); // NULL (and an E_NOTICE)
define_syslog_variables();
var_dump($LOG_ERR); // int(3)
?>
define_syslog_variables
(PHP 4, PHP 5)
define_syslog_variables — syslog に関係する全ての定数を初期化する
説明
void define_syslog_variables
( void
)
syslog 関数で使用される全ての定数を初期化します。
返り値
値を返しません。
define_syslog_variables
chad 0x40 herballure 0x2e com
24-Jul-2007 12:47
24-Jul-2007 12:47
