[GIT-PULLS] [php-src] PR #22906: zend_call_stack.c: AIX backend

[email protected] (NattyNarwhal) Tue, 28 Jul 2026 06:01:10 +0000
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/22906
Author: NattyNarwhal

Uses pthread_getthrds_np (so requires pthread linked, by default on ZTS, needs to be added for NTS). The stack size part is weird, but works in testing.

An alternative approach is using procfs, but I didn't bother with this due to it not working on PASE (and the pthread approach works for the main thread too).