On Fri, 28 Apr 2023 at 09:16, Rowan Tommins <rowan.coll...@gmail.com> wrote:
> On a different point, I think "assert_options" is a peculiar name for > either setting or getting a single option, and would suggest it be > replaced with two new functions, assert_get_option and > assert_set_option. > Further to this, I've realised that the manual is currently a bit confusing regarding the interaction of ini_set('zend.assertions', ...), ini_set('assert.active', ...), and assert_options(ASSERT_ACTIVE, ...) Either way, all the options to assert_options are documented as having an equivalent ini setting, so is this function actually needed at all, or should users be encouraged to use ini_get / ini_set directly? https://www.php.net/assert_options Regards, -- Rowan Tommins [IMSoP]