Closed Ayesh closed 6 years ago
There is one usage of intval() that we could convert to an (int) type cast. intval() has a function call overhead, and in older PHP versions, (int) cast is 2-3 times faster than intval().
intval()
(int)
Sending a PR hoping you could review and merge.
Thank you.
There is one usage of
intval()
that we could convert to an(int)
type cast.intval()
has a function call overhead, and in older PHP versions,(int)
cast is 2-3 times faster thanintval()
.Sending a PR hoping you could review and merge.
Thank you.