PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dns_check_record> <debugger_on
Last updated: Sun, 25 Nov 2007

view this page in

define_syslog_variables

(PHP 4, PHP 5)

define_syslog_variables — syslog에 연관된 모든 상수를 초기화합니다.

Description

void define_syslog_variables ( void )

syslog 함수에 사용되던 모든 상수들을 초기화합니다.

참조: openlog(), syslog() 그리고 closelog().



add a note add a note User Contributed Notes
define_syslog_variables
chad 0x40 herballure 0x2e com
24-Jul-2007 12:47
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)
?>

dns_check_record> <debugger_on
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites