E_DEPRECATED and directives warnings
| From: | eyal . t | Date: | Thu, 04 Nov 2010 07:26:37 +0000 |
| Subject: | E_DEPRECATED and directives warnings | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65661@lists.php.net to get a copy of this message | ||
Hi,
Noticed that setting E_DEPRECATED on, causes the deprecated warnings only to show on directives that were set in php.ini (rather than those set during runtime by ini_set()). Furthermore, it throws those warning only on CLI execution as opposed to running in a webserver context.
Is this actually the designated behaviour?
As we're running the phpts in webserver context, many tests that expect this warning to be thrown (such as ext/session/tests/003) fail for us.
So I guess for now, we should simply filter out 'Warning: Directive.*' warnings from the expected result?