Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124845 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 8FFA91A00B7 for ; Sun, 11 Aug 2024 09:32:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723368827; bh=QnjkGEBvj9Gb75PswBbl5Fu3DduNZMGftTClc1RvDtQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mHN2A3xLG2S8TMYZYtVGBooXRZ5PJ6rR/jvvCAlFMxDJORlcl4qK+xkY6BQagFpCf O/ICZgNF74rYUPmY+02kU43kC1YAm2fASVlZMtLampCa3sFQPfCvIozatYw9PnDHEw XSoYGqaAYlN9W+3MULRtnDiOKRfDt8VqKuNL0bhUNiCQ+kRTH9o/UyGkUIdk47/+Fb RCHVRnZVtlYRZtO8aBj/8Ox/Hvvhv0rk1+Uc7m0vYjyr2kdcdpV7fqhKQwbKsly/f7 CLhypqneOeYfnqe+k2BO9dmZFgZnGBXwMt05inaTR4lbvNN8V4yITUUQHubWWAozRR /vnKOcgGSj48w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CD61D180052 for ; Sun, 11 Aug 2024 09:33:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 11 Aug 2024 09:33:43 +0000 (UTC) Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-52efa9500e0so3683065e87.3 for ; Sun, 11 Aug 2024 02:31:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723368717; x=1723973517; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=04eyAtGlSorROKko88XbcAKeCkrgx+lLRRqkT1eNsbc=; b=I3QNUzxZgMw97TA2tqurOisQ5YSJMlZ+D16+dKj5vhcWRkkn1uHIusaV5Y7QEIzFEI XJMes1vQ4YoTEk40ZJQFnio6neAvtw3CdZ/eyP8MC9q1Fapj8WGybumIQjukufSb8Nzu QZj9dUOyrVWmvVG126VrOTikhYhZSWP9PyPCaWuhelQUhOLTmDuCwgRNBUDH408zVUtV zRpg/rkki5EQWoU0PZP+ovFV+j80hK7nDMjFcsX1Tr49PPgkj7cfCt9sM1Tq0KzrmjJy fRpwFXqNm9ob8pfwPeitslQoOFT4YSO5K3ysuipu0wkmLffFMZ5P7stZzYXN+8AbFGzs oAAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723368717; x=1723973517; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=04eyAtGlSorROKko88XbcAKeCkrgx+lLRRqkT1eNsbc=; b=C0gfEET3BOIXSztc1/cHKW4XZ6j8OvsDZ+ltOg+G0BfQZKFHWVUKTQPfBP9OQSfXVd 9zNFQ8FejZOPvhD1O3ZlMQa5yNDZVVsgzWktL2tBNIuHTk/0MNbjVyUptx6K1ERgGPOD LTKyA64WmP1FcSdDPvoCZM7NVXcXzEugh+Dc1PtXXZSXteCfxcj2cxf3GC936+NuVp/+ NeAm79TqcXElHTo9VWQ1AESaqWxSPBwnCJAmS7UnYyrTnaDlOZDeDzNIkF8xh4OkSArT Fy0iDeJeBSFHxhw6lU0U0Mgt6c3I5aT0XTKlzJj0Y+Ft1O1Ha/ENmwaojr3Q55vkx0O4 iRtg== X-Gm-Message-State: AOJu0Yx3MP6EwnQBr7LpRjPW0qfwD/mERQ6UXzwaV505W1vyYjdbWDZn MvNfq0GNlbxjVDb5fE34/np9GOR9ZlxyclwyVSuQLx0XyaajawFS/1eO0xVttHybszaxbqTpPI4 YI1YcFPuN8TOJB64NHRSvSJwLnk8= X-Google-Smtp-Source: AGHT+IGaJlVIOYSYSmUUcg1qJ6S58kjFUMS/swam8ntJifjY26xEw9igKdXx9FItVtZNTbq4SjZnBu/1/z+MxmElSZw= X-Received: by 2002:a05:6512:3d16:b0:52e:9762:2ba4 with SMTP id 2adb3069b0e04-530ee9d0900mr4366770e87.25.1723368717045; Sun, 11 Aug 2024 02:31:57 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 11 Aug 2024 12:31:17 +0300 Message-ID: Subject: Re: [PHP-DEV] PDO_Firebird: use C++? To: "Christoph M. Becker" Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000003256a9061f650c03" From: maxsem.wiki@gmail.com (Max Semenik) --0000000000003256a9061f650c03 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Aug 10, 2024 at 4:15=E2=80=AFPM Christoph M. Becker wrote: > So what do you think? Should we use C++ to access the new APIs, or > stick with C (and include the required declarations in PDO_Firebird)? > There's at least one another extension that requires C++ - intl. And it's a much more used one compared to FB. So I think the language itself is fine, at least as long as it's used only to interface with a third-party C++ library. --=20 Best regards, Max Semenik --0000000000003256a9061f650c03 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Aug 10, 2024 at 4:15=E2=80=AFPM C= hristoph M. Becker <cmbecker69@gmx.= de> wrote:
So what do you think?=C2=A0 Should we use C++ = to access the new APIs, or
stick with C (and include the required declarations in PDO_Firebird)?

There's at least one another extension t= hat requires C++ - intl. And it's a much more used one compared to FB. = So I think the language itself is fine, at least as long as it's used o= nly to interface with a third-party C++ library.


--
Best regards,<= br> Max Semenik
--0000000000003256a9061f650c03--