openlog OptionsConstantDescriptionLOG_CONS
if there is an error while sending data to the system logger,
write directly to the system console
LOG_NDELAY
open the connection to the logger immediately
LOG_ODELAY
(default) delay opening the connection until the first
message is logged
LOG_NOWAITLOG_PERRORprint log message also to standard errorLOG_PIDinclude PID with each message
openlog FacilitiesConstantDescriptionLOG_AUTH
security/authorization messages (use LOG_AUTHPRIV instead
in systems where that constant is defined)
LOG_AUTHPRIVsecurity/authorization messages (private)LOG_CRONclock daemon (cron and at)LOG_DAEMONother system daemonsLOG_KERNkernel messagesLOG_LOCAL0reserved for local use, not available in WindowsLOG_LOCAL1reserved for local use, not available in WindowsLOG_LOCAL2reserved for local use, not available in WindowsLOG_LOCAL3reserved for local use, not available in WindowsLOG_LOCAL4reserved for local use, not available in WindowsLOG_LOCAL5reserved for local use, not available in WindowsLOG_LOCAL6reserved for local use, not available in WindowsLOG_LOCAL7reserved for local use, not available in WindowsLOG_LPRline printer subsystemLOG_MAILmail subsystemLOG_NEWSUSENET news subsystemLOG_SYSLOGmessages generated internally by syslogdLOG_USERgeneric user-level messagesLOG_UUCPUUCP subsystem
syslog Priorities (in descending order)ConstantDescriptionLOG_EMERGsystem is unusableLOG_ALERTaction must be taken immediatelyLOG_CRITcritical conditionsLOG_ERRerror conditionsLOG_WARNINGwarning conditionsLOG_NOTICEnormal, but significant, conditionLOG_INFOinformational messageLOG_DEBUGdebug-level message
dns_get_record OptionsConstantDescriptionDNS_AIPv4 Address ResourceDNS_A6Defined as part of early IPv6 but downgraded to historic by RFC 6563DNS_CAACertification Authority Authorization Resource (available as of PHP 7.0.16 and 7.1.2)DNS_MXMail Exchanger ResourceDNS_CNAMEAlias (Canonical Name) ResourceDNS_NAPTRNaming Authority PointerDNS_NSAuthoritative Name Server ResourceDNS_PTRPointer ResourceDNS_HINFOHost Info Resource (See IANA's
Operating System Names
for the meaning of these values)DNS_SOAStart of Authority ResourceDNS_SRVService locatorDNS_TXTText ResourceDNS_ANYAny Resource Record. On most systems
this returns all resource records, however
it should not be counted upon for critical
uses. Try DNS_ALL instead.DNS_AAAAIPv6 Address ResourceDNS_ALLIteratively query the name server for
each available record type.