Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89195 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41815 invoked from network); 12 Nov 2015 08:39:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2015 08:39:57 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-wm0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:38856] helo=mail-wm0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/A7-16149-A5054465 for ; Thu, 12 Nov 2015 03:39:55 -0500 Received: by wmec201 with SMTP id c201so80523246wme.1 for ; Thu, 12 Nov 2015 00:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5amkvZW9O5nDvDC3B55V6K3f0bC9cM83JSrPdTa9E3U=; b=C0yiwOgInYSiuGucJxn0VhFtkqpAvl855nDpTHbCXuZ+bz7Itv3NUD78VLNftVStOW 1x1PE8d/sgk7ATt++PDXE8Ky5G5iY5OwaJCIvzn9iWsXCXFibRypNVhTYcROjH9WsVtO hUP+6d1UsGSnobSBAy6tu30paKfbnoR+xDg6auwBa34IbEOoXo5W+wui8sYoHYYtS9xr SkY2Qv5dJ45BdZekFyZexrwW9IEKePyyGgqHQzdl05MF/TPXpmw9bCEAPXVQfE4eUJGN rZDHISikBaiFH24wTaVD7njHFQdHR5/VgK2hAHUO9KKnPH3Banz245bijHPppbKd4NTI VEOw== MIME-Version: 1.0 X-Received: by 10.28.130.12 with SMTP id e12mr45250646wmd.76.1447317592092; Thu, 12 Nov 2015 00:39:52 -0800 (PST) Received: by 10.27.200.135 with HTTP; Thu, 12 Nov 2015 00:39:52 -0800 (PST) In-Reply-To: <8368447.U2fgg7TetA@mcmic-probook> References: <3187501.to7rK1FKUl@mcmic-probook> <8368447.U2fgg7TetA@mcmic-probook> Date: Thu, 12 Nov 2015 09:39:52 +0100 Message-ID: To: =?UTF-8?Q?C=C3=B4me_Chilliet?= Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11443cb4f435d6052453e27b Subject: Re: [PHP-DEV] One last ldap_connect headache From: tyra3l@gmail.com (Ferenc Kovacs) --001a11443cb4f435d6052453e27b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Nov 12, 2015 at 7:09 AM, C=C3=B4me Chilliet wro= te: > Le vendredi 6 novembre 2015, 11:43:58 Ferenc Kovacs a =C3=A9crit : > > > > on the other hand functions like ftp_connect assumes the default port > when > > passed NULL: > > > > I'm fine with changing this for future versions but my understanding is > > that this BC break (along with some others) was introduced in a micro > > release (5.6.11 afair), so at least for 5.6 I would prefer restoring th= e > > old behavior and for 7.0 I'm fine with the change but please document i= t > in > > NEWS and UPGRADING so we can incorporate it in the docs. > > > > Ok, so I pushed a fix to treat NULL (and 0 for that matter, same as in > ftp_connect) into the default ldap port. > I pushed only to 5.6 as I think for 7 we should keep the error, it does > not makes much sense to accept NULL as port and the documentation does no= t > mention it. > > MCMic > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > thanks! --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a11443cb4f435d6052453e27b--