Where is the 'tsrm_ls' in PHP sources?

I am coding an extension to change the way PHP handles errors. Where is tsrm_ls declared ? I can not find him.

PS I think this is a "typedef"

Edit: Still cannot find it. Is it declared locally? I think it is used in the EG macro.

+3
source share
4 answers

Figured it out.

TSRMLS_FETCH();

Run it before calling any of these macros.

+2
source

You can find this explanation quite useful: http://blog.golemon.com/2006/06/what-heck-is-tsrmlscc-anyway.html

+4
source

, , php_apache.c

0

Source: https://habr.com/ru/post/1793175/


All Articles