While trying to validate some text, I recently came across this feature of the [man]ctype_alpha[/man] function
dl("php_ctype.dll");
if (ctype_alpha ( '' ))
{
echo "<p>That is a letter</p>"; //gets executed!!!
}
else
{
echo "<p>Not a letter</p>";
}
phpinfo();
I'm using PHP4.1.1. Does anyone know if this happens in later versions too?