Re: #30035 [Opn->Csd]: php.net/instanceof leads nowhere

From: Date: Thu, 06 Jan 2005 13:17:14 +0000
Subject: Re: #30035 [Opn->Csd]: php.net/instanceof leads nowhere
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365839@lists.php.net to get a copy of this message
so... will we have php.net/or, php.net/xor, etc. added? - tul goba@php.net wrote:
 ID:          30035
Updated by: goba@php.net Reported By: mfischer@php.net
-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] goba@php.net What about other names operators? I know they have quite common names like 'and' and 'or' :) ------------------------------------------------------------------------ [2004-12-30 16:43:54] betz@php.net 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] 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=/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] 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. ------------------------------------------------------------------------ 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


« previous php.doc (#969365839) next »