PHP 4.0 Bug #5833 Updated: ereg_replace fails to use correct variable type
| From: | Bug Database | Date: | Fri, 28 Jul 2000 12:10:24 +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-26704@lists.php.net to get a copy of this message | ||
ID: 5833
Updated by: waldschrott
Reported By: cveld@bigfoot.com
Status: Analyzed
Bug Type: Misbehaving function
Assigned To:
Comments:
actually, that´s not ereg´s fault, if you change
$num=3;
to
$num='3'; // a string
it´ll work
it´s maybe an (OS-specific?) autoconversion bug, the string should be converted to '3'
but for any reason it is not
Full Bug description available at: http://bugs.php.net/?id=5833