PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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