x1nick Posted December 13, 2009 Share Posted December 13, 2009 Hi I have been giving zend studio a trial, have been using dreamweaver but really need to switch away from this. Im having a small problem with the undefined variable warnings. Basically my framework works through 3 different files index.php ajax.php api.php Each one of these includes a default library which has all my functions/variables. Now when editing files which are included from other files (eg index.php includes functions.php) I will be editing functions.php but get warning messages because some variables have been previously defined in index.php Is there any way round this? Quote Link to comment https://forums.phpfreaks.com/topic/185021-zend-undefined-variable/ Share on other sites More sharing options...
trq Posted December 14, 2009 Share Posted December 14, 2009 Is there any way round this? Don't define variables within the global scope. Quote Link to comment https://forums.phpfreaks.com/topic/185021-zend-undefined-variable/#findComment-976663 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.