However this functionality can become a flaw when handling MD5 string whose value has the form 0e followed by digits between 0 and 9.
The PHP language has a default functionality: the type juggling which allows to not define the type of variable used, the PHP engine tries to automatically detect if the variable is a string, an integer, etc.