ID: 30035
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: 5.0.1
New Comment:
Alias added.
Previous Comments:
------------------------------------------------------------------------
[2004-12-30 19:30:07] [EMAIL PROTECTED]
What about other names operators? I know they have quite common names
like 'and' and 'or' :)
------------------------------------------------------------------------
[2004-12-30 16:43:54] [EMAIL PROTECTED]
instanceof is found at
http://www.php.net/manual/en/language.operators.type.php
This will never be catched by find_manual_page_slow().
A possible solution could be a shortcut in error.php like:
$ cvs diff error.php
Index: error.php
===================================================================
RCS file: /repository/phpweb/error.php,v
retrieving revision 1.29
diff -u -r1.29 error.php
--- error.php 27 Nov 2004 16:49:41 -0000 1.29
+++ error.php 30 Dec 2004 15:42:34 -0000
@@ -225,6 +225,7 @@
"magicquotes" => "security.magicquotes",
"gd" => "image",
+ "instanceof => "language.operators.type",
"htaccess" => "configuration.changes",
"php_value" => "configuration.changes",
Regards
Friedhelm
------------------------------------------------------------------------
[2004-12-30 13:14:56] [EMAIL PROTECTED]
http://php.net/something is not only for function lookups, there are
quite a few shortcuts, like http://php.net/getphp or
http://php.net/whatisphp or http://php.net/install and even
http://php.net/pear
Look into find_manual_page_slow() in
http://php.net/source.php?url=/include/manual-lookup.inc to get an idea
of how manual pages are looked up. Reference sections, control
structures and other stuff are also matched. If the manual page has a
proper ID, then it should end up being found by such a php.net lookup.
------------------------------------------------------------------------
[2004-12-30 10:59:38] [EMAIL PROTECTED]
But instanceof is a bitdifferent, as we don't have those hardcoded
redirects for any of our control keywords AFAIK.
------------------------------------------------------------------------
[2004-12-29 23:30:00] [EMAIL PROTECTED]
Not possible that it only relies on functions. I made a similiar
request about http://php.net/php5 and at was promptly done by Derick.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30035