|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2021-07-09 01:07 UTC] lufei@php.net
-Status: Open
+Status: 已验证
[2021-07-09 01:12 UTC] lufei@php.net
[2021-07-09 01:27 UTC] requinix@php.net
-Status: ???
+Status: Open
[2021-07-09 21:03 UTC] dharman@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: dharman
[2021-07-09 21:03 UTC] dharman@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 23 21:00:01 2025 UTC |
Description: ------------ Now that PHP supports named parameters, those names in the documentation must match the used in the PHP source. E.g. in the documentation for mysqli::__construct(), '$host' and '$dbname' are wrong. Expected result: ---------------- From file ext/mysqli/mysqli.stub.php in the source: public function __construct( ?string $hostname = null, ?string $username = null, ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null ) Actual result: -------------- From https://www.php.net/manual/en/mysqli.construct.php : public mysqli::__construct( string $host = ini_get("mysqli.default_host"), string $username = ini_get("mysqli.default_user"), string $passwd = ini_get("mysqli.default_pw"), string $dbname = "", int $port = ini_get("mysqli.default_port"), string $socket = ini_get("mysqli.default_socket") )