mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Fixed bug #78000: Missing description of reltext's different behaviors (static & method on object)
This commit is contained in:
parent
0b54d0b797
commit
26e0c6ef75
1 changed files with 8 additions and 0 deletions
|
@ -919,6 +919,14 @@ class DateTime#1 (3) {
|
|||
produces "2008-07-24 00:00". The reason for this is that those
|
||||
five statements directly influence the current time.
|
||||
</para>
|
||||
<para>
|
||||
Keywords such as "first day of" depend on the context in which the
|
||||
relative format string is used. If used with a static method or function,
|
||||
the referent is the current system timestamp. However, if used in
|
||||
<function>DateTime::modify</function> or
|
||||
<function>DateTimeImmutable::modify</function>, the referent is the object
|
||||
on which the modify() method is called.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<note>
|
||||
|
|
Loading…
Reference in a new issue