1--TEST--
2GH-17037 (UAF in user filter when adding existing filter name due to incorrect error handling)
3--FILE--
4<?php
5var_dump(stream_filter_register('string.toupper', 'filter_string_toupper'));
6?>
7--EXPECT--
8bool(false)
9