Doc #76027 [NEW]: Incorrect info in documentation
| From: | piotr dot zegota at bystro dot biz dot pl | Date: | Wed, 28 Feb 2018 11:08:05 +0000 |
| Subject: | Doc #76027 [NEW]: Incorrect info in documentation | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15477@lists.php.net to get a copy of this message | ||
From: piotr dot zegota at bystro dot biz dot pl
Operating system: Windows 10
PHP version: 7.1.14
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Incorrect info in documentation
Description:
------------
---
From manual page: http://www.php.net/function.getenv
---
In Return Values paragraph we have information:
"Returns all environment variables without varname." but in PHP 7.1.11
after var_dump getenv() i got array with varname as key.
Test script:
---------------
<?php
var_dump(getenv());
Expected result:
----------------
"Returns all environment variables with varname as key."
Actual result:
--------------
"Returns all environment variables without varname."
--
Edit bug report at https://bugs.php.net/bug.php?id=76027&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76027&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76027&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76027&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76027&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76027&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76027&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76027&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76027&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76027&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76027&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76027&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76027&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76027&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76027&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76027&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76027&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76027&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76027&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76027&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76027&r=mysqlcfg