PHP :: Doc Bug #76547 :: Parameters in documentation dynamic search
php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76547 Parameters in documentation dynamic search
Submitted: 2018-06-29 11:08 UTC Modified: -
From: david at frankieandshadow dot com Assigned:
Status: Open Package: Documentation problem
PHP Version: Irrelevant OS: NA
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-06-29 11:08 UTC] david at frankieandshadow dot com
Description:
------------
It would be really helpful if in the dynamic search in the documentation it didn't just give the function names that match and the short description, but also their parameters, e.g. 

  strpos($haystack, $needle, [$offset=0]) => int
  Find the position of the first occurrence of a substring in a string

Rather than just 

  strpos
  Find the position of the first occurrence of a substring in a string

In maybe 50% of cases, all I need to check is the order of the parameters (especially the search ones, because haystack and needle are so inconsistent in parameter positioning), and with the parameters and maybe the return type I very often wouldn't need to go the the complete page at all.


Test script:
---------------
n/a


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Thu Aug 16 12:01:24 2018 UTC