Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127312 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 D10411A00BC for ; Wed, 7 May 2025 20:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1746648333; bh=mo0+Ep957H1QJJQk8YuaMVD7/zcY3nxeyJsAa0IkXe0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=BiZUZdwdXmLW4ue7vGMlv6XNJZKrY2pSZIt+tpy+upxDg8r0EwgN8jvEe+8OYjdhu 0mf4nVDP4Ao1sV5ZOiWOv/ey6tsGB4KNDrcdz4jE2knuJ70iAgSDBYZRYnBYdM8bBy tdfId1jSYPoowZGaFkIiCm2gNHYx/KaZYNW2/dc1x9M7BjDVFvkmPB/OsOkqwiFx3V fiBIKFA2Zp14ROwbJ3AQgxSK8hKOvB0kV7J7rruVsYhQ6d+qG73TgmbgnvbNNV6rRA 1MsVbvmL1oxtNpfsqn9VFI2Vwb9tQMLgSHGNEe9KIs0qlsagDEPQZIITe/SAyCVF0f bb3puBeF7gFMg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2194918007D for ; Wed, 7 May 2025 20:05:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) 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, 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: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 ; Wed, 7 May 2025 20:05:32 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3a0b933f214so160927f8f.0 for ; Wed, 07 May 2025 13:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746648465; x=1747253265; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=rSbG6U7/xPSvMlEGQ3h5FPZf9zqXyxj6GIGdWgxePdM=; b=baVPwtOigD610fkstc3alpvOTxl1wIzq31VSwzlrnV1XiPs4jI+igTvVr4guUyfg6K q1r6luSj/SgeeuM2kI+46AzJoolMWdAPxiWpW3KDyOTMsS+VPp8TmGkskotjZVYWvwI2 lXQzQjftGfMBQSbMK+A+a4zInXjHn2toJOBp1F5lMO4DYJRBN83hZ3crCobElVk85Huw qc9dllCvRA0axfWlNjolEZjtF0n+8UT6zyC9nSVeMnJ4gITvCAEUUoooLjRsLo5sw3M9 SDMNnO1mkh9G6LkT/3ClxwIuxBs3cZ53h/rO0Bx3idQZkJ9W8O6LKYQP99X0xbYGMdR6 /QJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746648465; x=1747253265; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rSbG6U7/xPSvMlEGQ3h5FPZf9zqXyxj6GIGdWgxePdM=; b=CpIy8YPZWe5MFsRglht1iwZzDPl/Hk2C3Tn2Mn/7uNjPawE3Vhyth5GtUXGAu+nS/Y 5FDy+FWLl1KbxQTu7/dKwjgw6HgUVP3IRENi3/ZcRCEZ22WPaxTmIC75xhK19sQL1Wfm /9Wcko53t+XLc532bsxBsIiFRo+igiX6onHJFI7nwuF280j1UFsLQ87ZUthQGUxCERxb u0GfmX5s+vqZSSG3dA2YMTqCLUZhOK2C8ZAt+sQZsmlqwjY/wpqPgNd22YvEt9k7o/wt bQPSXl6lPeu93E2uE6oglKQr9LP6cDyhAQFTJkABQQijF/AhocrlEBv++9UAl3j6/uDO a9Kw== X-Gm-Message-State: AOJu0YxsFlclfBABJ3dLnoCJsR0dmM5Hmeu4tTuvqRYnA2fxokNp+vRu f3IlTUDiRO0WYxur9ojDD7gE3DKOstNIcod/lZBX1Y6FCR8GkM49 X-Gm-Gg: ASbGnctE2it/BSoY8b8uE4hCoKTnWvSykBayp5XzJaD8b5SEmHT5kDd1Y02kWg0Cbjr iUIOV75QeCCFNoEeix1vpv7xHw8V9vqXKnLoyvn823ETdVFVM2BCt2+/+jEECO2c1SfirTwWoi/ h/+iiMT3A4wMySBOUkdPhthlodD3Ipbpj9Q40C9+0cEHnCZ/kCp7niDgZNpU8tRIWs7Lj2bhFMB L+knaPEg7kJcUSJjUc+tzsfB+Qn0UBNjX+FsoG4lerPYhy+GX116+uwe1+W5PP9q0654Ur4/92k L/O0ux0YCpjbhC2zecK/Mmxi7VjTl8JcphZE3sZK+kB/ch1ALdosvh0gDxFsmdCjqXWA3hKw7E4 /mXcwafeURw== X-Google-Smtp-Source: AGHT+IE/Bzf5LA4XZyyoJbcP0eTGu9bPC6meiRsMUz8YVio4G8OnFg3xRtC8N/3ZGY94VF+A+y10mg== X-Received: by 2002:a05:6000:2403:b0:391:4743:6dc2 with SMTP id ffacd0b85a97d-3a0b49b9e12mr3611861f8f.25.1746648465346; Wed, 07 May 2025 13:07:45 -0700 (PDT) Received: from [192.168.0.241] (178-119-85-231.access.telenet.be. [178.119.85.231]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a099b0fe9dsm17878525f8f.71.2025.05.07.13.07.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 May 2025 13:07:45 -0700 (PDT) Message-ID: Date: Wed, 7 May 2025 22:07:44 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Initial discussion - more deprecation options To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: internals@lists.php.net References: <5eebf119-aeff-4d1e-8f84-0e91f7c89bb4@gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: dossche.niels@gmail.com (Niels Dossche) On 07/05/2025 22:02, Tim Düsterhus wrote: > Hi > > Am 2025-05-07 21:43, schrieb Niels Dossche: >> Definitely NAK on deprecating properties, which has the potential of adding lots of overhead. > > FWIW: Deprecating properties is already possibly by means of deprecating a property hook. I guess this is an acceptable workaround to not require a dedicated support + associated complexity. > Sure, since that goes via method logic, and hooks should be rare (by design), I don't have a problem with the fact that's possible. It's a reasonable workaround that you can already use today indeed. Kind regards Niels