1--TEST--
2Test define_syslog_variables() function : error conditions
3--FILE--
4<?php
5/* Prototype  : void define_syslog_variables(void)
6 * Description: Initializes all syslog-related variables
7 * Source code: ext/standard/syslog.c
8 * Alias to functions:
9 */
10
11echo "*** Testing define_syslog_variables() : error conditions ***\n";
12
13// One argument
14echo "\n-- Testing define_syslog_variables() function with one argument --\n";
15$extra_arg = 10;
16var_dump( define_syslog_variables($extra_arg) );
17
18?>
19===DONE===
20--EXPECTF--
21*** Testing define_syslog_variables() : error conditions ***
22
23-- Testing define_syslog_variables() function with one argument --
24
25Deprecated: Function define_syslog_variables() is deprecated in %s on line %d
26
27Warning: define_syslog_variables() expects exactly 0 parameters, 1 given in %s on line %d
28NULL
29===DONE===
30