> Don't forget that one fundamental aspect of PHP is, that it's a web
> language and thus receives most of its input from the web.
> Therefore it usually only gets strings as input.
>
> Consider ($_POST['intfield1'] == $_POST['intfield2'])
>
> Both variables would be strings. Still if someone would input '01'
> and '1.' you'd want this expression to return true.
>

However, XForms will have numeric datatypes. :|

http://www.w3.org/TR/2003/REC-xforms-20031014/slice5.html

Bart

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to