The constants below are always available as part of the PHP core.
flags
for
openlog()
LOG_CONS
(int)
LOG_NDELAY
(int)
LOG_ODELAY
(int)
LOG_NOWAIT
(int)
LOG_PERROR
(int)
STDERR
.
LOG_PID
(int)
facility
for
openlog()
LOG_AUTH
(int)
Note: Use
LOG_AUTHPRIV
instead when available.
LOG_AUTHPRIV
(int)
LOG_CRON
(int)
LOG_DAEMON
(int)
LOG_KERN
(int)
LOG_LOCAL0
(int)
Not available on Windows.
LOG_LOCAL1
(int)
Not available on Windows.
LOG_LOCAL2
(int)
Not available on Windows.
LOG_LOCAL3
(int)
Not available on Windows.
LOG_LOCAL4
(int)
Not available on Windows.
LOG_LOCAL5
(int)
Not available on Windows.
LOG_LOCAL6
(int)
Not available on Windows.
LOG_LOCAL7
(int)
Not available on Windows.
LOG_LPR
(int)
LOG_MAIL
(int)
LOG_NEWS
(int)
LOG_SYSLOG
(int)
LOG_USER
(int)
LOG_UUCP
(int)
priority
for
syslog()
The priority constants are listed from urgent, to debug messages.
LOG_EMERG
(int)
LOG_ALERT
(int)
LOG_CRIT
(int)
LOG_ERR
(int)
LOG_WARNING
(int)
LOG_NOTICE
(int)
LOG_INFO
(int)
LOG_DEBUG
(int)
type
s for
dns_get_record()
DNS_ANY
(int)
libresolv
between platforms this is not guaranteed.
The slower DNS_ALL
will collect all records more reliably.
DNS_ALL
(int)
DNS_A
(int)
DNS_AAAA
(int)
DNS_A6
(int)
DNS_CAA
(int)
Not available on Windows.
DNS_CNAME
(int)
DNS_HINFO
(int)
DNS_MX
(int)
DNS_NAPTR
(int)
DNS_NS
(int)
DNS_PTR
(int)
DNS_SOA
(int)
DNS_SRV
(int)
DNS_TXT
(int)