PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Form » Bug #3870

type check in HTML_Form::displaySelect

Details

Submitted2005-03-18 10:38 UTC
Fromindeyets at gmail dot com
Assigneddanielc
StatusBogus
PackageHTML_Form
PHP Version4.3.10
Roadmaps(Not assigned)

Comments

[2005-03-18 10:38 UTC] indeyets at gmail dot com

Description:
------------
HTML_Form::displaySelect() method checks for a type of "default value", which makes it really hard to work with numeric values.

it would be more convenient, if the check was always made with strval()'s

like:
strval($a) == strval($b)

while, current situation is more like
$a === $b