firephp-libs
firephp-libs copied to clipboard
mysqli_result with incorrect properties when passed as argument to firephp->log
What versions and operating system are you using?
OS: MacOSX 10.6.4 Firefox: 3.6.12 Firebug: 1.5.4 FirePHP Server Library: FirePHP Extension: 0.3
What is the problem?
Instances of mysqli_result object when logged with firephp have all properties values equal to NULL
What steps will reproduce the problem?
- connect to a MySQL server
- select a database
- execute a query with mysqli_query (an instance of mysqli_result is returned by such function call)
What is the expected output? What do you see instead?
Properties like field_count or num_rows might be different from NULL (when results can be returned after a query has been properly executed)
Please provide any additional information below.
using print_r can clearly show differences between what is output by firephp and what should be returned
See: http://code.google.com/p/firephp/issues/detail?id=157