php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50070 the See Also sections for string and array functions
Submitted: 2009-11-03 22:49 UTC Modified: 2009-11-03 22:51 UTC
From: zelnaga at gmail dot com Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
34 + 22 = ?
Subscribe to this entry?

 
 [2009-11-03 22:49 UTC] zelnaga at gmail dot com
Description:
------------
Strings and arrays have a lot of similar functions.

parse_str() and extract() essentially do the same thing.
array_slice() and substr() essentially do the same thing.
array_splice() and substr_replace() essentially do the same thing.

Why not mention these in the See Also sections of each function?

Reproduce code:
---------------
---
From manual page: function.extract#See Also
---



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-03 22:51 UTC] danbrown@php.net
There's a big difference between strings and arrays.  Enough so that it 
not only wouldn't be worthwhile to implement this request, but would be 
confusing (particularly to newer developers).

In any case, thank you for your suggestion.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 07:01:28 2024 UTC