php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78428 ini_get_all may return false
Submitted: 2019-08-19 07:28 UTC Modified: 2019-08-19 07:40 UTC
From: fabien dot villepinte at gmail dot com Assigned: peehaa (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fabien dot villepinte at gmail dot com
New email:
PHP Version: OS:

 

 [2019-08-19 07:28 UTC] fabien dot villepinte at gmail dot com
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)
*/


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-08-19 07:39 UTC] peehaa@php.net
Automatic comment from SVN on behalf of peehaa
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=347869
Log: Added false return value when extension doesn't exist #78428
 [2019-08-19 07:40 UTC] peehaa@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: peehaa
 [2019-08-19 07:40 UTC] peehaa@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 15:00:01 2026 UTC