php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73772 documentstion error
Submitted: 2016-12-17 11:05 UTC Modified: 2017-01-18 19:10 UTC
From: rjhdby@php.net Assigned: tpunt (profile)
Status: Closed Package: COM related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2016-12-17 11:05 UTC] rjhdby@php.net
Description:
------------
---
From manual page: http://www.php.net/function.variant-cast
---

Section "Return values"

Actual text:
Returns a <constant>VT_DATE</constant> variant.

Must be:
Returns a variant of given <parameter>type</parameter>.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-17 14:00 UTC] cmb@php.net
-Package: Documentation problem +Package: COM related
 [2017-01-17 11:36 UTC] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=341678
Log: Resolve doc bug #73772
 [2017-01-17 11:37 UTC] tpunt@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: tpunt
 [2017-01-18 18:51 UTC] rjhdby@php.net
-Status: Closed +Status: Re-Opened
 [2017-01-18 18:51 UTC] rjhdby@php.net
Wrong fix.

Actual. Line 41:
Returns a variant of given <parameter>type</parameter>.

Need to revert to:
<parameter>type</parameter> should be one of the <constant>VT_XXX</constant> constants.

REAL error. Actual. Line 51:
Returns a <constant>VT_DATE</constant> variant.

Must be:
Returns a variant of given <parameter>type</parameter>.
 [2017-01-18 19:09 UTC] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=341682
Log: Resolve doc bug #73772 (second time lucky)
 [2017-01-18 19:10 UTC] tpunt@php.net
Ah, good catch! Should be resolved (correctly) now :)
 [2017-01-18 19:10 UTC] tpunt@php.net
-Status: Re-Opened +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 12:01:33 2024 UTC