Req #80357 [NEW]: Unable to re-enable entity loader without triggering a deprecation

From: Date: Thu, 12 Nov 2020 20:02:02 +0000
Subject: Req #80357 [NEW]: Unable to re-enable entity loader without triggering a deprecation
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230312@lists.php.net to get a copy of this message
From: jeremy at derusse dot com Operating system: All PHP version: 8.0.0RC4 Package: *XML functions Bug Type: Feature/Change Request Bug description:Unable to re-enable entity loader without triggering a deprecation Description: ------------ calling libxml_disable_entity_loader has been deprecated in PHP >= 8.0 (https://github.com/php/php-src/pull/5867) But if a 3rd party library disable the entity loader, we have no way to re-enable it (or even to know if we have to re-enable it) without triggering a deprecation. Suggested change: - do not trigger deprecation when calling the method with false - add a new method libxml_entity_loader_disabled() that returns true/false when the entity loader is disabled -- Edit bug report at https://bugs.php.net/bug.php?id=80357&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80357&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80357&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80357&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80357&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80357&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80357&r=support Expected behavior: https://bugs.php.net/fix.php?id=80357&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80357&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80357&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80357&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80357&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80357&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80357&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80357&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80357&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80357&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80357&r=mysqlcfg

« previous php.bugs (#230312) next »