diff --git a/reference/ffi/ffi.cdata.xml b/reference/ffi/ffi.cdata.xml
index 2724ce329d47..e724c3fb764b 100644
--- a/reference/ffi/ffi.cdata.xml
+++ b/reference/ffi/ffi.cdata.xml
@@ -81,6 +81,11 @@
Any C data can be visualized using var_dump, print_r, etc.
+
+
+ FFI\CData can now be assigned to structs and fields as of PHP 8.3.0.
+
+
@@ -107,6 +112,28 @@
+
+ &reftitle.changelog;
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ 8.3.0
+
+ FFI\CData can now be assigned to structs and fields.
+
+
+
+
+
+
+
diff --git a/reference/ffi/ffi/cast.xml b/reference/ffi/ffi/cast.xml
index 24b1f5670e6e..73b256fd70d9 100644
--- a/reference/ffi/ffi/cast.xml
+++ b/reference/ffi/ffi/cast.xml
@@ -8,11 +8,6 @@
&reftitle.description;
-
- public static FFI\CDatanullFFI::cast
- FFI\CTypestringtype
- FFI\CDataintfloatboolnullptr
-
public FFI\CDatanullFFI::cast
FFI\CTypestringtype
@@ -24,9 +19,7 @@
The resulting object does not own the C data, and the source ptr
must survive the result. The C type may be specified as a string with any
valid C type declaration or as FFI\CType object, created before.
- If this method is called statically, it must only use predefined C type names (e.g.
- int, char, etc.); if the method is called as
- instance method, any type declared for the instance is allowed.
+ Any type declared for the instance is allowed.
@@ -60,6 +53,30 @@
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ 8.3.0
+
+ Calling FFI::cast statically is now deprecated.
+
+
+
+
+
+
+
+