[DOC-CVS] [doc-en] master: Fix uppercase in method name (#4966)

[email protected] (Pierre Ambroise via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Pierre Ambroise (Fan2Shrek)
Committer: GitHub (web-flow)
Pusher: ndossche
Date: 2025-11-02T15:18:35+01:00

Commit: https://github.com/php/doc-en/commit/cafec7df4c6ba597b5ac45b03191aea18f3cabab
Raw diff: https://github.com/php/doc-en/commit/cafec7df4c6ba597b5ac45b03191aea18f3cabab.diff

Fix uppercase in method name (#4966)

Changed paths:
  M  reference/datetime/datetimeimmutable/createfromformat.xml


Diff:

diff --git a/reference/datetime/datetimeimmutable/createfromformat.xml b/reference/datetime/datetimeimmutable/createfromformat.xml
index 0b3950341ad8..a98ebd8bcf43 100644
--- a/reference/datetime/datetimeimmutable/createfromformat.xml
+++ b/reference/datetime/datetimeimmutable/createfromformat.xml
@@ -693,7 +693,7 @@ Mon, 10 Aug 2020 01:00:00 +0000
 $d = DateTimeImmutable::createFromFormat('Y-m-d H:i:s', '2021-17-35 16:60:97');
 echo $d->format(DateTimeImmutable::RFC2822), "\n\n";
 
-var_dump(DateTimeImmutable::GetLastErrors());
+var_dump(DateTimeImmutable::getLastErrors());
 ]]>
    </programlisting>
    &example.outputs.similar;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.