What steps will reproduce the problem?
1. phpQuery::browserGet('http://google.com', 'test', $p1, $p2);
2.
function test($b, $p1, $p2){
// print_r(func_get_args());
print func_num_args();
}
3.
What is the expected output?
3
What do you see instead?
2 (phpQueryObject not returned)
What version of the product are you using?
Latest
On what operating system?
Linux
Please provide any additional information below.
In my opinion the bug is in WebBrowser.php line 113-115.
Suggested fix:
comment out line 114.
add new line on 112:
array_unshift(self::browserReceive($xhr)->WebBrowser(),$paramStructure);
If it is not a bug, please let me know how can I use this.
Also I'm interested, is there a way to obtain the returned object without using
callback function? Maybe pass-by-reference object, to get the phpQueryObject.
Original issue reported on code.google.com by gjorgjio...@gmail.com on 22 Aug 2010 at 3:53
Original issue reported on code.google.com by
gjorgjio...@gmail.com
on 22 Aug 2010 at 3:53