current_value = extension_loaded('suhosin'); } function _execTest() { if ( $this->current_value === true ) { return PHPSECINFO_TEST_RESULT_OK; } else { return PHPSECINFO_TEST_RESULT_NOTICE; } } function _setMessages() { parent::_setMessages(); $this->setMessageForResult(PHPSECINFO_TEST_RESULT_OK, 'en', "You are running PHP with the Suhosin extension loaded. This extension provides high-level runtime protections, and additional filtering and logging features."); $this->setMessageForResult(PHPSECINFO_TEST_RESULT_NOTICE, 'en', "You are not running PHP with the Suhosin extension loaded. We recommend both the patch and extension for low- and high-level protections including transparent cookie encryption and remote inclusion vulnerabilities."); } }