Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114976 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 43139 invoked from network); 19 Jun 2021 18:01:16 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Jun 2021 18:01:16 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3EF0A1804C0 for ; Sat, 19 Jun 2021 11:18:49 -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.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) (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 11:18:48 -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 forward102j.mail.yandex.net (Yandex) with ESMTP id A711FF207F4 for ; Sat, 19 Jun 2021 21:18:44 +0300 (MSK) Received: from iva4-b3ebd202b141.qloud-c.yandex.net (iva4-b3ebd202b141.qloud-c.yandex.net [2a02:6b8:c0c:4e8e:0:640:b3eb:d202]) by iva8-82124814dfe8.qloud-c.yandex.net (mxback/Yandex) with ESMTP id WXDlLEUoQf-IiHmBsQU; Sat, 19 Jun 2021 21:18:44 +0300 Authentication-Results: iva8-82124814dfe8.qloud-c.yandex.net; dkim=pass Received: by iva4-b3ebd202b141.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id iU5zSz6Ooo-Ii28nXbQ; Sat, 19 Jun 2021 21:18:44 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received: by mail-wr1-f49.google.com with SMTP id o3so14603248wri.8 for ; Sat, 19 Jun 2021 11:18:43 -0700 (PDT) X-Gm-Message-State: AOAM531jIdb2Cxqa9zeJFyhO01SD6Y9RNRw/G/4js2FnDzfsreD56awx 6tKnv9NxrN9o7Y6ctaimxZbFBlv2FCj7khF+1n0= X-Google-Smtp-Source: ABdhPJxLJ8qYQKMDKR7Azaaf0arRSMJVlaqovXR5Nqv6HJwy64x9avJhLdnVDaPvy5xzS7XoUpdh3EOhMwexXAhRHUU= X-Received: by 2002:adf:e3cf:: with SMTP id k15mr18695386wrm.403.1624126723298; Sat, 19 Jun 2021 11:18:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 19 Jun 2021 11:18:32 -0700 X-Gmail-Original-Message-ID: Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000069990705c5227866" Subject: Re: [PHP-DEV] Changes in pdo_sqlite and var_dump in PHP 8.1 From: morozov@tut.by (Sergei Morozov) --00000000000069990705c5227866 Content-Type: text/plain; charset="UTF-8" Perfect. Thanks, Nikita! On Sat, Jun 19, 2021 at 11:04 AM Nikita Popov wrote: > On Sat, Jun 19, 2021 at 7:32 PM Sergei Morozov wrote: > >> 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? >> > > Please refer to the UPGRADING file for a list of significant changes in a > release: > > > https://github.com/php/php-src/blob/578b67da49af51b2f796a48782e51ceb62860943/UPGRADING#L123-L126 > > https://github.com/php/php-src/blob/578b67da49af51b2f796a48782e51ceb62860943/UPGRADING#L334-L341 > > Regards, > Nikita > -- Sergei Morozov --00000000000069990705c5227866--