ID: 30115
Updated by: [EMAIL PROTECTED]
-Summary: The wrong link is shown for __destroy when using
phpmanual
Reported By: richard dot quadling at bandvulc dot co dot uk
-Status: Bogus
+Status: Wont fix
Bug Type: Documentation problem
-Operating System: Windows XP SP2
+Operating System: n/a
-PHP Version: 5.0.1
+PHP Version: all
New Comment:
The problem is that we don't have a function ID for the __destruct()
method (and won't have this).
PHP will generate valid links for almost every function, but it won't
work for OOP methods, as they are documented in a different place
(language reference chapter).
As PHP can't imagine where every single function is documented, this
won't be fixed (any other php member speak if is against!).
Previous Comments:
------------------------------------------------------------------------
[2004-09-20 09:10:21] richard dot quadling at bandvulc dot co dot uk
What criteria is used to ID a bug report as bogus?
I said "Documentation problem".
You say it IS documented, but not with regards to the phpmanual
facility activated within PHP.INI?
I'm using the latest HTML manuals available (28-8-2004).
There is no page called function.--destuct.html in the archive
available from www.php.net.
I do not see how this is bogus?
Richard Quadling.
------------------------------------------------------------------------
[2004-09-18 12:51:09] [EMAIL PROTECTED]
The __destruct() method is documented.
------------------------------------------------------------------------
[2004-09-16 15:15:47] richard dot quadling at bandvulc dot co dot uk
Description:
------------
I use the phpmanual facility so that I can get links to the function
that fails, when it fails.
My code failed showing ...
Warning: FormMaint::__destruct() [function.--destruct.html]: message:
Cannot insert duplicate key row in object 'kpi_element_types' with
unique index 'IX_element_types_ElementTypeExecutionSequence'. (severity
14) in C:\WebSites\PHP\Includes\class_FormMaint.inc on line 239
The important bit is [function.--destruct.html] which points to url
...
http://dev.kpi.bandvulc/phpmanual/function.--destruct.html
which doesn't exist.
Reproduce code:
---------------
Generating the error was VERY hard work (i.e. 1 line in the wrong
place), but is not relevant to the problem. The problem is that there
is no documentation for function.--desctruct.html
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30115&edit=1