The PHP driver does not correctly defines the database connection as being a valid resource. Due to this, one cannot check if the connection is valid using is_resource($link). Funny thing is that print_r($link) correctly prints this as: Resource id #4
Additionally, get_resource_type, returns Unknown.
See attached script for testing this.