cadorn / firephp-libs

FirePHP Server Libraries
http://www.firephp.org/
23 stars 15 forks source link

mysqli_result with incorrect properties when passed as argument to firephp->log #5

Open cadorn opened 13 years ago

cadorn commented 13 years ago

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?

  1. connect to a MySQL server
  2. select a database
  3. 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

cadorn commented 13 years ago

See: http://code.google.com/p/firephp/issues/detail?id=157