Variable $name seems to be uninitialized
Anyone know how to make Netbeans see that it is in fact initiated in the file that is being included?
<?php $temp = new Template();
<?php /** * @var $temp Template */ require_once "config.php"; $temp->display("index.tpl");
In my above example, in index.php $temp says Variable $temp seems to be uninitialized and yet it is but in the included file. adding the @var turns on auto complete, in the file for $temp, but the variable still shows it is uninitialized.
So, Anyone know how to turn it on in Netbeans?