Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114975 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 41190 invoked from network); 19 Jun 2021 17:47:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Jun 2021 17:47:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7F1791804C3 for ; Sat, 19 Jun 2021 11:04:56 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,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 mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 19 Jun 2021 11:04:56 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id t17so2306068lfq.0 for ; Sat, 19 Jun 2021 11:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u0Iat1O6mXjnwV+N2WapcOPcP0PPgsWcmIk3o71P7CE=; b=E/VGuqnTyqyFAti3kI26Bewfza6DS5HdILzXWyvRvOgggh758oDkQoN5UDqkNp3GRK DZJgMQMjJKvSyBfqQ/DKCUUdOoBeI3hcyDczwWREGtSCvShd7uVemWpO8OXeVKU6y7f/ sbeyOYFz/RKMtr83k1WxvrxEtTTAjgyO4DaxPyUl0zkN/4Mcsk+CtHWutm74EJV3atVD Otx9GEGh6fil3ucu3V0SdKmxiveim0uE7Bu49mRBaRW5jDy/HUuPx1g1FLRE46gcgUMi BMYgzD08Z51bVAPGFbXL4QAPQFMwfXmCQhkB1m/zJiHXaxybRw7Vt5xy6RSluFCVThJ4 aOGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u0Iat1O6mXjnwV+N2WapcOPcP0PPgsWcmIk3o71P7CE=; b=TZK8NTfsSXj1Ajfzh1nO8NTj24WC4qcZKsZpQV/0kYDoqLBa77c4lHK8wBtIyBoMFu TFEVKnGpee9h1kIE8Xct9rO9PHpgX8Z36jmoAe6sUZ319HnlTaDWK5oslBTxGT260ZkW eb21Ma7P7t3UH7ZLJb8fA65LPyzxZp/rjnphJUmutGqmjSm0bIfdO6ifHt2XAd+4p9Kk cFyYhjFWDttAh3o6YqL6uNqmblLL0sQnv4GyugfMmesfHgj4f2uKPJiRQ1nZjtjZeUix icFj1tawMfO5SwzVpV30afpNkq3f0S0vRBU6yuzXpR2DyXvx7C6repndOpjTr7dDv/5r WdOw== X-Gm-Message-State: AOAM532+FTfy90UyyKJWfS7cphsWUeJhn+xSSrXVlkdTTR9lG+2Vmnry oNQ9CNJYyEU51RZRyxFFfPbyrbvmmts6WvzNj0Y= X-Google-Smtp-Source: ABdhPJzVhE479xB0QLg6FUYyD25OZIlhncBQTV7dYQyP6J/hJaR2aE01pw4+mIKNiPMk9REDUqHsOzB2zzwDwq2ePXU= X-Received: by 2002:ac2:4250:: with SMTP id m16mr7776964lfl.485.1624125891034; Sat, 19 Jun 2021 11:04:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 19 Jun 2021 20:04:34 +0200 Message-ID: To: Sergei Morozov Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000ce41b705c522462f" Subject: Re: [PHP-DEV] Changes in pdo_sqlite and var_dump in PHP 8.1 From: nikita.ppv@gmail.com (Nikita Popov) --000000000000ce41b705c522462f Content-Type: text/plain; charset="UTF-8" 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 --000000000000ce41b705c522462f--