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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rjhdby@php.net
New email:
PHP Version: OS:

 

 [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 15:01:36 2024 UTC