我正在尝试在 php 中创建 System.Security.Cryptography.Rfc2898DeriveBytes 对象,
所以我写道:
$obj = new COM('System.Security.Cryptography.Rfc2898DeriveBytes');
但我得到了:
致命错误:未捕获的异常 'com_exception' 带有消息'无法创建 COM 对象'System.Security.Cryptography.Rfc2898DeriveBytes':语法无效
这段代码有什么问题?