预定义常量

下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。

XSL_CLONE_AUTO ( integer)
XSL_CLONE_NEVER ( integer)
XSL_CLONE_ALWAYS ( integer)
LIBXSLT_VERSION ( integer)
libxslt version like 10117. Available as of PHP 5.1.2.
LIBXSLT_DOTTED_VERSION ( string)
libxslt version like 1.1.17. Available as of PHP 5.1.2.
LIBEXSLT_VERSION ( integer)
libexslt version like 813. Available as of PHP 5.1.2.
LIBEXSLT_DOTTED_VERSION ( string)
libexslt version like 1.1.17. Available as of PHP 5.1.2.
XSL_SECPREF_NONE ( integer)
Deactivate all security restrictions.
XSL_SECPREF_READ_FILE ( integer)
Disallows reading files.
XSL_SECPREF_WRITE_FILE ( integer)
Disallows writing files.
XSL_SECPREF_CREATE_DIRECTORY ( integer)
Disallows creating directories.
XSL_SECPREF_READ_NETWORK ( integer)
Disallows reading network files.
XSL_SECPREF_WRITE_NETWORK ( integer)
Disallows writing network files.
XSL_SECPREF_DEFAULT ( integer)
Disallows all write access, i.e. a bitmask of XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_FILE.
关注编程学问公众号