|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75497 cli_get_process_title/cli_set_process_title fail to get/set process title
Submitted: 2017-11-07 15:25 UTC Modified: -
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: boukevanderbijl at gmail dot com Assigned:
Status: Open Package: *General Issues
PHP Version: master-Git-2017-11-07 (Git) OS: macOS 10.13.1 (17B48)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: boukevanderbijl at gmail dot com
New email:
PHP Version: OS:


 [2017-11-07 15:25 UTC] boukevanderbijl at gmail dot com
It seems the latest version (10.13) of macOS has broken the capability to get and set process titles. Using cli_get/set_process_title results in a warning. The way to fix this would be to use the OS-provided methods, which libuv from the nodejs project has implemented in and

Test script:
echo cli_get_process_title();

Expected result:

Actual result:
Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in - on line 2

Call Stack:
    0.0002     366472   1. {main}() -:0
    0.0002     366472   2. cli_set_process_title() -:2

Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in - on line 3

Call Stack:
    0.0002     366472   1. {main}() -:0
    0.0004     366656   2. cli_get_process_title() -:3


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 01:01:31 2024 UTC