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

Warning in PHP 5.2 #2

Open
sama55 opened this issue Mar 31, 2014 · 1 comment
Open

Warning in PHP 5.2 #2

sama55 opened this issue Mar 31, 2014 · 1 comment

Comments

@sama55
Copy link

sama55 commented Mar 31, 2014

This warning was displayed. My environment is PHP 5.2. If movement warranty conditions of this plugin are more than PHP5.3, it is no problem.

Message:
Notice: Use of undefined constant PHP_ROUND_HALF_UP
Warning: Wrong parameter count for round()

Reference:
http://stackoverflow.com/questions/4948373/php-undefined-constant-php-round-half-down

Thanks.

@TohidN
Copy link
Member

TohidN commented Mar 31, 2014

thanks for reporting it @sama55. I made an experiment and it turned out PHP_ROUND_HALF_UP doesn't have an effect on end result what so ever. so I removed it.
your participation is much appreciated.

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