Skip to content

Conversation

@alexandre-daubois
Copy link
Member

Fix #587

Not a big fan of borrowing that much code from the cli sapi, but I'm not sure there's another solution actually

@alexandre-daubois alexandre-daubois force-pushed the cli-set-get-proc-title branch 2 times, most recently from c425a05 to d33de2f Compare September 2, 2025 13:18
@alexandre-daubois
Copy link
Member Author

The lint error is challenging somehow... The linter tells that the functions should not be redefined in the stub, but it won't work without it (the generated arginfo also contains function entries). I'm not sure how we can proceed... Maybe with function aliases? 🤔

@henderkes
Copy link
Contributor

henderkes commented Sep 6, 2025

Not a big fan of borrowing that much code from the cli sapi, but I'm not sure there's another solution actually

If you would like to work on #1757 that would solve this implicitly as well.

@alexandre-daubois
Copy link
Member Author

Indeed! I forgot about it. Let's close this one, the other PR is the way to go.

@henderkes
Copy link
Contributor

I would actually say that with my changes merged, it's ready with static linking against libphp.a. You might even be familiar enough with php-src to deal with the tsrm_ls_cache symbol when linking against libphp.so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call to undefined function cli_set_process_title()

2 participants