diff --git a/language/types/integer.xml b/language/types/integer.xml
index ed45d8511608..314543c21b15 100644
--- a/language/types/integer.xml
+++ b/language/types/integer.xml
@@ -168,6 +168,12 @@ var_dump(round(25/7)); // float(4)
See also Type Juggling.
+
+
+
+ The (integer) cast has been deprecated as of PHP 8.5.0.
+
+ From booleans
diff --git a/language/types/type-juggling.xml b/language/types/type-juggling.xml
index 6e7cd80104f3..486672fddf20 100644
--- a/language/types/type-juggling.xml
+++ b/language/types/type-juggling.xml
@@ -324,7 +324,7 @@ var_dump($bar);
(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.