[DOC-CVS] [doc-en] master: Fix outdated reference to E_NOTICE in notes for unserialize() (#4997)
[email protected] (Michael Strelan via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Michael Strelan (mstrelan)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2026-01-09T12:56:57Z
Commit: https://github.com/php/doc-en/commit/a9e47cecca7d5834de43b7641baf5d86828bb153
Raw diff: https://github.com/php/doc-en/commit/a9e47cecca7d5834de43b7641baf5d86828bb153.diff
Fix outdated reference to E_NOTICE in notes for unserialize() (#4997)
Changed paths:
M reference/var/functions/unserialize.xml
Diff:
diff --git a/reference/var/functions/unserialize.xml b/reference/var/functions/unserialize.xml
index 7dfee0a6968a..966e1bcc9a8b 100644
--- a/reference/var/functions/unserialize.xml
+++ b/reference/var/functions/unserialize.xml
@@ -272,7 +272,7 @@ unserialize($serialized_object);
the serialized &false; value. It is possible to catch this special case by
comparing <parameter>data</parameter> with
<literal>serialize(false)</literal> or by catching the issued
- <constant>E_NOTICE</constant>.
+ <constant>E_WARNING</constant>.
</para>
</warning>
</refsect1>