Sync with pecl extension 1.10.0-dev