Re: is_int/is_numeric possible bug
| From: | Antony Dovgal | Date: | Tue, 29 Nov 2005 17:26:44 +0000 |
| Subject: | Re: is_int/is_numeric possible bug | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20846@lists.php.net to get a copy of this message | ||
On 29.11.2005 20:22, Gareth Ardron wrote:
Antony Dovgal wrote:I can hardly believe in that because the engine doesn't depend on the SAPI used. Execute this code and see what you get../sapi/cli/php -r 'var_dump(is_int("jkhdsjh"));' bool(false) ./sapi/cli/php -v PHP 5.1.2-dev (cli) What am I doing wrong?well that's interesting. I think it's something to do with the way the var is passed - so could even be a problem with the apache sapi.
(I was using apache 1.3.33 (stock debian release) just so you know.)And PHP from .deb too? *That* could be a problem. -- Wbr, Antony Dovgal