let's say I have this variable:
$my_query_object = $previous_connection->query($my_query);
that mysqli_result
object according to php.net has several methods AND these properties:
int $current_field ;
int $field_count;
array $lengths;
int $num_rows;
cool.. but if I
print_r($my_query_object)
I get this property [type] => 0
at the end of the object description
Question 1:
what is this property and why it wasn't mentioned in the mysqli_result
page?!
Question 2: how can I print/echo/log/list the METHODS and PROPERTIES of an object and if I can't do both together (print properties and methods in one command) at least how can I print the methods of an object, got tired of going back and forth to php.net just to check the object's anatomy..
thanks