Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127794 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 E28CD1A00BC for ; Mon, 30 Jun 2025 07:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751269444; bh=wY5YCSRHqIwQUUQWX4lcxDt6c9qVr1QZ4+1ZV32DaJ0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oIYMnGzXkfExJgKvLQYEHHiNtcV0T4LT2PyxlyvyL+nKr+ujODgvyZLpdEcjqY3Zh 5uE0GnZ8rOi7wI6qIn4YEMFAh/ceFbAHc7MZHpi9GtApnO/PHvQPK5U2v01kb3RoD8 DyfXRYNTmD0Ko9vIZA2gRJ71mdTDRVU6YdK6EJWb/36Fwh8NN6HRX/9BLe4MC9at7t RGFZMblbY0JZy/SOOMRU+TSf3e9amW0dYSFWA7eljHx2gq/SXbC8VzQqluSA5aC6sq JMJIP8kD95wuxVVx1LQjw7qgjP6/EItiorahJgAGMU9k/+3ihBPY597WxmwUeFV69/ CKj02pYO/VkWg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3D9B3180765 for ; Mon, 30 Jun 2025 07:44:04 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,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 chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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, 30 Jun 2025 07:44:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1751269554; bh=vmOqvjbNCe/YuRWvmhJj+OziiwdPGwYeQNq6c3GFPro=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=cq4LI9lzBFTcQo/C7io55BC+/mk5SUqisepNlx57NXYElSXIvbUXr7IB8x9qNegrY elaQgJlXQfypsq5mqApigQYMKBv79UkgN0VQzbf6boSlGQDHVDIVbXDYwl535LMk3B K8JdJBrDCBz6YPbyqb+CH5v5420KzzVffgSBFdgW99dOiAZXz5LBqdwU7ossqE5OnP osS5oxuRCF1fqaOMD4AHQ7WnCgUKo2TxkRfRl80sVur2B9DwdMQi1ID2+UkBysZSne aCyb8USx/BxI7iazWR2O82j9OuS5FQM/agUstVeqXBN82ULJms9OLyspqN/nMZL7J5 TdFyE+/SBzqPg== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 30 Jun 2025 09:45:54 +0200 To: Larry Garfield Cc: php internals Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Object-oriented curl API v2 In-Reply-To: <22a4327d-b27d-4e24-b07a-ae380fe8a0c4@app.fastmail.com> References: <22a4327d-b27d-4e24-b07a-ae380fe8a0c4@app.fastmail.com> Message-ID: <53439a6f920e8bdf78ae251864871600@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-06-26 18:53, schrieb Larry Garfield: > 2. Please don't name the exception "Exception". It needs some slightly > more useful name, to avoid confusion in a file that also uses > \Exception. More specifically, since it does introduce an entirely new namespace it should be considered a “new extension” and must therefore follow the Exception policy outlined in: https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#throwables Best regards Tim Düsterhus