Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128276 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 1F2D51A00BC for ; Mon, 28 Jul 2025 17:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753724934; bh=dJMIvMOBwDKjTURWfXsptzEYYIqxN+iBeVuXvo1eiSQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VNgNl5p5F77dqARvB4l6VGnwn4wE06QsUnF29zSwXX4PX0DGOpsTtoslR3PTthM3J JRXQOsKI5TumYAiXx5l+agzUYzEM+AdqNz32g1+G3DtctIiWFiO66qldNZR6Wo5Rif WkLHe5JZuZdiGK/7BZpWzhWXNAECVfoPxNOYFj53Hzm2XcLuAGIpt8QZ59V6bUX2Pd xEnoDR152DjA7pjKXwmyvaNtT2FIovzzryX9ApdHTIKeLDwENdUleYOH08wHQ6rLJ9 zkmZ+iNJ0MuakeDdmRiiwcSbLQtbd/fmr8y2dTAOdWGRfSFXXHL6z2HSA0TL13iqpy h1I4rMeInNhZw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 33D0218005D for ; Mon, 28 Jul 2025 17:48:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (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 ; Mon, 28 Jul 2025 17:48:53 +0000 (UTC) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-3138b2f0249so3722052a91.2 for ; Mon, 28 Jul 2025 10:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753725036; x=1754329836; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dJMIvMOBwDKjTURWfXsptzEYYIqxN+iBeVuXvo1eiSQ=; b=X36o53OE+XOYMjs7IMKbJLStR22iZgL75Q1hgdY/x+MeId5qSjmkZbjpaoJFb/J20n NzS2Yv4Pw8zEUhrMX2qG/4A0zlo4QlRK5OQX6AHBpLe8VtbYdAkDQI4pmkcH2j6SD+iP pKvkK3WmJmVoNg6eyuhbkRykxeI2hC3n4tm7DsoPUJ1En4rHJEZt4WqMC7lTMo270TTW iPJgv4CPmZ4MTUA/f3TI7wD4Spj1IcM3eXkw22fuY+p4JaW4i1278PfXS4efSqfJXVCM Zp+u8obz75LA9qsmJ//sH8ymvK6h3XiMAFzZknZc0m6ikgMoPNIHe1HFeHEa2k0RSqjE 3FjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753725036; x=1754329836; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dJMIvMOBwDKjTURWfXsptzEYYIqxN+iBeVuXvo1eiSQ=; b=hD8Lcoci2z4vEOLoOR8JKS8SVmLiNMZg4oxwlht/Uh2hI8yaxK4X93jkul2h7NEVkJ JQUTf3e1lHS8tAQLYD0OQo/YfSZF5HtekCKuMBU82WT7T/NrKsGcnXj10C6AWS23coeF c9APvwr/2+7e4dBlXr+yLBSqLxg6V1q3rHr81WwTFTf7t6dV4lsByIzCojgglBVfaPIb ZDmpzQSO+iQOOP4OOv3SxQHuqus63Gio4tDSVWQL2AKsCBPQBTKo24FmFDspZaBHjsOE DnW9BmYwBmefwbZrVCwzGQjiUXKLEgb8dWJkuj771IQqzO+oELo5wK8pFBPAdjhZ6fyA 6jYg== X-Gm-Message-State: AOJu0YwitP/UzlPbSyRYqBAzXtQxbzrg7wansO8p9ndTadI5uVT2ZpyI zqtRx54QqFr5a81R4JJ00Olh8lOCwJLPQSYuvUYsrHLegMsCHN5N5B3Yma0l8IWOs1l+D0l8KNn /ySJiBAc16+t6RWTPnf77ds8ib309IFyjhPqb X-Gm-Gg: ASbGnctJWzFgca1Jehy7xBq3r4HPRPkhbdoUYUp0HsgScUIwmzWontwIOEFk8GhRRnc uPVzLRqarCWyLIv/NN3p7S1e3uqN3bjg08IRbHLExlXdZcMyG/luBVpqy/Tqvzc8p317vEE+uHF sY2RhCjMDzxtvHIBvuxQS6y8dPxZ4nsn0nYPymMEf64borFkpsBDFmo461pdAsKEmCLQcCubHL2 OQM0eFX9uII2vhDh9Y= X-Google-Smtp-Source: AGHT+IHESX3kCN5qmegSh/oftj328/4KD1+FiPV+LshQefWkZ2C/S/iZzEEQc18kTMysOJ0x9nXUkNzM6Ru5b0Uhahs= X-Received: by 2002:a17:90b:35cb:b0:311:ed2:b758 with SMTP id 98e67ed59e1d1-31e77a18514mr15762271a91.3.1753725036022; Mon, 28 Jul 2025 10:50:36 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <7d83b833-6432-4a86-8e11-b4199fa92430@app.fastmail.com> In-Reply-To: <7d83b833-6432-4a86-8e11-b4199fa92430@app.fastmail.com> Date: Mon, 28 Jul 2025 20:50:23 +0300 X-Gm-Features: Ac12FXwfB5bmqHZsRU6tMCM_pZ7iNn2r7bikHdRsbgCWWQ48HRVt0Jx6YnW3QHk Message-ID: Subject: Re: [PHP-DEV] [DISCUSSION] User-land Throwable To: Rob Landers Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000ce5226063b00edf3" From: xepozzd@gmail.com (Dmitry Derepko) --000000000000ce5226063b00edf3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 28, 2025 at 3:26=E2=80=AFPM Rob Landers wro= te: > > Wouldn=E2=80=99t a better approach be to allow serializing/deserializing > exceptions? > > =E2=80=94 Rob > It would look like another workaround to my case. Same as deserializing data into a class to write into a private property. The simpler the better: just allow users to set their own trace. Or not set it at all. --=20 Best regards, Dmitrii Derepko. @xepozz --000000000000ce5226063b00edf3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Mon, Jul 28, 202= 5 at 3:26=E2=80=AFPM Rob Landers <rob@bottled.codes> wrote:

Woul= dn=E2=80=99t a better approach be to allow serializing/deserializing except= ions?

=E2= =80=94 Rob

= It would look like another workaround to my case. Same as deserializing dat= a into a class to write into a private property.
The simpler the= =C2=A0better: just allow users to set their own trace. Or not set it at all= .

--
=
Best regards,
<= div dir=3D"ltr">
Dmitrii Derepko.
@xepozz<= /div>
--000000000000ce5226063b00edf3--