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

in php 7.2 . count(null) get a warning 7.2中的count(null) 时报警告 #54

Closed
yangmeishu opened this issue Dec 28, 2017 · 3 comments
Closed

Comments

@yangmeishu
Copy link

hi man, php 7.2 version ,CaptchBuilder 333 line, count(null) has warning ,i know error_reporting setting ,but wish you fix this bug.

你好,我在php 7.2 版本使用这个组件,但是出现了错误警告,导致不能生成验证码,我知道可以定义 error_report 错误级别忽略,但是本着严谨的态度来说,希望可以修正这个错误。

@Gregwar
Copy link
Owner

Gregwar commented Dec 28, 2017

What is your version?

Line 333 doesn't contains count():
https://github.com/Gregwar/Captcha/blob/master/src/Gregwar/Captcha/CaptchaBuilder.php#L333

@yangmeishu
Copy link
Author

ha,nice ,my version 1.13 ,in 1.1.4 had fix this issue

@Gregwar
Copy link
Owner

Gregwar commented Dec 29, 2017

Indeed :-)
Glad you fixed your problem

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