Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105695 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 1027 invoked from network); 14 May 2019 13:38:51 -0000 Received: from unknown (HELO mail-lf1-f50.google.com) (209.85.167.50) by pb1.pair.com with SMTP; 14 May 2019 13:38:51 -0000 Received: by mail-lf1-f50.google.com with SMTP id f1so11476730lfl.6 for ; Tue, 14 May 2019 03:44:28 -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=bqHi6pfc7ZoBP44bgdFSOsZcOtP/vwtJxdVmd+ElrZs=; b=aPvd2C2LvO2hV5kh1APLV0jQsSmI12FZ1PjqWZzsZbL94KqX6YpmKUl5msOyJW5m4h 6JYYVDpepN+oBE7GbK2g8Pj2dR0r8CGCRnOT5D01MxuLrjfeEbHw6tuLkReaURrYDMjy BNRwyc9nyaA4/qyz9/MRZM1Q6Z40Su2gul5j5J9g2SJHT66OzyyCQ54H4/wofnXukZcP s2Kcpi2e0TRmM+ZBKHvZryyYQzgGe3Nqfcbwzhy0UWOv3TUTZNhHkVQh0psKwHKpBhrW uAgSEP1b5HW7t2NXlWfF80XfWcJ4BsGrvov1EEvZpVqIfuR/ViUFWLVpg5ozwJzrRSVP v7fA== 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=bqHi6pfc7ZoBP44bgdFSOsZcOtP/vwtJxdVmd+ElrZs=; b=QiJFyBRklMemOeHh3dIiwj/CBQiW5I8o0V3fTl2Q1eRddL5UELqheSZOFqaG/SoY2t RgrA7QbjNykWDRQo+IhtZpj2FOhGPRbGi69P5FciwdQqS2Qm3nZS6nt1tCZMiF9hjEeV X6nwziAhm+DZfuGH5SHw3lwxBW1R5lzwNXp8Z86lmtwrVNKt8ZZvkOBNEw61oQ98ucSI n45p6Eegw6dv9r4IJ6hN04WBpBEavugMEGMnqyJI8+9+tZjpkC+68mGAyl5G8igDmS1P hzmqtjZ1K2qMnyWkLbwxNOxrqLwYYqbuNx73bhWDv350WbnYOJx4uyueZsT0krqhQhvs FTtg== X-Gm-Message-State: APjAAAVynIrRkeu0TxvLBBXZDEXkC5eIvCULGpvaz6FVANQN7zl3kX2S b+iVYI+Pvq/PdN+wpsgchVz1yL71gVcdSycNdSrFbFDx X-Google-Smtp-Source: APXvYqwLyEvlQvkIvp7TpOmTLPAemYZJ+8LyK4KOxEPvKdGOKvySmndiVHthaix3F0AySuc7++z7gBOD7vRe9vGCfwU= X-Received: by 2002:ac2:55b5:: with SMTP id y21mr16670644lfg.84.1557830667907; Tue, 14 May 2019 03:44:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 14 May 2019 12:44:11 +0200 Message-ID: To: Andreas Heigl Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000094b7900588d6b729" Subject: Re: [PHP-DEV] Re: [RFC] Allow throwing exceptions from __toString() From: nikita.ppv@gmail.com (Nikita Popov) --00000000000094b7900588d6b729 Content-Type: text/plain; charset="UTF-8" On Mon, May 13, 2019 at 5:08 PM Andreas Heigl wrote: > Hey Nikita, hey all > > Am 13.05.19 um 16:05 schrieb Nikita Popov: > > On Tue, Apr 30, 2019 at 3:32 PM Nikita Popov > wrote: > > > >> Hi internals, > >> > >> I've already brought up this topic on list a couple of weeks ago... I've > >> now updated the implementation based on feedback at the time, and turned > >> this into a proper RFC: > >> > >> https://wiki.php.net/rfc/tostring_exceptions > >> > >> Regards, > >> Nikita > >> > > > > If there's no more comments here, I'd like to start voting on this RFC > > tomorrow. > > As the change is technically a BC-break (as you state in the RFC) I > wondered why the target is PHP7.4 and not 8. > > So far I didn't find a discussion on that but I might not have dug deep > enough. So if this has already been discussed then I'd really appreciate > a hint to the discussion. > The target is 7.4 because the BC break is minimal and largely theoretical. I think the main affected code will be Symfony's existing hack around the issue -- they'll have to disable the hack for PHP >= 7.4 and just use the native support. Nikita --00000000000094b7900588d6b729--