Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<checkdnsrrdns_check_record>
^Network FunctionsLast updated: Mon, 26 Oct 2026

closelog

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

closelog — Close connection to system logger

Description

function closelog(): true

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

Parameters

This function has no parameters.

Return Values

Always returns true.

See Also

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


<checkdnsrrdns_check_record>
^Network FunctionsLast updated: Mon, 26 Oct 2026