php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79659 A remark in documentation is missing
Submitted: 2020-06-01 11:20 UTC Modified: 2020-06-01 13:25 UTC
From: jakobr at gmx dot net Assigned:
Status: Open Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jakobr at gmx dot net
New email:
PHP Version: OS:

 

 [2020-06-01 11:20 UTC] jakobr at gmx dot net
Description:
------------
---
From manual page: https://php.net/function.libxml-use-internal-errors
---

Like on https://www.php.net/manual/de/function.ini-set.php a remark like the following is missing:

"The configuration option will keep this new value during the script's execution, and will be restored at the script's ending."


Test script:
---------------
libxml_use_internal_errors(true);
echo libxml_use_internal_errors();


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-06-01 12:03 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-06-01 12:03 UTC] cmb@php.net
While it appears to be reasonable to document that for ini_set(),
because it interferes with INI settings, I don't think it makes
sense to document that for libxml_use_internal_errors() or any of
the other state mutating functions (of which PHP has quite a lot).
 [2020-06-01 12:52 UTC] jakobr at gmx dot net
-Status: Feedback +Status: Assigned
 [2020-06-01 12:52 UTC] jakobr at gmx dot net
In my opinion the language AutoHotkey has one of the best help files out there and there every "mutating" function has such a comment, every.
 [2020-06-01 13:25 UTC] cmb@php.net
-Status: Assigned +Status: Open -Assigned To: cmb +Assigned To:
 [2024-05-08 11:32 UTC] christy2951hernandez at outlook dot com
That was so amazing.



(https://github.com)(https://www.ny-stateofhealth.com)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC