Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123166 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 E76D21A009C for ; Sun, 21 Apr 2024 13:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1713704511; bh=ZJTGNyYOoxMjol8tbN3p6xSxFHtXRvLBZTt0L/fnilI=; h=From:Subject:Date:To:From; b=iCQ0N2/dgU3kI4SlrUDPfJjM1MPy/HUj0evWKIjz9KFbXyI4GbDphg4s6MxuIKCA1 Dzt2K7iJwCNy8ZD7sjNWWiN4EDbisEbf0XayZeQ+kgZBpPwgh2P14K1q/+gbcKmA8O mDm+vKGNJrbP8KFhBzPmdXZPUqYnr/eeTca75MsbS3tg3tCyM3PjnsPnC35hrCqHBF BQVvEfFnTGX05/ft+8CzrPTxAytlEp0boYB67+EDhS9uf4QeMJGYmm4thi43eBs/IO lJhjBLW2ouKbE2Hl1FSYN8AqYgvKr0LMILMXctP/1MNTCxDxAoq0TfrI8ADj1FC2aw XiMNN2/YP+CNg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9C0D118003E for ; Sun, 21 Apr 2024 13:01:49 +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,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 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 X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 21 Apr 2024 13:01:48 +0000 (UTC) Received: from smtpclient.apple (unknown [117.55.37.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id 7C6E7401DF for ; Sun, 21 Apr 2024 22:01:06 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1713704466; bh=ZJTGNyYOoxMjol8tbN3p6xSxFHtXRvLBZTt0L/fnilI=; h=From:Subject:Date:To:From; b=AilPzPvwpwoIPv2Akvvjtlg7iQO2SGRB7JF7D7vdxSzDZvv3C7garawpJfl1OA+sP X1kpJCesA+g0MTPUvXNF7SVNYii/xxPgURW+IvFGUeJWQMY4olHiQ2aCjWCE5spJBf w6z8Hj4CxVRgVHNQkIUBrnGKeE8cX7OytthrYwTk= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: [PHP-DEV] PDO subclass names Message-ID: <6923C7CF-9168-433C-B2B3-9069F1A766B8@sakiot.com> Date: Sun, 21 Apr 2024 22:00:54 +0900 To: php internals X-Mailer: Apple Mail (2.3731.700.6.1.1) From: saki@sakiot.com (Saki Takamachi) Hi internals, Recently I've been working on an RFC regarding object support for = BCMath. While working on that, I learned of the following RFC: https://wiki.php.net/rfc/namespaces_in_bundled_extensions If we follow this RFC, is it reasonable to place subclasses of PDO under = the namespace "PDO=E2=80=9D?=20 e.g. ``` PdoMysql =3D> PDO\Mysql PdoPgsql =3D> PDO\Pgsql PdoSqlite =3D> PDO\Sqlite PdoOdbc =3D> PDO\Odbc PdoDblib =3D> PDO\Dblib PdoFirebird =3D> PDO\Firebird ``` We'll probably get a BC Break if try to fix this after 8.4 is released, = so before it's released is last chance to fix this safely.=20 If Tim's RFC under discussion is passed, the namespace will be "Pdo" = instead of "PDO=E2=80=9D. https://wiki.php.net/rfc/class-naming-acronyms I would appreciate hearing your opinions. Regards, Saki=