Correctly init UserFile's context fixing $object->context
commit440a15c435587b9c662549ddd64c2a618367b041
authorJim Radford <radford@blackbean.org>
Thu, 3 Apr 2014 21:16:01 +0000 (3 14:16 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 4 Apr 2014 17:04:29 +0000 (4 10:04 -0700)
tree6175c19e57004d7eed002bad6d22f170f7890038
parent2a1168bc2b182890e8de4a21a363cb1742995706
Correctly init UserFile's context fixing $object->context

Fixes #1991.
Closes #2294

Reviewed By: @ptarjan

Differential Revision: D1255482

Pulled By: @alexmalyshev
hphp/runtime/base/user-file.cpp
hphp/test/slow/ext_stream/user_registered_context.php [new file with mode: 0644]
hphp/test/slow/ext_stream/user_registered_context.php.expectf [new file with mode: 0644]