php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79898 WeakReference constructor should be documented as private
Submitted: 2020-07-25 13:43 UTC Modified: 2020-07-26 13:24 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: michael dot vorisek at email dot cz Assigned: krakjoe (profile)
Status: Assigned Package: *General Issues
PHP Version: 7.4.8 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: michael dot vorisek at email dot cz
New email:
PHP Version: OS:

 

 [2020-07-25 13:43 UTC] michael dot vorisek at email dot cz
Description:
------------
like Closure constructor

is there a git repo to submit PRs like this to?

Test script:
---------------
-

Expected result:
----------------
-

Actual result:
--------------
-

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-07-25 14:19 UTC] requinix@php.net
-Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: *General Issues -Assigned To: +Assigned To: krakjoe
 [2020-07-25 14:19 UTC] requinix@php.net
The constructor is not private.

Not sure why it's public and throws an exception when called... @krakjoe?
 [2020-07-26 13:24 UTC] cmb@php.net
> Not sure why it's public and throws an exception when called

Perhaps to provide a more useful error message ("use ::create()
instead").
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Sep 27 20:01:23 2020 UTC