# maintainer-strict-api - A tool to check and enforce encapsulation

- Thread: https://externals.io/message/98358
- Original archive: https://news-web.php.net/php.internals/98358
- Started by francois@php.net on 2017-02-26T09:29:41+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #98358 — francois@php.net — 2017-02-26T09:29:41+00:00

URL: https://externals.io/message/98358#98358

Hi,

following Joe Watkins' suggestion, I'm reviving a PR I had proposed for 
7.0. The PR was abandoned because it was coming too late to target 7.0.

The PR is available at :

https://github.com/php/php-src/pull/1508

It is introducing a new configure flag. When this flag is set, 
non-compliant access to the zval and zend_string struct elements trigger 
compile-time failures, making it an API compliance check tool.

You will find more details in the PR. Please give thoughts.

Regards

François
