[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/datetime/datetime/_createfromimmutable.xml?=
From:       George_Peter_Banyard <girgias () php ! net>
Date:       2019-06-25 16:02:42
Message-ID: svn-girgias-1561478562-347663-527618888 () svn ! php ! net
[Download RAW message or body]

girgias                                  Tue, 25 Jun 2019 16:02:42 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=347663

Log:
Minor improvements to the createFromImmutable method.

Changed paths:
    U   phpdoc/en/trunk/reference/datetime/datetime/createfromimmutable.xml

Modified: phpdoc/en/trunk/reference/datetime/datetime/createfromimmutable.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/datetime/createfromimmutable.xml	2019-06-25 \
                15:51:18 UTC (rev 347662)
+++ phpdoc/en/trunk/reference/datetime/datetime/createfromimmutable.xml	2019-06-25 \
16:02:42 UTC (rev 347663) @@ -23,10 +23,10 @@
      <term><parameter>datetime</parameter></term>
      <listitem>
       <para>
-       The immutable <classname>DateTimeImmutable</classname> object that you want \
                to
-       convert to a mutable version. This object is not modified, but
+       The immutable <classname>DateTimeImmutable</classname> object that needs
+       to be converted to a mutable version. This object is not modified, but
        instead a new <classname>DateTime</classname> object is
-       created containing the same date time and timezone information.
+       created containing the same date, time, and timezone information.
       </para>
      </listitem>
     </varlistentry>
@@ -44,7 +44,7 @@
 <?php
 $date = new DateTimeImmutable("2014-06-20 11:45 Europe/London");

-$immutable = DateTime::createFromImmutable( $date );
+$mutable = DateTime::createFromImmutable( $date );
 ?>
 ]]>
     </programlisting>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic