Improved extension globals support, fixing TSRMLS_CC
Property define with static-constant-access support

- added support for it

- added some tests for it