diff --git a/language/types/integer.xml b/language/types/integer.xml
index ed45d8511608..426abf6545c8 100644
--- a/language/types/integer.xml
+++ b/language/types/integer.xml
@@ -151,9 +151,8 @@ var_dump(round(25/7)); // float(4)
Converting to integer
- To explicitly convert a value to int, use either the
- (int) or (integer) casts. However, in
- most cases the cast is not needed, since a value will be automatically
+ To explicitly convert a value to int, use the (int) cast.
+ However, in most cases the cast is not needed, since a value will be automatically
converted if an operator, function or control structure requires an
int argument. A value can also be converted to
int with the intval function.
diff --git a/language/types/type-juggling.xml b/language/types/type-juggling.xml
index 6e7cd80104f3..d3f177f9b1cc 100644
--- a/language/types/type-juggling.xml
+++ b/language/types/type-juggling.xml
@@ -317,16 +317,16 @@ var_dump($bar);
(unset) - cast to NULL
-
+
(integer) is an alias of the (int) cast.
(boolean) is an alias of the (bool) cast.
(binary) is an alias of the (string) cast.
(double) and (real) are aliases of
the (float) cast.
- These casts do not use the canonical type name and are not recommended.
+ These casts do not use the canonical type name and are deprecated as of PHP 8.5.0.
-
+