(PHP 4, PHP 5, PHP 7, PHP 8)

closelogClose connection to system logger


closelog(): true

closelog() closes the descriptor being used to write to the system logger. The use of closelog() is optional.


This function has no parameters.

Return Values

Always returns true.

See Also

  • syslog() - Generate a system log message
  • openlog() - Open connection to system logger

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top