Fix callback parameters in memcached
commitb1b6a963da95fc8be9f802d36205146b5cf8d793
authorPaul Bissonnette <paulbiss@fb.com>
Fri, 7 Nov 2014 20:33:32 +0000 (7 12:33 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Fri, 7 Nov 2014 21:00:27 +0000 (7 13:00 -0800)
tree9e7932da4bf34b5caa0a394d3a234d80c6e18c0d
parenta69a255b25c5526df423a09ca691482b105e4b1e
Fix callback parameters in memcached

Summary: Pass the Memcached object to the callback function. Also fix a problem with the
HNI type annotations.

Fixes #2797

Reviewed By: @JoelMarcey

Differential Revision: D1665298

Signature: t1:1665298:1415380054:eaff8585b1327a7d8ad95655234ed0690b550656
hphp/runtime/ext/memcached/ext_memcached.cpp
hphp/runtime/ext/memcached/ext_memcached.php
hphp/test/slow/ext_memcached/callback.php [new file with mode: 0644]
hphp/test/slow/ext_memcached/callback.php.expect [new file with mode: 0644]
hphp/test/slow/ext_memcached/callback.php.skipif [new file with mode: 0644]