note 128802 added to class.sensitiveparameter

From: Date: Tue, 15 Aug 2023 01:13:01 +0000
Subject: note 128802 added to class.sensitiveparameter
Groups: php.notes 
Request: Send a blank email to php-notes+get-220763@lists.php.net to get a copy of this message
As of PHP 8.2, it is not possible to call a class using it. $this->database_connection = new mysqli( #[\SensitiveParameter] $DB_HOST, #[\SensitiveParameter] $DB_USERNAME, #[\SensitiveParameter] $DB_PASSWORD, #[\SensitiveParameter] $DB_NAME ); Will not work ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 45.170.243.18) ---- Manual Page -- https://php.net/manual/en/class.sensitiveparameter.php Edit -- https://main.php.net/note/edit/128802 Del: integrated -- https://main.php.net/note/delete/128802/integrated Del: useless -- https://main.php.net/note/delete/128802/useless Del: bad code -- https://main.php.net/note/delete/128802/bad+code Del: spam -- https://main.php.net/note/delete/128802/spam Del: non-english -- https://main.php.net/note/delete/128802/non-english Del: in docs -- https://main.php.net/note/delete/128802/in+docs Del: other reasons-- https://main.php.net/note/delete/128802 Reject -- https://main.php.net/note/reject/128802 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220763) next »