Re: cvs: php-src(PHP_5_0) /ext/standard php_incomplete_class.h
| From: | Stanislav Malyshev | Date: | Mon, 10 Oct 2005 21:52:40 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_0) /ext/standard php_incomplete_class.h | ||
| References: | 1 2 3 4 5 6 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-34506@lists.php.net to get a copy of this message | ||
MB>>class as zend_uint. This is wrong since both strlen() and sizeof()
MB>>return size_t and both are used on the registering part. Thus the
MB>>origin is already wrong.
ZE uses uints for key lengthes in all places. The fact that strlen and
sizeof() return size_t is of purely theoretical interest since there would
never be a class/function/variable name in ZE of size more than 2^32-1 or
even close to that, for that matter. However, the fact that serialize()
was broken on all 64-bit platforms is of very practical imporance. That was
what I fixed.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115