1--TEST--
2Test syslog() function : basic functionality
3--FILE--
4<?php
5/* Prototype  : bool syslog(int priority, string message)
6 * Description: Generate a system log message
7 * Source code: ext/standard/syslog.c
8 * Alias to functions:
9 */
10
11echo "*** Testing syslog() : basic functionality ***\n";
12
13
14// Initialise all required variables
15$priority = LOG_WARNING;
16$message = 'A test syslog call invocation';
17
18// Calling syslog() with all possible arguments
19var_dump( syslog($priority, $message) );
20
21?>
22===DONE===
23--EXPECT--
24*** Testing syslog() : basic functionality ***
25bool(true)
26===DONE===
27