svn: /phpdoc/ru/trunk/reference/datetime/dateinterval/ construct.xml

From: Date: Tue, 22 Nov 2011 10:33:05 +0000
Subject: svn: /phpdoc/ru/trunk/reference/datetime/dateinterval/ construct.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-3238@lists.php.net to get a copy of this message
aur Tue, 22 Nov 2011 10:33:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=319672 Log: Update translation Changed paths: U phpdoc/ru/trunk/reference/datetime/dateinterval/construct.xml Modified: phpdoc/ru/trunk/reference/datetime/dateinterval/construct.xml =================================================================== --- phpdoc/ru/trunk/reference/datetime/dateinterval/construct.xml 2011-11-22 10:32:21 UTC (rev 319671) +++ phpdoc/ru/trunk/reference/datetime/dateinterval/construct.xml 2011-11-22 10:33:05 UTC (rev 319672) @@ -125,7 +125,7 @@ <?php $interval = new DateInterval('P2Y4DT6H8M'); -print_r($interval); +var_dump($interval); ?> ]]> @@ -133,17 +133,24 @@ &example.outputs; <screen role="php"> <![CDATA[ -DateInterval Object -( - [y] => 2 - [m] => 0 - [d] => 4 - [h] => 6 - [i] => 8 - [s] => 0 - [invert] => 0 - [days] => 0 -) +object(DateInterval)#1 (8) { + ["y"]=> + int(2) + ["m"]=> + int(0) + ["d"]=> + int(4) + ["h"]=> + int(6) + ["i"]=> + int(8) + ["s"]=> + int(0) + ["invert"]=> + int(0) + ["days"]=> + bool(false) +} ]]> </screen> </example>

« previous php.doc.ru (#3238) next »