Php/docs/xsltprocessor.getsecurityprefs

来自菜鸟教程
跳转至:导航、​搜索

XSLTProcessor::getSecurityPrefs

(PHP >= 5.4.0)

XSLTProcessor::getSecurityPrefsGet security preferences


说明

public XSLTProcessor::getSecurityPrefs ( ) : int

Gets the security preferences.


参数

此函数没有参数。


返回值

A bitmask consisting of XSL_SECPREF_READ_FILE, XSL_SECPREF_WRITE_FILE, XSL_SECPREF_CREATE_DIRECTORY, XSL_SECPREF_READ_NETWORK, XSL_SECPREF_WRITE_NETWORK.