1--TEST-- 2Test syslog() function : basic functionality 3--FILE-- 4<?php 5echo "*** Testing syslog() : basic functionality ***\n"; 6 7 8// Initialise all required variables 9$priority = LOG_WARNING; 10$message = 'A test syslog call invocation'; 11 12// Calling syslog() with all possible arguments 13var_dump( syslog($priority, $message) ); 14 15?> 16--EXPECT-- 17*** Testing syslog() : basic functionality *** 18bool(true) 19