summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2010-11-15 03:22:26 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2010-11-15 03:22:26 +0000
commitdc8bc65fe68356c51bd3e10961e4e267ff7a3283 (patch)
tree3a70b8189fe280466cf2dc06a200e07c85004e41 /UPGRADING.INTERNALS
parent3a02cfb675da68e81c40226135ac4121e72f1378 (diff)
downloadphp-git-dc8bc65fe68356c51bd3e10961e4e267ff7a3283.tar.gz
- Fixed incorrection in UPGRADING.INTERNALS.
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r--UPGRADING.INTERNALS9
1 files changed, 4 insertions, 5 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 525b19a1a5..c58b8d2394 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -106,11 +106,10 @@ To prevent this from happening when the inner stream is freed from the outer
stream, the macro php_stream_free_enclosed should be used instead of
php_stream_free/php_stream_close/php_stream_pclose, or the flag
PHP_STREAM_FREE_IGNORE_ENCLOSING should be directly passed to php_stream_free.
-The outer stream cannot abstain, in its close callback, from either closing the
-inner stream or clear the enclosing_stream pointer in its enclosed stream by
-calling php_stream_encloses with the 2nd argument NULL. If this is not done,
-there will be problems, so observe this requirement when using
-php_stream_encloses.
+The outer stream cannot abstain, in its close callback, from closing the inner
+stream or clear the enclosing_stream pointer in its enclosed stream by calling
+php_stream_encloses with the 2nd argument NULL. If this is not done, there will
+be problems, so observe this requirement when using php_stream_encloses.
g. leak_variable
The function leak_variable(variable [, leak_data]) was added. It is only