[doc-en] master: Fix outdated reference to E_NOTICE in notes for unserialize() (#4997)

From: Date: Fri, 09 Jan 2026 12:56:59 +0000
Subject: [doc-en] master: Fix outdated reference to E_NOTICE in notes for unserialize() (#4997)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-22930@lists.php.net to get a copy of this message
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>

« previous php.doc.cvs (#22930) next »