On 29.11.2005 20:22, Gareth Ardron wrote:
Antony Dovgal wrote:

./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 can hardly believe in that because the engine doesn't depend on the SAPI used.
Execute this code and see what you get.

(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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to