Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114974 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38105 invoked from network); 19 Jun 2021 17:14:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Jun 2021 17:14:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CADA71804C0 for ; Sat, 19 Jun 2021 10:32:08 -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=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 19 Jun 2021 10:32:07 -0700 (PDT) Received: from iva8-82124814dfe8.qloud-c.yandex.net (iva8-82124814dfe8.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:792d:0:640:8212:4814]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 9103E5980C18 for ; Sat, 19 Jun 2021 20:32:04 +0300 (MSK) Received: from iva8-a4a480c9f089.qloud-c.yandex.net (iva8-a4a480c9f089.qloud-c.yandex.net [2a02:6b8:c0c:da5:0:640:a4a4:80c9]) by iva8-82124814dfe8.qloud-c.yandex.net (mxback/Yandex) with ESMTP id ae4ZpKNkk2-W4HeE1sG; Sat, 19 Jun 2021 20:32:04 +0300 Authentication-Results: iva8-82124814dfe8.qloud-c.yandex.net; dkim=pass Received: by iva8-a4a480c9f089.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id wLatuxQLDk-W32auoXW; Sat, 19 Jun 2021 20:32:03 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by mail-wr1-f53.google.com with SMTP id d11so12128344wrm.0 for ; Sat, 19 Jun 2021 10:32:03 -0700 (PDT) X-Gm-Message-State: AOAM532VfAy6meIU5uCz8bvzWrlFYqmtHtMFiOuMwVrYRrY7P4saqZZc GWj7mb90Qk6aIRRvG4C5O66E3JhfDf7hT4n97y8= X-Google-Smtp-Source: ABdhPJyYPRfEPU/wvZunWuA5/ng/I+hEuEy2C+pafAYld3j4Ul4ClPoc2PGjuRUxGXViKuSTT9RYi6W5vsJtWP+GWGo= X-Received: by 2002:adf:e112:: with SMTP id t18mr18573660wrz.46.1624123923356; Sat, 19 Jun 2021 10:32:03 -0700 (PDT) MIME-Version: 1.0 Date: Sat, 19 Jun 2021 10:31:52 -0700 X-Gmail-Original-Message-ID: Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000085e17b05c521d1fa" Subject: Changes in pdo_sqlite and var_dump in PHP 8.1 From: morozov@tut.by (Sergei Morozov) --00000000000085e17b05c521d1fa Content-Type: text/plain; charset="UTF-8" Hi Internals, While trying to run Doctrine DBAL test suite on PHP 8.1, I noticed a few differences in PHP 8.1 behavior compared to the earlier versions: 1. pdo_sqlite returns integer and decimal columns as PHP integers and floats respectively instead of representing them as numeric strings. See https://3v4l.org/YDUfj. 2. var_dump() outputs the properties declared in a parent class before the class's own properties. Previously it was the other way around. See https://3v4l.org/EKEHN. I can't find anything related in the PHP 8.1 RFC list or by briefly looking at the code changes. Are these changes expected, and if so, what's their source? Thanks! -- Sergei Morozov --00000000000085e17b05c521d1fa--