Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105812 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 25495 invoked from network); 31 May 2019 17:44:23 -0000 Received: from unknown (HELO box.beccati.com) (176.9.123.236) by pb1.pair.com with SMTP; 31 May 2019 17:44:23 -0000 Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id AE2C5200324; Fri, 31 May 2019 16:54:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1559314457; bh=z9Da72qy1lllZ3k8WMCnlaR2l4JhIY28hjPQbNs5FT0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=eSBPe3IZrT12Y4icSKZPJq+OlChOPHTOERdb/RMoLXyZ653s3RMOx1icmKKVPiElZ dmKy40tHyo+JQKnYR+vDZ+kxOHYvecuqMOiXBnmymetkR5MUwnMJm/hKj4axv3p0MQ 3zCrg/ambq1OE+gPFHGM9+dTpgu/2SvpenW9apJLVsDizOay0bV44WdO2ggWWP8brt oSVH0e3V3+je8d4UXSbv+LBZG5LyvQyLEXlFJmhJlY8tJthdz1iXHUePnMJD/uNhGv pcz++tIEzaqCdwjAN6PLQCRZ564Z14H+IYT1PoGnUxKsbDQ4DyLRgUOjHmUxk5oa2f +jn2SYReZCQ2Q== To: Levi Morrison Cc: PHP internals References: Message-ID: Date: Fri, 31 May 2019 16:54:14 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Escape PDO "?" parameter placeholder From: php@beccati.com (Matteo Beccati) On 31/05/2019 16:33, Levi Morrison wrote: > My initial thought is that unless 2 or more database vendors we > support have this feature then it shouldn't get added. From our > manual: > >> The PHP Data Objects (PDO) extension defines a lightweight, consistent >> interface for accessing databases in PHP. Each database driver that >> implements the PDO interface can expose database-specific features >> as regular extension functions. The point is that the driver cannot expose anything in this case as the parser is global. > As this proposal affects syntax I think such changes are unwise. Could you please elaborate? Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/