> On Jan 6, 2020, at 5:56 AM, Robert Hickman <robehick...@gmail.com> wrote: > > Would it be worth expanding the ideas of programmatic constant > definition into a more general compile-time code execution approach? > It would work well with preloading introduced in 7.4, and could allow > some of the things frameworks are currently doing at runtime to be > done once at compile time (opcode generation time). The > work-in-progress language JAI has a very interesting compile time > execution system which could possibly be a source of inspiration.
That would certainly be interesting. I do not know enough what is possible there to opine. It it were possible that might be the best of all worlds. Anyone with experience in that area able to comment? -Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php