For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > December 2004 > #30035 [Opn]: php.net/instanceof leads nowhere









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #30035 [Opn]: php.net/instanceof leads nowhere
goba@php.net

2004-12-30, 3:56 pm

ID: 30035
Updated by: goba@php.net
Reported By: mfischer@php.net
Status: Open
Bug Type: Documentation problem
PHP Version: 5.0.1
New Comment:

What about other names operators? I know they have quite common names
like 'and' and 'or' :)


Previous Comments:
------------------------------------------------------------------------

[2004-12-30 16:43:54] betz@php.net

instanceof is found at
http://www.php.net/manual/en/langua...rators.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] goba@php.net

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=/incl...nual-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] derick@php.net

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] mfischer@php.net

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.

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

[2004-12-29 22:50:01] mez@php.net

actually doesn't the /whatever only reference functions? as instanceof
isn't a function it wont be referenced by that. I'm not too sure why
the google search isn't picking it up though

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

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

--
Edit this bug report at http://bugs.php.net/?id=30035&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com