Doc #78848 [NEW]: Important info about return values is tucked away at the end of fourth example

From: Date: Thu, 21 Nov 2019 07:58:59 +0000
Subject: Doc #78848 [NEW]: Important info about return values is tucked away at the end of fourth example
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17068@lists.php.net to get a copy of this message
From: roy-orbison at devo dot net dot au Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Important info about return values is tucked away at the end of fourth example Description: ------------ --- From manual page: https://php.net/function.array-map --- There's a rather important note at the end of example #4: "The returned array will preserve the keys of the array argument if and only if exactly one array is passed. If more than one array is passed, the returned array will have sequential integer keys." This info should be in the main "Return Values" section, and only be referred to by that example. -- Edit bug report at https://bugs.php.net/bug.php?id=78848&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78848&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78848&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78848&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78848&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78848&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78848&r=support Expected behavior: https://bugs.php.net/fix.php?id=78848&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78848&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78848&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78848&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78848&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78848&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78848&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78848&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78848&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78848&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78848&r=mysqlcfg

« previous php.doc.bugs (#17068) next »