I was wondering if it is possible to see where variable were set in php code?
That would make debugging really easier as i assign different values to same variable based on some condition.
I was wondering if it is possible to see where variable were set in
Share
Nope.
However, many good PHP IDEs (at least NuSphere’s phpEd, I’m sure Zend must have that too?) offer a possibility to jump to the point at which the variable was first used, and highlight all its occurrences.