1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/ext/standard/tests/network/syslog_basic.phpt
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

25 lines
567 B
PHP

--TEST--
Test syslog() function : basic functionality
--FILE--
<?php
/* Prototype : bool syslog(int priority, string message)
* Description: Generate a system log message
* Source code: ext/standard/syslog.c
* Alias to functions:
*/
echo "*** Testing syslog() : basic functionality ***\n";
// Initialise all required variables
$priority = LOG_WARNING;
$message = 'A test syslog call invocation';
// Calling syslog() with all possible arguments
var_dump( syslog($priority, $message) );
?>
--EXPECT--
*** Testing syslog() : basic functionality ***
bool(true)