Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89072 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4034 invoked from network); 5 Nov 2015 03:21:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2015 03:21:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=come@opensides.be; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=come@opensides.be; sender-id=pass Received-SPF: pass (pb1.pair.com: domain opensides.be designates 195.154.20.141 as permitted sender) X-PHP-List-Original-Sender: come@opensides.be X-Host-Fingerprint: 195.154.20.141 smtp.opensides.be Received: from [195.154.20.141] ([195.154.20.141:58806] helo=smtp.opensides.be) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/70-00752-33BCA365 for ; Wed, 04 Nov 2015 22:21:24 -0500 Received: from localhost (localhost [127.0.0.1]) by smtp.opensides.be (Postfix) with ESMTP id 2417F620C0 for ; Thu, 5 Nov 2015 04:21:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at opensides.be Received: from smtp.opensides.be ([127.0.0.1]) by localhost (smtp.opensides.be [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qChpucpqzRo8 for ; Thu, 5 Nov 2015 04:21:20 +0100 (CET) Received: from mcmic-probook.localnet (node-sux.pool-182-52.dynamic.totbb.net [182.52.146.25]) by smtp.opensides.be (Postfix) with ESMTPSA id 5002F5FA98 for ; Thu, 5 Nov 2015 04:21:20 +0100 (CET) To: internals@lists.php.net Date: Thu, 05 Nov 2015 04:20:37 +0100 Message-ID: <1754936.oCRzCT6yNp@mcmic-probook> Organization: OpenSides User-Agent: KMail/4.14.1 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) In-Reply-To: References: <3187501.to7rK1FKUl@mcmic-probook> <7863331.7prpVflOvN@mcmic-probook> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Subject: Re: [PHP-DEV] Fixing ldap_connect documentation From: come@opensides.be (=?ISO-8859-1?Q?C=F4me?= Chilliet) Le mercredi 4 novembre 2015, 21:10:09 Bishop Bettini a =E9crit : > > - Second parameter is not used if the first one is an LDAP scheme, = so > > calling ldap_connect('ldap://localhost', 456) will use default port= 389. > > >=20 > I'd prefer this raise a notice, like "Second argument ignored when us= ing > URI syntax. Port will default to 389. Did you mean 'ldap://localhost:= 456' > instead?" Good idea, this will avoid confusion. I will add this. MCMic