|
define_syslog_variables
Initializes all syslog related constants
(PHP 4, PHP 5)
Related Examples ( Source code ) » define_syslog_variables Examples ( Source code ) » Write to system log Code Examples / Notes » define_syslog_variableschad 0x40 herballure 0x2e com
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) ?> |
Change Languagecheckdnsrr closelog debugger_off debugger_on define_syslog_variables dns_check_record dns_get_mx dns_get_record fsockopen gethostbyaddr gethostbyname gethostbynamel getmxrr getprotobyname getprotobynumber getservbyname getservbyport header headers_list headers_sent inet_ntop inet_pton ip2long long2ip openlog pfsockopen setcookie setrawcookie socket_get_status socket_set_blocking socket_set_timeout syslog |