Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128058 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 C7DFA1A00BC for ; Tue, 15 Jul 2025 17:45:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752601424; bh=N6Xe+s9vP8/TNNr/ZyHANhmAKZEFucNciIL6HSD0l5o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Y59XkN4Hi4pWf9jb4hm3x91YOfI+FH4XkynU5XrkyUZUM0f+BE81cjdnQYKkqn419 n2ivTpGpl+kJ+OseU6QnFYdfVdlP9ss4yFKTqdhN2yyjuu4ZBC5hIoxwkY/+SA27BB /UyvD+TDxg9QK0e6MalFjgggEOHrgwpNvbXCidnottskZ1tFzmvgEDuFv1ptPLT3k/ mBUOdIj2cFpDGEkT80PJqeNIzxD97bqU/M02QJaKW4D428vs9y9fdzl8/7X7nD1d8M 4prgqgBNfv7bY0fy6meITrHrvaPi/bS64cK8BnF9v9svlgUwR6PcE5R4C44kOXkbFz bywFmtTrGHzBw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3939C180751 for ; Tue, 15 Jul 2025 17:43:44 +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.4 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_H2,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-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.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 ; Tue, 15 Jul 2025 17:43:43 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-558facbc19cso4554515e87.3 for ; Tue, 15 Jul 2025 10:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752601530; x=1753206330; 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=N6Xe+s9vP8/TNNr/ZyHANhmAKZEFucNciIL6HSD0l5o=; b=eWWv6RmQXlKD9/xADi14hKmbmlfRvB0+tw1CdKsvRiu74yEiAX8yU33sd8YoU/Vjm7 B2eH4kc39U1p8pXQXO8RcSOgCq8lMUdb0V+NUkT82XnEcxvK0ZJlFbPHG8hHxxHVhSo8 VjFB9nUORtCLhHUqJpNA0CDEMec0QB4I3epLJTMj7D2Z2XYhPyihnlXgUYKRxRAQSXwL /8WInsx7H0PyPcLe6FwJ8smpEJR5rlfGKj7tRrY42GZtuGznpp69ryBfHXejVBbKj3rm ARSCo1Lq/+Vwi6iRlfGAi2xUG6vgq2XBKi/tjqAQlhTcvLpvBXEnKcQGv0zpVzAHHS++ xYAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752601530; x=1753206330; 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=N6Xe+s9vP8/TNNr/ZyHANhmAKZEFucNciIL6HSD0l5o=; b=OdNCKYKHtAIYtfy9YC/xep+BgALPvR/aLI22J+hOi2MHHn6NRbIAtUfACu2m1KNJ9c 1bG0bbCV82TN7w28s4PZe8WWqAUvrBhn/Kx20z3mUC97DPdX5thbmw9qLe/Yf+BJyJeI QCCV68N13dxvu5UJPLHWDYgCBpcPAElchKPaCWR/XRkO+iy+L8RqHR04VGXLlqycnwK+ giVRquvTNXOsuopx+1xncb75u0iWGFK7FArowUB7OdvQchykaFDMIgSH/183Okk7dGqE KPJ+VCQ9OE/fO6iOb8Gon8aLoULKV54yKxf2S+y5w2TbrBZXsPTPXAXYa0d15ZjmvWaR kZdA== X-Forwarded-Encrypted: i=1; AJvYcCUdmV/DzcGwxZ05+2e9YDXuwLi7cY8VnsV2JsPLd5TbZcpWLaoFNAxNKiWdRfexS5SLpjGwg6JQQ+M=@lists.php.net X-Gm-Message-State: AOJu0YzAMcTL6vg9jJgKJWZs9iLQZo4hw3a3HG+/MblK3NlUb5NuU95B E1ZcEd2GAKU4xnfCb3fxUAjECG+EF3/VQ1V/ZnTbzZ6tz7q2DKs6OBT0tGn6mQIuFF36pnUVGVz 8A7aljofJU2wTxEMPm6ymTY7MrJOs4cE= X-Gm-Gg: ASbGncvr9aDpHcniQfXTujwx6kZvZPZ/U1k23D4BC3TIO6lazIEk7e2UM1UBrnB2MZG lfJ0G+xTcjfg0RJblaFVganzDVJ/pOqSaCJRjwVEaYdFiI4+kQkaWEY6VRRuE85OBpOci/Ep7km eGUoihDoDGx9BMKpJ/3U3XTZiuYBnUATnsYPl1gPR1twZqq+eZlFNJYc3xvzDfjmTrJvA+wcDBC KzU X-Google-Smtp-Source: AGHT+IFM7uv/9qaG4SFgOts1cg5HuyLvlh8xptIyEK0T3VRJYvSkLSk3wqEEsZQe60JnwtwfBvj1K0cLkQ3DBsvZP/c= X-Received: by 2002:ac2:5dc3:0:b0:553:2868:6358 with SMTP id 2adb3069b0e04-55a233e52acmr96030e87.35.1752601529887; Tue, 15 Jul 2025 10:45:29 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 15 Jul 2025 19:45:17 +0200 X-Gm-Features: Ac12FXy_5urwL5gyHLEE7x-uNa0fQPbq4JWe2iWs_d1vCi_Hk3K3rgw52vyPtPk Message-ID: Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 To: Jakub Zelenka Cc: "Gina P. Banyard" , PHP internals Content-Type: multipart/alternative; boundary="0000000000009f31800639fb57b2" From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --0000000000009f31800639fb57b2 Content-Type: text/plain; charset="UTF-8" > > > Deprecate the __sleep() and __wakeup() magic methods > > I'm not sure about this one. I don't think it's worth it. It's just an > unnecessary BC break IMHO. I would also consider more ext/standard thing > rather than language. > I agree with Jakub here, __sleep and __wakeup are just fine. Yes, __serialize/__unserialize are better, but breaking (or even planning to break) existing apps doesn't look worth the change. > > Deprecate the $http_response_header predefined variable > > I think it's too early for this. I would prefer to not deprecate it at > this time because alternative is available only from 8.4... > I agree also here: having the alternative available in 8.4 is too soon, especially since the new function cannot be polyfilled. No strong feelings about the other proposals, I'll read other's comments in the thread before voting. Nicolas --0000000000009f31800639fb57b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>=C2=A0Deprecate the __sleep() and __wakeup() magic methods

I'm not sure about this one. I don't think i= t's worth it. It's just an unnecessary BC break IMHO. I would also = consider more ext/standard thing rather than language.=C2=A0

I agree with Jakub here, __sleep a= nd __wakeup are just fine. Yes,=20 __serialize/__unserialize are better, but breaking=C2=A0(or even planning t= o break) existing=C2=A0apps doesn't look worth the change.

= =C2=A0
> Deprecate the $http_response_heade= r predefined variable

I think it's too early f= or this. I would prefer to not deprecate it at this time because alternativ= e is available only from 8.4...

I agree also here: having the alternative available in 8.4 is too so= on, especially since the new function=C2=A0cannot be polyfilled.
= =C2=A0
No strong feelings about the other proposals, I'll rea= d other's comments in the thread before voting.

Nicolas
--0000000000009f31800639fb57b2--