Intellisense doesn't work on return value of PDO::prepare.
Posted: June 22nd, 2013, 11:26 am
I use PHP Tools for Visual Studio 2010 (PERSONAL LICENSE).
I make new PDO Instance and invoke its PDO::prepare method, and received return value by a variant. Then I input "->" string after the variant that holds PDOStatement, but its intellisense doesn't work.
Is there a way to enable intellisense on return value of PDO::prepare?
I make new PDO Instance and invoke its PDO::prepare method, and received return value by a variant. Then I input "->" string after the variant that holds PDOStatement, but its intellisense doesn't work.
- Code: Select all
<?php
$pdo = new PDO("mysql:dbname=foo;host=localhost", "user", "pass");
$stmt = $pdo->prepare("insert into test(id) values(10)");
$stmt-> // Intellisense doesn't work here.
Is there a way to enable intellisense on return value of PDO::prepare?