[DOC-CVS] [doc-en] master: Type juggling: fix incorrect deprecation version info for (real) (#4929)

[email protected] (Juliette via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Juliette (jrfnl)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2025-10-15T10:49:08+02:00

Commit: https://github.com/php/doc-en/commit/3a97501ec4b56ed700facd0163d11faadc58663d
Raw diff: https://github.com/php/doc-en/commit/3a97501ec4b56ed700facd0163d11faadc58663d.diff

Type juggling: fix incorrect deprecation version info for (real) (#4929)

Page: https://www.php.net/manual/en/language.types.type-juggling.php#language.types.typecasting

The `(real)` cast was deprecated in PHP 7.4 and removed in PHP 8.0.

Refs:
* https://wiki.php.net/rfc/deprecations_php_7_4#the_real_type
* https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.real

Co-authored-by: jrfnl <[email protected]>

Changed paths:
  M  language/types/type-juggling.xml


Diff:

diff --git a/language/types/type-juggling.xml b/language/types/type-juggling.xml
index 0c87f7200554..3be3b9b4a43f 100644
--- a/language/types/type-juggling.xml
+++ b/language/types/type-juggling.xml
@@ -330,7 +330,8 @@ var_dump($bar);
 
   <warning>
    <simpara>
-    The <literal>(real)</literal> cast alias has been deprecated as of PHP 8.0.0.
+    The <literal>(real)</literal> cast alias has been deprecated as of PHP 7.4.0
+    and removed as of PHP 8.0.0.
    </simpara>
   </warning>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.