I'm using NetBeans and PHP. For example, I insert this code:
<?php
try {
$dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass);
foreach($dbh->query('SELECT * from FOO') as $row) {
print_r($row);
}
$dbh = null;
} catch (PDOException $e) {
print "Error!: " . $e->getMessage() . "<br/>";
die();
}
?>
Now, when I hover my mouse over the $dbh symbol, I get no information about it. Other IDEs tell me which methods an object understands. I'm sure NetBeans can do the same. How?