Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmssl_cert_verify_by_ca_cert 这个函数的反射参数名称相同 #3

Open
windqyoung opened this issue May 23, 2023 · 0 comments
Open

Comments

@windqyoung
Copy link

通过反射获取的函数签名是

    function gmssl_cert_verify_by_ca_cert($cert, $cert, $id)
    {
    }

通过 php --rf gmssl_cert_verify_by_ca_cert 获得的结果是

Function [ <internal:gmssl> function gmssl_cert_verify_by_ca_cert ] {

  - Parameters [3] {
    Parameter #0 [ <required> $cert ]
    Parameter #1 [ <required> $cert ]
    Parameter #2 [ <required> $id ]
  }
}

感觉不符合语法, 在php8通过命名参数调用的时候, 没法调用.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant