PHP 4.0 Bug #9654: is_type consolidation

From: Date: Fri, 09 Mar 2001 14:57:24 +0000
Subject: PHP 4.0 Bug #9654: is_type consolidation
Groups: php.dev 
Request: Send a blank email to php-dev+get-48407@lists.php.net to get a copy of this message
From: adam@cryptocomm.com Operating system: FreeBSD 4.2 PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: is_type consolidation It would be much more clean and quick to consolidate all the "is" functions into like is_type($variable, "int") and have it return the true or false based on if the value of $variable is the datatype you specified as the second paramter. This makes more sense to me then having like 20 is_whatever functions. -- Edit Bug report at: http://bugs.php.net/?id=9654&edit=1

« previous php.dev (#48407) next »