zlacker

[parent] [thread] 1 comments
1. hakre+(OP)[view] [source] 2022-12-10 14:07:27
> assert() is still broken if it's disabled in php.ini.

Care to explain what you mean it's broken if disabled? That it is disabled (noop in runtime) so you're missing it? AFAIK that's the production setting. You should be able to enable it in build/test/ci/development, just how you want it.

replies(1): >>lazka+sl1
2. lazka+sl1[view] [source] 2022-12-10 22:52:30
>>hakre+(OP)
Sure. (1) it is a global setting so I can't decide if I want it on a per application basis, with Docker that is less of an issue though (2) it is disabled by default, so hardly anyone uses it from what I see (3) I'd like to have it always enabled, also in production, so my code doesn't end up in states that I didn't expect and I get notified.

But that might just be me and/or my particular use case.

[go to top]