the code is

if (ZEND_NUM_ARGS() >= 3 && Z_TYPE_P(length_param) != IS_NULL) {
        length = Z_LVAL_P(length_param);
} else {
        length = num_in;
}

and afaik should be

I think in fact it should just parse it as long and not as zval - what would be any reason to parse it as zval and then convert to long anyway?
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

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

Reply via email to