thing is that I don't see macros ZVAL_SAFE_REF_ADD and ZVAL_SAFE_REF_SET used anywhere, so probably there's no need for them.

My bad - they are used of course, I just looked into the wrong place.
I would however rename ZVAL_SAFE_REF to something like ZVAL_SAFE_ADDREF.
Also, comparing values to 0xffff might be not effective if they are ushort...
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/

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

Reply via email to