Doc #78428 [NEW]: ini_get_all may return false

From: Date: Mon, 19 Aug 2019 07:28:06 +0000
Subject: Doc #78428 [NEW]: ini_get_all may return false
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16887@lists.php.net to get a copy of this message
From:             fabien dot villepinte at gmail dot com
Operating system: 
PHP version:      Irrelevant
Package:          Documentation problem
Bug Type:         Documentation Problem
Bug description:ini_get_all may return false

Description:
------------
The documentation doesn't describe the fact that ini_get_all() may
return false whether the given extension is invalid.

See: http://docs.php.net/manual/en/function.ini-get-all.php

Test script:
---------------
<?php
// @see https://3v4l.org/nmQoo
var_dump(ini_get_all('foobarbaz'));
/*
Warning: ini_get_all(): Unable to find extension 'foobarbaz' in
/in/nmQoo on line 3
bool(false)
*/


-- 
Edit bug report at https://bugs.php.net/bug.php?id=78428&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=78428&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=78428&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=78428&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=78428&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=78428&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=78428&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=78428&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=78428&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=78428&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=78428&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78428&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=78428&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=78428&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=78428&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=78428&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=78428&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=78428&r=mysqlcfg



Thread (2 messages)

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