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

PHP-SDK源码lib/mailsend.php文件中110行代码是否有问题? #7

Open
jaycial opened this issue Jul 23, 2019 · 2 comments
Open

Comments

@jaycial
Copy link

jaycial commented Jul 23, 2019

path:lib/mailsend.php
line: : 110

屏幕快照 2019-07-23 下午4 47 40

经过上边的foreach循环后,$request['to']肯定是个字符串吧,下边为什么用了count($request['to']),明显会报错?

@jaycial jaycial changed the title PHP-SDK源码中这一行是否有问题? PHP-SDK源码lib/mailsend.php文件中110行代码是否有问题? Jul 23, 2019
@Ynwaspectre
Copy link

path:lib/mailsend.php
line: : 110

屏幕快照 2019-07-23 下午4 47 40

经过上边的foreach循环后,$request['to']肯定是个字符串吧,下边为什么用了count($request['to']),明显会报错?

发现了,是会报错

@Ynwaspectre
Copy link

count($request['to'])-2 ==> strlen($request['to']-1)

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

2 participants