1--TEST--
2cli_set_process_title() function : basic functionality
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
13if (cli_set_process_title("title") === true &&
14    cli_get_process_title() === "title")
15  echo "Successfully set title\n";
16
17?>
18--EXPECT--
19Successfully set title
20