To detect the Suhosin Extension use extension_loaded() no matter if it is dynamically loaded or statically compiled:
extension_loaded('suhosin');
To detect the Suhosin-Patch, check for the constant presence:
constant("SUHOSIN_PATCH");
More Related Contents:
- Not receiving emails [phpmailer]
- fetch data inmultidimensional array in PHP [closed]
- CodeIgniter removing index.php from url
- if block inside echo statement?
- Detect Browser Language in PHP
- How to hide config files from direct access?
- Change product prices via a hook in WooCommerce 3+
- Fatal error: Class ‘PHPMailer’ not found
- How can I get the user’s local time instead of the server’s time?
- Generating a drop down list of timezones with PHP
- proper way to logout from a session in PHP
- How to use spl_autoload() instead of __autoload()
- Why use a framework with PHP? [closed]
- Does UTC observe daylight saving time?
- The CSRF token is invalid. Please try to resubmit the form
- Returning Multiple Rows with MySqli and Arrays
- How do I get a PHP class constructor to call its parent’s parent’s constructor?
- http_build_query with same name parameters
- Executing PHP code inside a .js file
- Saving WAV File Recorded in Chrome to Server
- How do I continue a session from one page to another with PHP
- non-breaking utf-8 0xc2a0 space and preg_replace strange behaviour
- How to pass multiple variables across multiple pages?
- PHP error: “The zip extension and unzip command are both missing, skipping.”
- What’s the most efficient test of whether a PHP string ends with another string?
- How do I use two submit buttons, and differentiate between which one was used to submit the form? [duplicate]
- Reverse order of foreach list items
- array_push() vs. $array[] = …. Which is fastest? [duplicate]
- What unit testing in PHP to start [duplicate]
- Save array in mysql database