Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
strripos() doesn't return a different value than the one returned from strrpos, when searching for '.'.
The use of strripos(), is therefore perfectly useless.
That function call causes the module to run only on PHP5 but the module doesn't declare this dependency from the specific version of PHP in its installation file. It would rather preferable to change the function called.
Comments
Comment #1
avpadernoThe called function is
strripos(), which is used to find a dot in a string. I think thatstrrpos()is enough in such cases.Comment #2
avpadernostrripos()doesn't return a different value than the one returned fromstrrpos, when searching for'.'.The use of
strripos(), is therefore perfectly useless.That function call causes the module to run only on PHP5 but the module doesn't declare this dependency from the specific version of PHP in its installation file. It would rather preferable to change the function called.
Comment #3
avpadernoI am closing this issue, which is for a not supported Drupal version.