I don't see why allocated memory shouldn't be properly initialized in the first place. To me this looked like a bug in the engine because all

I'd guess for the same reason all C allocators don't initialize memory unless explicitly asked to - because it costs performance.

Secondly, if the engine was actually documented, I might have known about this zend_extension_op_array_ctor_handler that you just mentioned.

You are more than welcome to undertake this project :)
--
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