php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #8430 Undefined behaviour?
Submitted: 2000-12-26 21:39 UTC Modified: 2001-01-22 20:31 UTC
From: niklas at saers dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.4 OS: All
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 !
Your email address:
MUST BE VALID
Solve the problem:
24 + 13 = ?
Subscribe to this entry?

 
 [2000-12-26 21:39 UTC] niklas at saers dot com
The array_keys() function is poorly documented when it comes to multi-dimentional arrays. It does not define what behaviour is expected when it gets a multidimentional array, if the key will be the first key only, the set of the keys or any other combination, neither how to expect this result back. This should be better documented

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-22 20:31 UTC] jimw@php.net
added an example, even though the behaviour seems fairly obvious.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 11:01:33 2024 UTC