Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105811 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 17954 invoked from network); 31 May 2019 17:23:29 -0000 Received: from unknown (HELO mail-lj1-f173.google.com) (209.85.208.173) by pb1.pair.com with SMTP; 31 May 2019 17:23:29 -0000 Received: by mail-lj1-f173.google.com with SMTP id o13so9836949lji.5 for ; Fri, 31 May 2019 07:33:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4hbClw83Mh2QLB4OvWBPN5v6nBG9EPYf8zvH0INQSC0=; b=jWHS+7FXzqvUMczXluGKaUspKSHg0EJGwUpW+7wyKkdaiP77ONsQ8sTYzlTrk29LeS 9XWNpXRVn5OP+1Y4+pnOf77vbDnVRlPHNgwslohKCTopjUfoKIIQAx3Y5UeAfotY/NlZ 8JlA122iij856lQJXTy9j2X/QLZEB14uUhTIHHwVW3OnjaKrNscngHIAtE9kron1dGnL wq2s/G+bR7lCveLmGIKMg0mO07wQfrqzDG6cC6axfrChUIkfEmTw3aWwR61BcFgq5q4Q C7kBcYrXuAJLFGkx7S2UDmkr3FsTSXk/aRs4jJQiWnRH0CotYh6NQq80BNR7erSvPRwk 9vWQ== X-Gm-Message-State: APjAAAVEs0iQzUH6ElPXZjrLDxEzupvkNDq7v3A9Nk8Y47FbNhG5BTvN F7w/CLXuyOvTl+BYLciBPQu3Np9knvB4CvKliDM8q8JtAaM= X-Google-Smtp-Source: APXvYqxRgc0+vlDscQmAwzlvU/SozFK8W5uhzsZSrhwFvUxbrzSDyW2ANWUmMcBjiDwI3UazVxtnC9k4sbTrdN2mvRk= X-Received: by 2002:a2e:88ce:: with SMTP id a14mr6195108ljk.122.1559313203442; Fri, 31 May 2019 07:33:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 31 May 2019 08:33:07 -0600 Message-ID: To: Matteo Beccati Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Escape PDO "?" parameter placeholder From: levim@php.net (Levi Morrison) On Fri, May 31, 2019 at 5:27 AM Matteo Beccati wrote: > > Hi everyone, > > following some recent unrest in the comments of the related PR, I've > decided to invest a bit of time on it and finally move it to draft status: > > https://wiki.php.net/rfc/pdo_escape_placeholders > > The PR is currently closed, but I will soon rebase and update it. > > Any feedback kindly accepted! > > > Cheers > -- > Matteo Beccati > > Development & Consulting - http://www.beccati.com/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php 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. As this proposal affects syntax I think such changes are unwise.