It must not de deleted (just closed), because it still may be referenced from zval(s).
This fixes few ext/ftp test memory failures detected with valgrind.
# By Dmitry Stogov (5) and others
# Via Xinchen Hui (3) and Dmitry Stogov (1)
* 'phpng' of git.php.net:php-src:
restore unexpected commit
Convert to unpacked before deleting elements
- Fixed ZTS build
Fix memory error in spl_directory.c
Fix spl_directory cast_object, reenable error
Support for ext/phar (all tests passed)
ext/phar support (incomplete)
Fixed double free (xmlrpc is done, 1 test failed due to knew issue)
Fixed typo
Refactoring ext/xmlrpc (incompleted)
Removed error message that breaks phar
ext/phar support (incomplete)
Refactor ext/gd (all tests passes)
Fixed wrong buffer length (added place for terminating zero)
# By Xinchen Hui
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Fixed reference handling
Fixed IS_INDRICT handling
Fixed fields handling
Refactoring wddx (incompleted, is there any one use it? )
Finish refactoring of MySQLi
Various bug fixes (now 17 tests fails, it is 11 in trunk)
Various bug fixed
# By Xinchen Hui (27) and others
# Via Xinchen Hui (5) and others
* 'phpng' of git.php.net:php-src: (47 commits)
Refactor MySQLi (incompleted, only compilable now)
Add support for pspell
update for phpng
Test push (previous push didn't send mail?)
Added smart_string to avoid string duplicated
Use strpprintf
Added vstrpprintf strpprintf to avoid duplicate string
Refactor sysvsem, sysvshm, sysmsg
Fix identical comparison of arrays with references
Fix strtr() segfault
Code cleanup in proc_open
Finish ext/curl (7 tests fails as trunk)
Fixed post data (long type cast matters here :<)
Use zend_string for better performance
Fixed clone refcount
Fixed build with high version libcurl
Refactoring ext/curl (only compilable now)
Fix proc_open resource destruction
Support for ext/phar (incomplete)
Finish bz2 (all tests passed)
...