Re: PHP header files, restrict to declaring code only
| From: | Niklas Keller | Date: | Fri, 10 May 2019 21:09:03 +0000 |
| Subject: | Re: PHP header files, restrict to declaring code only | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105668@lists.php.net to get a copy of this message | ||
Instead of introducing a declare option or special open tag, how about
another "include" construct, that only allows side-effect free (apart
from class loading) operations?
e.g. "require_noexec 'foobar.php'"
Regards, Niklas