Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121577 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 64073 invoked from network); 4 Nov 2023 08:55:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Nov 2023 08:55:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CD5C21804B4 for ; Sat, 4 Nov 2023 01:55:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS9370 160.16.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 4 Nov 2023 01:55:58 -0700 (PDT) Received: from smtpclient.apple (softbank060067217005.bbtec.net [60.67.217.5]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id EE45D401EB; Sat, 4 Nov 2023 17:55:54 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1699088154; bh=6r4r+Svsw2H2QJ/zkb6niAjMQAeH3jivC5X7lqXgOl0=; h=Subject:From:In-Reply-To:Cc:Date:References:To:From; b=BiY0dGq7GIEz3tPDFCofQp3oKupzmxxM553tqk4zVhMXd5JSR/vdPVGpoK3aH4h7i qTXHYXPjn8FwvQTpHOttRstsIfBfy7ImWJtwNqM7irdk8OR++I7XdBHzt3qFvNiQWA ci76uPO5VTEp0nAGLam4SMFl/90qgi3aBPNAu+SE= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) In-Reply-To: Cc: PHP internals Date: Sat, 4 Nov 2023 17:55:42 +0900 Message-ID: References: To: Ayesh Karunaratne X-Mailer: iPhone Mail (21A360) Subject: Re: [PHP-DEV] Fix the inconsistent behavior of PDO::PARAM_XXX From: saki@sakiot.com (Saki Takamachi) Hi, Ayesh, I forgot to tell you one important thing. Binding of parameters is not actually done in the `bindXXXX`method, but in t= he `execute()` method. Therefore, when preparing a new method, a slightly la= rger mechanism is required to determine which method the parameter was set t= hrough. Regards. Saki