php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64743 Search loop
Submitted: 2013-04-30 15:37 UTC Modified: 2013-06-07 14:06 UTC
From: matteosistisette at gmail dot com Assigned: danbrown (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: -
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matteosistisette at gmail dot com
New email:
PHP Version: OS:

 

 [2013-04-30 15:37 UTC] matteosistisette at gmail dot com
Description:
------------
Steps to reproduce:
* Enter "array_sort" into the search box
* The first search result reads:
  array_sort() - PHP
  www.php.net/array_sort
* Click on that link
* laugh

It links to the search itself, again and again.

I know (or guess) no array_sort() function at all exists. If the url 
"www.php.net/array_sort" is provided as an alias to the search "array_sort" 
because of the common pitfall of people searching for "array_sort", then that 
result should be excluded from the search.

It is especially funny (and nonsensical) that the result is shown as being 
titled "array_sort()" (note the parenthesis).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-30 20:20 UTC] salathe@php.net
Those results are from the embedded Google Custom Search; maybe Google are just 
teasing us? I'm not sure how much we can do to prevent things like this 
happening.
 [2013-06-05 17:04 UTC] danbrown@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: danbrown
 [2013-06-05 17:04 UTC] danbrown@php.net
Just pushed a commit that should hopefully fix it.  Leaving the bug open for now 
as a reminder to check once the site rebuilds and propagates.
 [2013-06-07 14:06 UTC] danbrown@php.net
-Status: Assigned +Status: Closed
 [2013-06-07 14:06 UTC] danbrown@php.net
Fixed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 12:01:27 2025 UTC