1--TEST-- 2cli_set_process_title() function : error conditions 3--CREDITS-- 4Patrick Allaert patrickallaert@php.net 5@nephp #nephp17 6--SKIPIF-- 7<?php 8if (PHP_SAPI !== "cli") 9 die("skip"); 10?> 11--FILE-- 12<?php 13cli_set_process_title(); 14cli_set_process_title("foo", "bar"); 15?> 16--EXPECTF-- 17Warning: cli_set_process_title() expects exactly 1 parameter, 0 given in %scli_set_process_title_error.php on line 2 18 19Warning: cli_set_process_title() expects exactly 1 parameter, 2 given in %scli_set_process_title_error.php on line 3 20