Doc #70265 [Csd->ReO]: Wrong name of DateTimeImmutable::__construct's 2nd param

From: Date: Fri, 14 Aug 2015 21:28:14 +0000
Subject: Doc #70265 [Csd->ReO]: Wrong name of DateTimeImmutable::__construct's 2nd param
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12611@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70265&edit=1 ID: 70265 Updated by: cmb@php.net Reported by: ocramius at gmail dot com Summary: Wrong name of DateTimeImmutable::__construct's 2nd param -Status: Closed +Status: Re-Opened Type: Documentation Problem Package: Date/time related PHP Version: 7.0.0beta3 -Assigned To: cmb +Assigned To: Block user comment: N Private report: N New Comment: Due the discussion following <http://news.php.net/php.doc.cvs/13572> I've reverted the documentation change for now. Previous Comments: ------------------------------------------------------------------------ [2015-08-14 21:09:29] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=337458 Log: reverted revision 337451: fixed wrong parameter name (Reflection!) (fixes #70265) ------------------------------------------------------------------------ [2015-08-14 12:49:57] cmb@php.net This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. ------------------------------------------------------------------------ [2015-08-14 12:49:33] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=337451 Log: fixed wrong parameter name (Reflection!) (fixes #70265) ------------------------------------------------------------------------ [2015-08-14 08:19:16] ocramius at gmail dot com Good point! I guess it is a documentation change issue then? The parameter has always been documented as timezone, as far as I can see. ------------------------------------------------------------------------ [2015-08-14 07:35:08] requinix@php.net Sure you're not looking at the HHVM output? They named it "timezone" but PHP has always called it "object". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70265 -- Edit this bug report at https://bugs.php.net/bug.php?id=70265&edit=1

« previous php.doc.bugs (#12611) next »