Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99094 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7963 invoked from network); 18 May 2017 08:26:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2017 08:26:30 -0000 Authentication-Results: pb1.pair.com header.from=dorin.marcoci@marcodor.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dorin.marcoci@marcodor.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain marcodor.com designates 93.115.138.71 as permitted sender) X-PHP-List-Original-Sender: dorin.marcoci@marcodor.com X-Host-Fingerprint: 93.115.138.71 mail.marcodor.com Received: from [93.115.138.71] ([93.115.138.71:51591] helo=mail.marcodor.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/AC-21791-B385D195 for ; Thu, 18 May 2017 04:15:55 -0400 Received: from DESKTOP9R8I199 (host-static-93-115-138-66.moldtelecom.md [93.115.138.66]) by mail.marcodor.com (Postfix) with ESMTPSA id 62F146C475E for ; Thu, 18 May 2017 11:15:52 +0300 (EEST) To: Date: Thu, 18 May 2017 11:15:53 +0300 Organization: Marcodor Message-ID: <001401d2cfae$f7c64130$e752c390$@marcodor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdLPrgx75mwHr1vgS9y9+LR+jHuENg== Content-Language: ro DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marcodor.com; s=dkim; t=1495095352; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding; bh=4W5s6tQtOasagnXkyZbbgzxVCwYz7yf7qWyn5l7tDRI=; b=WSNYkCf9wEvJOPQ45lRSrQFwWo+TEfVP4I+QUEb0k98O8Jx/TxtTGZiah3YT4XMkGCrOg+ /fpQmTU3AvJhIn9jh6YjBDLizuWebfhJK1NXOfbrByCI+vfWHzagyklJVu+zOpyuPFaZ+w OzmSP0IadkPcQM3vWyZp47Al8QKKCZjkoLO/ey/lNnZ5Ckj05EypEkPfW7xk88PPQ5XEff 7SWHNn/cg3NVckPqeqSbJKuxtMEtWxifhFRpnjOEhvgtWCSrpqvfLLLWGY2Ecm5zt+eJXO ZS9Y7fyDYsdDtz7g0xYDNI4oFY+pFwZL0qb39XkCG5f6q5UHAYD/+c+V+zjALQ== Subject: Re: [RFC] deprecate PDO::PARAM_NULL From: dorin.marcoci@marcodor.com ("Dorin Marcoci") > I would agree that NULL is not a type and the constant shouldn't have > been there in the first place, but I think it could be a bit too late now. Raising an warning for first 1-2 years with later removal sounds OK. Also docs should be updated to mark this constant deprecated. Yes, null is a state, not a type. ->bindValue('Foo', PDO::PARAM_NULL) is awesome. So it should be deprecated and removed.