From 3753c8f271b39fc53c6aed3e3d3802c4371cd43e Mon Sep 17 00:00:00 2001 From: Frederick Zhang Date: Thu, 26 May 2016 14:49:29 +1000 Subject: [PATCH] phpdoc updated --- php_bencode_doc.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/php_bencode_doc.php b/php_bencode_doc.php index 8c89f75..c1901e3 100644 --- a/php_bencode_doc.php +++ b/php_bencode_doc.php @@ -201,6 +201,15 @@ function encode() { } + /** + * @param string|int $needle + * @param int $mode 0: search keys; 1: search values + * @return string[] paths of the matching entries + */ + function search($needle, $mode) + { + } + /** * @return array Return the array without meta * @@ -380,6 +389,16 @@ function encode() { } + /** + * @param string|int $needle + * @param int $mode + * @return string[] + * @see bdict::search() + */ + function search($needle, $mode) + { + } + /** * @return array Return the array without meta * @see bdict::to_array()