Browse Source

[php] Add the `cli_set_process_title` function (#9572)

Cédric Belin 5 years ago
parent
commit
1d51ed632e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      std/php/Global.hx

+ 5 - 0
std/php/Global.hx

@@ -1484,4 +1484,9 @@ extern class Global {
 		@see http://php.net/manual/en/function.gc-collect-cycles.php
 		@see http://php.net/manual/en/function.gc-collect-cycles.php
 	**/
 	**/
 	static function gc_collect_cycles():Int;
 	static function gc_collect_cycles():Int;
+
+	/**
+		@see http://php.net/manual/en/function.cli-set-process-title.php
+	**/
+	static function cli_set_process_title(title:String):Bool;
 }
 }