Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122298 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 78728 invoked from network); 6 Feb 2024 15:29:10 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Feb 2024 15:29:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707233402; bh=fM1PRlUJDYNiMUXs+4OtJaqs88bLuAFtVLsqEXy66Eg=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=a2Krcq09Xl8zbRYuVLSiTgHOLHcU3vixGWz8q/PCz/Nezqte/Bnp3mF98t25t3ZoB Hs1vsr8pfa20N6cY0B+pfId87TJxukv6HKVgawOX4J0ALg6/AqcbVFKuJqtgLjtzu/ aIGfrSIHjH/RMoh0/UjdpTecYL/c57+ostpevxIrgd7JHgqk56UmPtmJpxM1W4i1pJ rxnENeHCZXRn3hw8FlEfXgDLK7MR9ySKiqHiVhEYqzZBD5pgYPmjFZvGF2Q9yTpXNW Pg0A+tfbWXe70GxOW045nX2Q45bVUK6tVd1zy6KlUucS+cTKEC1c8RSl91jaOU0Zal UmX0Wi4FtGyIg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 05C4618005F for ; Tue, 6 Feb 2024 07:30:02 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,BODY_8BITS, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 6 Feb 2024 07:30:01 -0800 (PST) Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3bfbccd5e89so2666271b6e.1 for ; Tue, 06 Feb 2024 07:29:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707233348; x=1707838148; darn=lists.php.net; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fM1PRlUJDYNiMUXs+4OtJaqs88bLuAFtVLsqEXy66Eg=; b=f831Iwa7CY4WrvmwKrmfbSidLGrrNiFtBsJdy/glM8CjDBCZQ0lBzumYWhf0GutbcI zoI0dhywYRN5f7hckGqBDu8XRDuUuCbswpF7A7buoY6TnHODIs+qyreNt4sN7Us+kNsx m43GypwKhZlDvjBPfi1gB4lubscVkrMlC0sEFI9s2SfgvygRmWOSC2YuhvX9VGXhobEd bZc9JeZn8N8T/k13wo2WD99L02lMgLkZ5hkayFBv692L3ZWGv/sCITYvG0H4F3XDZV+c uT9z7MLP2i16vD8nF7ePNP8R//n1167pAQjrFzmhsz7wmS7Jgrx/MqmRhp24rgXCEv8x oG0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707233348; x=1707838148; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fM1PRlUJDYNiMUXs+4OtJaqs88bLuAFtVLsqEXy66Eg=; b=nZyw1LOHomfLGo8lW7qB5czckk5Yhys+yOXH10pQjoO3NbQIBanVJanmXGTIxSeZmi xowwnnGhGAF1bhrQJDvE+vXbWBVfcwnWzPJOjtLBFyIi2qBs/wcbQcGsdj+Z+zlMSJ/i 83JHDMZZGRAGN3YBush5+lgZg7TPlP8qrX/MbcmZO740Sokp+DVPHy0VRuxwz7kMndtU Cn1sdMSZWL6cAGd/XP1b7th/QLzJlEIdQv7YPpUsidF/qvzs2E9M/p7jM1kB0hQmZ0k3 ioiHNLZer1cORStQCdivzxlEKOA/jMnp0g0GjUV6K5BOGiT4MTMw+TVfccN4eL7clai+ Ldfg== X-Gm-Message-State: AOJu0Yyx7komqgdq3QHU54jAXL2ibC9hRSyBlLyrxBiaeJqQJZnN+CU5 AKmNDznKxw0Cn3zpPamQh6WVOYhlFe3fF83SM/yjNx3XQPKTDqEO1x+9KWXSczK6r43/aQyk7pg FNIUjXmhd3b6oz7asSyrjTKlEB9ij6TO80Lk= X-Google-Smtp-Source: AGHT+IHZ25mmZAz2xAVZ+EpPH4JN/c4xVGXId9EG0Ap8N/Uo1wCIuoBMU6TnBumZU3y08c33aoBN2eIw29LIYmvqgNg= X-Received: by 2002:a25:aace:0:b0:dc6:c510:4484 with SMTP id t72-20020a25aace000000b00dc6c5104484mr1975659ybi.26.1707232993212; Tue, 06 Feb 2024 07:23:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: autaut03@gmail.com Date: Tue, 6 Feb 2024 17:23:01 +0200 Message-ID: To: =?UTF-8?B?0JPRgNC40LPQvtGA0LjQuSBTZW5pb3IgUEhQIC8g0KDQsNC30YDQsNCx0L7RgtGH0LjQuiBXZWI=?= <6562680@gmail.com> Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000001c00270610b828eb" Subject: Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301 From: autaut03@gmail.com (Alex Wells) --0000000000001c00270610b828eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 6, 2024 at 3:58=E2=80=AFPM =D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80= =D0=B8=D0=B9 Senior PHP / =D0=A0=D0=B0=D0=B7=D1=80=D0=B0=D0=B1=D0=BE=D1=82= =D1=87=D0=B8=D0=BA Web < 6562680@gmail.com> wrote: > - add non-breakable interface and language construct `raise` to "throw" > error without collecting trace > - that error could be any scalar or object, or you can implement new > interface for them, keeping that is nested and taggable array > - this `raise` could be catched same way as \Throwable allowing log it > anywhere you need or re-`raise` again > - `raise` statement won't start to collapse/break code, so it could be > skipped without affecting application > Is there an existing language that does that, having both exceptions and these silent raise statements? --0000000000001c00270610b828eb--