Re: Introducing pragmas into PHP?
| From: | Alexey Zakhlestin | Date: | Sun, 08 Dec 2013 17:14:05 +0000 |
| Subject: | Re: Introducing pragmas into PHP? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70536@lists.php.net to get a copy of this message | ||
On 08.12.13, 21:04, Terry Ellison wrote:
> I am suggestion the overload of constants of the form PHP_PRAGMA_XXX to
> define PHP / Zend compiler / executor behaviours. This approach would be
> BC to 5.3 unless, of course, the application already used PHP_PRAGMA_*
> constants, in which case we might also need an allow_php_pragmas INI
> parameter to globally enable/disable their interpretation.
we already have declare() for this purpose exactly.
http://docs.php.net/declare
it might make sense to use it for more things
--
Alexey Zakhlestin
CTO at Grids.by/you
https://github.com/indeyets
PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc