Skip to content

PHP bindings are obsolete and should be sunsetted #12

@gsmecher

Description

@gsmecher

The PHP bindings are fairly out-of-date and should be removed (likely) or fixed (less likely).

The TSRMLS macros (TSRMLS_FETCH, TSRMLS_CC, TSRMLS_DC) are discussed in an accepted PHP RFC here:

https://wiki.php.net/rfc/native-tls

This was unanimously endorsed for a proposed PHP7 release (2015). The I think these macros were then carried forward until PHP8 as inert, and were removed at PHP8 (2021):

https://www.seidengroup.com/2020/12/07/porting-extensions-to-php-8/

I would be happy to submit a PR that removes PHP support entirely. I did check to see if a simple search-and-replace could quickly fix the build failures but ended up with a test that segfaulted, indicating deeper trouble than I was willing to debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions