add TSRM header in zts mode and module pointer
Merge pull request #9 from krakjoe/pecl

add TSRM header in zts mode and module pointer