Skip to content

Commit 4856134

Browse files
remove fake scope
1 parent 32f5d11 commit 4856134

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ext/standard/user_filters.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,7 @@ php_stream_filter_status_t userfilter_filter(
217217
* no type hint or be typed as mixed, so we can safely assign null.
218218
*/
219219
if (stream_property_exists) {
220-
old_scope = EG(fake_scope);
221-
EG(fake_scope) = Z_OBJCE_P(obj);
222-
223220
zend_update_property_null(Z_OBJCE_P(obj), Z_OBJ_P(obj), ZSTR_VAL(stream_name), ZSTR_LEN(stream_name));
224-
225-
EG(fake_scope) = old_scope;
226221
}
227222

228223
zend_string_release(stream_name);

0 commit comments

Comments
 (0)