File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,12 @@ var_dump(round(25/7)); // float(4)
168168 <simpara >
169169 See also <link linkend =" language.types.type-juggling" >Type Juggling</link >.
170170 </simpara >
171+
172+ <caution >
173+ <simpara >
174+ The <literal >(integer)</literal > cast has been deprecated as of PHP 8.5.0.
175+ </simpara >
176+ </caution >
171177
172178 <sect3 xml : id =" language.types.integer.casting.from-boolean" >
173179 <title >From <link linkend =" language.types.boolean" >booleans</link ></title >
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ var_dump($bar);
324324 <literal >(binary)</literal > is an alias of the <literal >(string)</literal > cast.
325325 <literal >(double)</literal > and <literal >(real)</literal > are aliases of
326326 the <literal >(float)</literal > cast.
327- These casts do not use the canonical type name and are not recommended .
327+ These casts do not use the canonical type name and are deprecated as of PHP 8.5.0 .
328328 </para >
329329 </note >
330330
You can’t perform that action at this time.
0 commit comments