Doc #78428 [Opn->Csd]: ini_get_all may return false
Edit report at https://bugs.php.net/bug.php?id=78428&edit=1
ID: 78428
Updated by: peehaa@php.net
Reported by: fabien dot villepinte at gmail dot com
Summary: ini_get_all may return false
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: peehaa
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2019-08-19 07:39:04] peehaa@php.net
Automatic comment from SVN on behalf of peehaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=347869
Log: Added false return value when extension doesn't exist #78428
------------------------------------------------------------------------
[2019-08-19 07:28:06] 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)
*/
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78428&edit=1
Thread (2 messages)