From 04c8373b6a1fcde7b8ec340695f53469bf55dfae Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 11 Jul 2008 12:44:02 +0000 Subject: [PATCH] MFH --- .../tests/reflectionExtension_getDependencies_basic.phpt | 4 ++++ main/streams/streams.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ext/reflection/tests/reflectionExtension_getDependencies_basic.phpt b/ext/reflection/tests/reflectionExtension_getDependencies_basic.phpt index fff5c746f8..8b5293a48f 100644 --- a/ext/reflection/tests/reflectionExtension_getDependencies_basic.phpt +++ b/ext/reflection/tests/reflectionExtension_getDependencies_basic.phpt @@ -2,6 +2,10 @@ ReflectionExtension::getDependencies() method on an extension with a required and conflicting dependency --CREDITS-- Felix De Vliegher +--SKIPIF-- + --FILE-- rsrc_id); + /* increase context refcount only if the context is really used */ + if (stream && stream->context) { + zend_list_addref(stream->context->rsrc_id); } /* if the caller asked for a persistent stream but the wrapper did not -- 2.50.1