Hi!

> Should we use size_t/ptrdiff_t everywhere applicable? 

We should use it everywhere where we deal with zend_string and such -
i.e. where the size_t parameter is expected. If it's related to outside
library - we should use its type and check (e.g. ICU uses int32_t). For
internal things, I guess it goes on case-by-case basis, depending on how
big the thing in question can get.

-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to