Code Comments
Programming Forum and web based access to our favorite programming groups.ID: 30035 Updated by: betz@php.net Reported By: mfischer@php.net Status: Open Bug Type: Documentation problem PHP Version: 5.0.1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2004-12-29 22:46:42] mez@php.net Ah, I understand what you mean now. Not sure whether possible for me to fix this, so I'll flag it up as verified for now ------------------------------------------------------------------------ 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.