PHP 4.0 Bug #5833 Updated: ereg_replace fails to use correct variable type
| From: | Bug Database | Date: | Sat, 29 Jul 2000 19:26:17 +0000 |
| Subject: | PHP 4.0 Bug #5833 Updated: ereg_replace fails to use correct variable type | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26855@lists.php.net to get a copy of this message | ||
ID: 5833
User Update by: cveld@bigfoot.com
Status: Closed
Bug Type: Misbehaving function
Description: ereg_replace fails to use correct variable type
I don't exactly know how php solves its dynamic type casting, but it should be so that $i= 3;
would succeed IS_LONG and not IS_STRING. Is it so difficult to add a IS_STRING check to the
ereg-functions? php is just not the language to default to binary encoding...
Full Bug description available at: http://bugs.php.net/?id=5833