Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114867 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 66203 invoked from network); 14 Jun 2021 15:46:02 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Jun 2021 15:46:02 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 203401804D1 for ; Mon, 14 Jun 2021 09:02:17 -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-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) (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 ; Mon, 14 Jun 2021 09:02:16 -0700 (PDT) Received: by mail-oi1-f170.google.com with SMTP id t140so14875555oih.0 for ; Mon, 14 Jun 2021 09:02:16 -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=giMbMjUTso2gvdpxF+q53LAkDyE4WiiKT9Nv7/2/r8E=; b=Y2xrtLZiGa+Uti55jLN/9eI+IdCkRBWQXva4OR4nzM+w+45CgzpzWweybQKrkEu12Y 5iYioIEi1OcKHoU2p1V6u5RXV0sbEZ4g0nIfKjQ/+CFtLVU9U+FnAcuMooICn/x/NdHy SdNXa4cTpvC15hIu4tKOjnaBX+1zP3prGhWnyfdmlFlJdV3oJxHfHBny/SXHRD/rtg4w mGoaz+cnSrK3sbj9oYEsjGrP62VWpHlNSMh9jyX/YTVnQsPTbgYYxsmYVOQ1yPxaAnh6 bnw+Yfgif9CGzJU14AbAEkbs+RveqhVgNBwlFwCQSdywJYy5GU27Z6XYa9EmSfI1Vc61 Y13Q== 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=giMbMjUTso2gvdpxF+q53LAkDyE4WiiKT9Nv7/2/r8E=; b=O6BDNchdytu/HzPDleuq45pUAudIZOhPB9E1Xmsy4FYfIUwIG6+617rZd9bNk/PZKV Oz+o45w0myrIEwRdmaxVylu3NSksJKAFbWN/g58EvjI73enDz83Nty9iAQja54O1ZEWz fSEg54k4HkD6GetaSVzTYgYXeL7qy//lZR7c0QPlU0c5N8C7VA4mq1lkeXIxfbF/71zp 5tqi8ULVRZT6deRqt+6hXlpNA8xqtfRWLjFjSKCaOsLz2ycOLhucXOnYYQI9iqZBOveP t3Nc11Jtu6JEwNy9J5ecTS1xavYLTz7sWkskifBCm6mwgCWq1ttoql5Jcsq+9s5Bj6nq 25mg== X-Gm-Message-State: AOAM533Wu7fYC8GTPLwKtV/0lsNtTMCgUdAK+tCgI8qWnwHy4tiUGV6f LK1XixaB5tjvsN+AdFKzh3A8wjXmJq+wsJ6fdz8= X-Google-Smtp-Source: ABdhPJyGOMvKORcfMzCafs8CqzO+eWhojkQkoI/gaxcfle1SXCEIiHoRbEDubzcCg6mnQuHwK0PB7qY6zXcORDupOMw= X-Received: by 2002:aca:5dc6:: with SMTP id r189mr22596165oib.164.1623686534482; Mon, 14 Jun 2021 09:02:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 14 Jun 2021 18:02:03 +0200 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000001d4e6b05c4bbfb4f" Subject: Re: [PHP-DEV] Allow objects in define() From: ocramius@gmail.com (Marco Pivetta) --0000000000001d4e6b05c4bbfb4f Content-Type: text/plain; charset="UTF-8" On Mon, Jun 14, 2021 at 5:02 PM Nikita Popov wrote: > In the future, we're going to switch these resources to be objects, so > allowing them in constants would be necessary at that point at least. > Actually, we already encountered this as a BC issue when switching some > other resource types to objects. > Makes perfect sense, thanks! Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --0000000000001d4e6b05c4bbfb4f--