Undefined variables in Zend Studio

General discussion on Zend Studio
Post Reply
Posts: 2
Joined: Thu Nov 22, 2012 11:44 am

Undefined variables in Zend Studio

Post by porspan » Tue Sep 27, 2016 3:40 pm


I'm testing the last version of Zend Studio.

In Windows=>Preferences=>PHP=>Semantics Analisys I marked tne option "variable is undefined" as a warnig

The problem, I have lines marked with warning and they are not
For examples:

$colNames=""; // The first ocurrence of the variables
$res = $zfDB->exec($sql); // $sfDB is defined in another PHP file, included with require_once sentence.

Kind regards
Justo Alonso

Post Reply