Req->Doc #79516 [Opn]: The disable_classes project set in php.ini cannot be checked with php code
| From: | requinix@php.net | Date: | Fri, 24 Apr 2020 06:33:35 +0000 |
| Subject: | Req->Doc #79516 [Opn]: The disable_classes project set in php.ini cannot be checked with php code | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17512@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79516&edit=1
ID: 79516
Updated by: requinix@php.net
Reported by: 392223903 at qq dot com
Summary: The disable_classes project set in php.ini cannot be
checked with php code
Status: Open
-Type: Feature/Change Request
+Type: Documentation Problem
Package: *General Issues
Operating System: win10,win7
PHP Version: 7.2.30
Block user comment: N
Private report: N
New Comment:
disable_classes and disable_functions prevent you from using them. It does not block them from being
registered into the engine.
The docs should go into more detail about this behavior.
Previous Comments:
------------------------------------------------------------------------
[2020-04-24 03:14:06] 392223903 at qq dot com
Description:
------------
(1).php.ini conf
disable_classes = com
(2).php code check
var_dump(class_exists('Com')); //return true ? I disabled it! why ?
But the disable_functions configuration item and function_exists method are correctã
this bug in php5.x-php7.x version
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79516&edit=1