Closed dotterian closed 8 years ago
In PHP5 substr($a, strlen($a)) will return false.
substr($a, strlen($a))
false
In PHP7 it will return empty string, causing endless loop in condition
while ($string !== false) { /*...*/ }
So i made a quick fix
Build failed. Perhaps while ($string !== false && strlen($string))
while ($string !== false && strlen($string))
Please close this pull request, see pull request #184 instead
In PHP5
substr($a, strlen($a))
will returnfalse
.In PHP7 it will return empty string, causing endless loop in condition
So i made a quick fix