Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119429 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 6970 invoked from network); 27 Jan 2023 16:35:06 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Jan 2023 16:35:06 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BD33B180506 for ; Fri, 27 Jan 2023 08:35:04 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS19151 66.111.4.0/24 X-Spam-Virus: No X-Envelope-From: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 27 Jan 2023 08:35:04 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F184E5C015C for ; Fri, 27 Jan 2023 11:35:03 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute4.internal (MEProxy); Fri, 27 Jan 2023 11:35:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1674837303; x= 1674923703; bh=aaQyiZEZYWtDht7w4lE+sPY5HpFSgqfRooXsicmJkKM=; b=G emSjU0AS+o3Rajg7OzX7BcGhLhFH5T+r6KyCYO2SK99wQh/UD93uoOGSOllcB0hj 7R5YFHpXkP319cYJ3y1uqJEO+y4NLUq24xBmBhJPa65hfae7xLIozgJ8Be3RNxM8 JlcWT20/y5MypfA7OB5OQ5WTpWygWe4YHXomZhBubWsKiLx/Ho4SgppFIln8Dw1o f9DyZyMMLQCwnYhw3mSbxGIzZWiMQZsxQbBt1Msq/sLI0m2+lgFpAg92ieiepraF hOLjSXRp2J8cUIh8J6/Im4b/F0zypOE5mkKGba3w/fURH6uiGG3kELajuAOXHlok sSb0XbK26oiOtp7z3iTTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1674837303; x=1674923703; bh=aaQyiZEZYWtDht7w4lE+sPY5HpFS gqfRooXsicmJkKM=; b=ppOe7w0+yN2p6BrD2t8w1qAweOelrURMiDjzYA2jjJsp 7I6P0BCu5Q5PuG/l3DIhbC/aPITp40iH2thr4JfsavHKxX+sMzLZY5tLF+iUX9Bt NSIxDhQHPWDym8oqGVv2ZNnXfdbIZRS/ByDX69GBuHuQkjutA445VEn2Nk68n906 BdtvjA5QPw0dtaG6G9285DR5PfTuTM7v+egSmpziEPMXaEkx39UyvIsDLiYH6tiL EemmLixsFq9IOdwUFjQ1NFOOlq5VXUhALjiRuAdLdC9DM3a/vypsMIWP+ok8BulU i2Vuf8PNSxJkMzQSFNlttzAoRR2arc59USJg75vb9Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddviedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeevheehvdevjeelvdevgfelvefftdejkeelvdekgeeh fffgiedvjefhhfeltdduteenucffohhmrghinhepphhhphdrnhgvthenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhi vghlughtvggthhdrtghomh X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C2B161700090; Fri, 27 Jan 2023 11:35:03 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-85-gd6d859e0cf-fm-20230116.001-gd6d859e0 Mime-Version: 1.0 Message-ID: <93916c5b-6fc6-43a9-8415-5e5b0cdfaa8f@app.fastmail.com> In-Reply-To: <3bebd28c-ebaf-53ab-5f2e-42893bc596bf@gmx.de> References: <3bebd28c-ebaf-53ab-5f2e-42893bc596bf@gmx.de> Date: Fri, 27 Jan 2023 10:34:42 -0600 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] Deprecate ldap_connect with host and port as separate arguments From: larry@garfieldtech.com ("Larry Garfield") On Fri, Jan 27, 2023, at 10:28 AM, Christoph M. Becker wrote: > On 27.01.2023 at 17:06, Levi Morrison via internals wrote: > >> On Fri, Jan 27, 2023 at 8:54 AM Larry Garfield wrote: >>> >>> On Fri, Jan 27, 2023, at 3:00 AM, Andreas Heigl wrote: >>> >>>> I think it would be a good idea to deprecate calling ldap_connect with 2 >>>> parameters host and port. >>> >>> This would require an RFC, obviously, but it seems reasonable to me. "Variable meaning parameters" was always a bad idea, and cleaning them up is a good idea.> >> I disagree that this needs an RFC. The docs have long-said it's >> deprecated; adding a deprecation message _in code_ to match shouldn't >> require an RFC. > > In my opinion, a dedicated RFC would be overkill, but it could be added > to the deprecations for PHP 8.3 RFC[1] what doesn't require much effort > (feel free to add it, Andreas), and this way there would be more > visibility, and we have a vote. > > [1] That makes sense to me. --Larry Garfield