Hi

On 8/6/24 00:55, Christoph M. Becker wrote:
So, what are the cons:

* removing the ZEND_EXIT opcode

That immediately breaks any extension using it.  A quick Github search
lists 3.1 k occurrences[1].

For me this is a pro, because it makes the implementation simpler going forward: The engine, the JIT and extensions have one fewer Opcode they need to deal with / take into account / test. Anything that is capable of handling functions that throw exceptions will be capable of handling the proposed exit() function.

Best regards
Tim Düsterhus

Reply via email to