Hello internals,

It has come to our attention that max execution time can be set to a
negative number, even set_time_limit will happily accept a negative
number without error (except when using zend_max_execution_timers in
zts mode).

I couldn't find, in the docs, how to properly treat a negative number.
I think this may need an RFC to codify how negative numbers should be
treated. There are three possibilities:

1. Leave it undefined
2. Treat it as zero (unlimited)
3. Fatal error

Ideally, we would go with (2) in 8.4 along with a deprecation warning,
and then (3) in 9.0.

What do you think?

Robert Landers
Software Engineer
Utrecht NL

Reply via email to