Skip to content

Fix strict warnings in rand creation

Latest
Compare
Choose a tag to compare
@craig-davis craig-davis released this 01 Oct 22:22
5ac03f0

The library uses floats for the max rand number size and causes warnings in php strict mode. This release converts the library to using PHP_INT_MAX for rand sizes.

This release has not been thoroughly tested with Google. Please open issue if any problems are found https://github.com/there4/php-analytics-event/issues

Please consider migrating to: https://github.com/theiconic/php-ga-measurement-protocol