Skip to content

Commit 3a97501

Browse files
authored
Type juggling: fix incorrect deprecation version info for (real) (php#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]>
1 parent 85c47f8 commit 3a97501

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

language/types/type-juggling.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ var_dump($bar);
330330

331331
<warning>
332332
<simpara>
333-
The <literal>(real)</literal> cast alias has been deprecated as of PHP 8.0.0.
333+
The <literal>(real)</literal> cast alias has been deprecated as of PHP 7.4.0
334+
and removed as of PHP 8.0.0.
334335
</simpara>
335336
</warning>
336337

0 commit comments

Comments
 (0)