Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127964 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 192EB1A00BC for ; Wed, 9 Jul 2025 07:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752045214; bh=W5bYf6YVy8YJiJGdElWkmO2QdBUh2tkEC9Y+Kxpr3Iw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Ys2tsDVYIfN90GCecSTim6HmP5efNGAD2brD3PAzmhgjHKKAfX8PzIiSCUIgRRUu9 jugmpaCiWfSFOb2YchJpEBPG0KbOoIZdwIBf2Fuzcuhuj3DUmaP3/g6iNfvM8HzqaR zpriTOvyx8dFE8pScKC0xko41uLwwaZjLDIcLPiarWZvIDPcw1OejuwAsk7S+x4Wnr 6wFkBS2oDiiWQHkB0t0QLIt3+QUALfUCLwNSkXxuFP9hHQYx07UeYaO5bfEeRvc6P/ H1EGkG3PXG4LYdQKvOAxmfEqgF5iMz1++hwKsvob47I0+EDmFGJBHYQlENMNuMSIzN Tyu/ZtYqmA/Rw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2CDF81805AD for ; Wed, 9 Jul 2025 07:13:33 +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.8 required=5.0 tests=BAYES_50,DMARC_MISSING, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,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 apynys.serveriai.lt (apynys.serveriai.lt [79.98.29.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 9 Jul 2025 07:13:32 +0000 (UTC) Received: from [90.143.68.226] (helo=[192.168.1.156]) by apynys.serveriai.lt with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1uZP1U-0000000013T-3ev2; Wed, 09 Jul 2025 10:15:20 +0300 Content-Type: multipart/alternative; boundary="------------fzthym0ydhOjy0snTfQJz4cK" Message-ID: <43b55cf7-bd7a-40a0-90ee-0b9dd67f54bb@daikaras.lt> Date: Wed, 9 Jul 2025 10:16:39 +0300 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 To: "Gina P. Banyard" , PHP internals References: Content-Language: en-US In-Reply-To: X-Sender: webmaster@daikaras.lt From: webmaster@daikaras.lt (Daikaras) This is a multi-part message in MIME format. --------------fzthym0ydhOjy0snTfQJz4cK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > We propose to deprecate the following non-standard cast names: > > * > |(integer)| > * > |(boolean)| > * > |(double)| > * > |(binary)| > Hello, Just wondering is this going to affect `settype()` function? There is already some disparity in that `settype()` supports `integer/boolean/double` but not `binary` type (and additionally supports `null` type). --------------fzthym0ydhOjy0snTfQJz4cK Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

We propose to deprecate the following non-standard cast names:

  • (integer)
  • (boolean)
  • (double)
  • (binary)

Hello,

Just wondering is this going to affect `settype()` function? There is already some disparity in that `settype()` supports `integer/boolean/double` but not `binary` type (and additionally supports `null` type).

--------------fzthym0ydhOjy0snTfQJz4cK--