Re: Proposing inclusion of PCS in the 7.2 core distribution
| From: | François Laupretre | Date: | Tue, 06 Jun 2017 09:44:06 +0000 |
| Subject: | Re: Proposing inclusion of PCS in the 7.2 core distribution | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99392@lists.php.net to get a copy of this message | ||
Hi,
Le 05/06/2017 à 21:26, Fleshgrinder a écrit :
I skimmed through the documentation of yours. There is however one question left. Is it possible to have C code that is accessible only to the PHP code of an extensions, instead of all user-level code?As extension PHP code is executed in the same context as user-level code, there is no way to have such access restriction. The workaround, IMO, would be to expose non-documented methods or functions. But nothing will prevent user-level code to call them. Regards François