[php-src] Issue #12860: Narrowing occurred during type inference of ZEND_FETCH_DIM_W

From: Date: Sun, 03 Dec 2023 19:56:25 +0000
Subject: [php-src] Issue #12860: Narrowing occurred during type inference of ZEND_FETCH_DIM_W
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245967@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/12860 Author: edlerd ### Description After updating to php 8.3, the trace appeared in the error log. I stripped some private information (and simplified paths) in it. Please fix it, so the error does not appear. Please, can you change logging, so the password does not get logged in clear text together with the login? ```php Warning: Narrowing occurred during type inference of ZEND_FETCH_DIM_W. Please file a bug report on https://github.com/php/php-src/issues in /snappymail/v/2.29.4/app/libraries/RainLoop/Providers/AddressBook/PdoAddressBook.php on line 528; Stack trace: 1. {main}() /snappymail/index.php:0; 2. include() /snappymail/index.php:11; 3. RainLoop\Service::Handle() /snappymail/snappymail/v/2.29.4/include.php:143; 4. RainLoop\Service::RunResult() /snappymail/snappymail/v/2.29.4/app/libraries/RainLoop/Service.php:14; 5. RainLoop\ServiceActions->ServiceAppData('') /snappymail/snappymail/v/2.29.4/app/libraries/RainLoop/Service.php:132; 6. RainLoop\ServiceActions->localAppData($bAdmin = FALSE) /snappymail/snappymail/v/2.29.4/app/libraries/RainLoop/ServiceActions.php:496; 7. RainLoop\Actions->AppData($bAdmin = FALSE) /snappymail/snappymail/v/2.29.4/app/libraries/RainLoop/ServiceActions.php:625; 8. RainLoop\Actions->AddressBookProvider($oAccount = class RainLoop\Model\MainAccount { private string ${RainLoop\Model\Account}sName = ''; private string ${RainLoop\Model\Account}sEmail = 'foo@bar.com'; private string ${RainLoop\Model\Account}sLogin = 'foo@bar.com'; private string ${RainLoop\Model\Account}sPassword = 'xxx'; private string ${RainLoop\Model\Account}sSmtpLogin = ''; private string ${RainLoop\Model\Account}sSmtpPassword = ''; private string ${RainLoop\Model\Account}sProxyAuthUser = ''; private string ${RainLoop\Model\Account}sProxyAuthPassword = ''; private RainLoop\Model\Domain ${RainLoop\Model\Account}oDomain = class RainLoop\Model\Domain { private string $Name = 'bar.com'; private MailSo\Imap\Settings $IMAP = class MailSo\Imap\Settings { ... }; private MailSo\Smtp\Settings $SMT ``` ### PHP Version PHP 8.3 ### Operating System Ubuntu 22.04.03 LTS

« previous php.bugs (#245967) next »