Bug #79898 [Asn->Nab]: WeakReference constructor should be documented as private

From: Date: Sat, 22 May 2021 12:22:55 +0000
Subject: Bug #79898 [Asn->Nab]: WeakReference constructor should be documented as private
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233969@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79898&edit=1

 ID:                 79898
 Updated by:         krakjoe@php.net
 Reported by:        michael dot vorisek at email dot cz
 Summary:            WeakReference constructor should be documented as
                     private
-Status:             Assigned
+Status:             Not a bug
 Type:               Bug
 Package:            *General Issues
 PHP Version:        7.4.8
 Assigned To:        krakjoe
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------
[2020-07-26 13:24:34] 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").

------------------------------------------------------------------------
[2020-07-25 14:19:02] requinix@php.net

The constructor is not private.

Not sure why it's public and throws an exception when called... @krakjoe?

------------------------------------------------------------------------
[2020-07-25 13:43:39] 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:
--------------
-


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=79898&edit=1


Thread (1 message)

  • krakjoe@php.net
  • Unknown Message
    • krakjoe@php.net
« previous php.bugs (#233969) next »