Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99098 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21816 invoked from network); 18 May 2017 09:41:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2017 09:41:13 -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:55107] helo=mail.marcodor.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/3E-21791-83C6D195 for ; Thu, 18 May 2017 05:41:12 -0400 Received: from DESKTOP9R8I199 (host-static-93-115-138-66.moldtelecom.md [93.115.138.66]) by mail.marcodor.com (Postfix) with ESMTPSA id 9C33C6C475E; Thu, 18 May 2017 12:41:08 +0300 (EEST) To: "'Matteo Beccati'" , References: <002801d2cd97$63921700$2ab64500$@marcodor.com> <000901d2cfad$a0349c60$e09dd520$@marcodor.com> <742d91b6-1435-ca97-16dc-9e54295dfcbd@beccati.com> In-Reply-To: <742d91b6-1435-ca97-16dc-9e54295dfcbd@beccati.com> Date: Thu, 18 May 2017 12:41:09 +0300 Organization: Marcodor Message-ID: <000a01d2cfba$e13db4f0$a3b91ed0$@marcodor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGmIHpy4RzO8NFDYRluODon0aGvPAIf47PzAbsLT60CjAeLE6If+8yA Content-Language: ro DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marcodor.com; s=dkim; t=1495100469; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=oFNqeKV4AxaK4aCTgYahsDaDNkbg5GXuwYp/vuFtoZ0=; b=gUhJUxqFGkb9ap57lILZkbG6bSLkRc79J4m0n45fp1qSCaXzoLdVgZWlVFWXiiU0K5zcgx mcknM94PCRgR4YTxn3fvPNYhsz77kE/May56pEr4HOtCBAJTNMJAkxteLZ/X2U9taJSoSb 9zALLX19o+8qUPkgPfED8/uzYJZnbdV7Mmzhj2d9lEZazJJ/Gc4YPw5kg9KjyYG/Jt3FHm kjecHC2aC+pLTKicI9+1rWl6TEXMsJy49YbYANX7hy0AJBKT9GOZjiorwnxftRugJozq3Y 0glOKXkOxRP2erHG5Yq+9uvzBAIzAjmPEzFXkF4wBginQUkIrpZt6agQRfcl1A== Subject: RE: [PHP-DEV] PDO Parameter types // PDO::PARAM_AUTO From: dorin.marcoci@marcodor.com ("Dorin Marcoci") >>! When a bool ZVAL variable is converted to a string ZVAL. >> Your example is irrelevant. >Ok, I think I got it. But the example shows that the pgsql driver is = working, so maybe you could have a look at how it works. >e.g. >https://github.com/php/php-src/blob/master/ext/pdo_pgsql/pgsql_statement= .c#L382 Yup, it is working, I didn=E2=80=99t said it does not work. I meant the case when a bool is passed as string, like = bindValue('boolparam', false); Here it comes as an empty string, not "0", while true comes as "1".