mirror of
https://github.com/php/pftt2.git
synced 2026-03-24 01:02:11 +01:00
PHP Deprecated causes failures #47
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hollyhuiLi on GitHub (Sep 5, 2019).
For deprecated functions, both message and behavior are different
Related test cases:
ext/mbstring/tests/bug52931.phpt
ext/opcache/tests/bug68644.phpt
ext/opcache/tests/bug75729.phpt
zend/tests/bug47320.phpt
Example diff for ext/mbstring/tests/bug52931.phpt
@@ -1,5 +1,1 @@
+PHP Deprecated: The mbstring.func_overload directive is deprecated in Unknown on line 0
-Deprecated: The mbstring.func_overload directive is deprecated in Unknown on line 0
-int(27)
-int(27)
-int(20)
-int(20)
@cmb69 commented on GitHub (Sep 5, 2019):
Apparently, your INI settings are
display_errors=0(which suppresses the expected message) andlog_errors=1(which triggers the message you've got). I wonder whyerror_logdefaults to on; might be something that we want to change. Anyhow, you have to fix your php.ini accordingly.@cmb69 commented on GitHub (Oct 10, 2019):
Since this is just about a PHP INI setting, I'm closing this ticket. Thanks.
@cmb69 commented on GitHub (Oct 17, 2019):
Well, actually this is a bug in PFTT, since it uses wrong defaults for these INI settings.