On Tue, 2015-01-20 at 14:13 -0800, Rasmus Lerdorf wrote: > So, I guess the lesson is that we need to be careful when we migrate > extensions to PHP 7. Passing ints instead of size_t string length params > to zpp can cause extreme weirdness and we should go through all our > bundled extensions and make sure things that are still using "s" have > all been changed to size_t.
There is this plugin to clang's static analyzer which should help: https://github.com/johannes/clang-php-checker It might needs updates for current types, though. Relevant code place to update: https://github.com/johannes/clang-php-checker/blob/master/PHPZPPChecker.cpp#L67 johannes
signature.asc
Description: This is a digitally signed message part