« first day (4975 days earlier)      last day (192 days later) » 

13:09
Got an interesting question here. I have a development server that shares one PHP installs across all the developers. It's set to report errors in php.ini as E_ALL & ~E_STRICT & ~E_DEPRECATED
We use Smarty, which runs a trigger_error of E_USER_DEPRECATED. Those messages still show up, but I have one user who says he doesn't see them at all
Does the php.ini setting not affect deprecated that's script triggered? This is PHP 8.1, if it matters
It should affect them all
Don't they possible overwride the INI at runtime with a ini_set call?
I'm trying to narrow that down, I was just curious if there were different rules for trigger_error WRT deprecated
@Machavity If you have Xdebug installed, you can use xdebug.force_error_reporting, which stops people from setting their own error_reporting with ini_set() : xdebug.org/docs/all_settings#force_error_reporting — to find out whether that is the case.
Ooh, I didn't know that. I might try that. Thanks

« first day (4975 days earlier)      last day (192 days later) »