PHP 8.3.4 Released!

XSLTProcessor::setSecurityPrefs

(PHP >= 5.4.0, PHP 7, PHP 8)

XSLTProcessor::setSecurityPrefsセキュリティ設定を指定する

説明

public XSLTProcessor::setSecurityPrefs(int $preferences): int

セキュリティ設定を指定します。

パラメータ

preferences

新しいセキュリティ設定。以下の定数を OR で指定できます。 XSL_SECPREF_READ_FILEXSL_SECPREF_WRITE_FILEXSL_SECPREF_CREATE_DIRECTORYXSL_SECPREF_READ_NETWORKXSL_SECPREF_WRITE_NETWORK。あるいは XSL_SECPREF_NONEXSL_SECPREF_DEFAULT を渡すこともできます。

戻り値

元のセキュリティ設定を返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top