php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37639 Searching for the keyword "parent" redirects user to "print" documentation
Submitted: 2006-05-30 06:54 UTC Modified: 2006-05-30 07:45 UTC
From: sql at jlevine dot oiiiio dot net Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
 [2006-05-30 06:54 UTC] sql at jlevine dot oiiiio dot net
Description:
------------
Entering the text "parent" into the search box at the top of the page at http://www.php.net and pressing "enter" or clicking the search arrow when "function list" is selected to the right of the search box redirects the user to the documentation page for the "print" function at http://jp.php.net/manual/en/function.print.php

Searching "online documentation" instead of "function list" brings up the desired page at http://www.php.net/manual/en/keyword.parent.php

While "parent" is indeed not a function, it seems that a standard "Sorry, but the function parent is not in the online manual..." page would be the more correct response.

Expected result:
----------------
Browser redirected to "Sorry, but the function parent is not in the online manual..." at
http://www.php.net/manual-lookup.php?pattern=parent&lang=en or to documentation of the special name parent at
http://www.php.net/manual/en/keyword.parent.php

Actual result:
--------------
Browser is redirected to documentation for "print" function at http://www.php.net/manual/en/function.print.php

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-30 07:45 UTC] goba@php.net
Our system is intended to cover spelling mistakes. Like if you try "echa", you will get to the echo page. Since parent is not a function, it is just a spelling mistake of "print" according to the soundex matching we use.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 11:01:29 2024 UTC