NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How to view PHP defines in the debugger


Joined: 18 Oct 2006
Posts: 75
Reply with quote
Joomla! is a PHP CMS/Framework that seems to use defines quite a bit. I

eg.
Code:
 
      define('JPATH_COMPONENT',            JPATH_BASE.DS.'components'.DS.$option);
      define('JPATH_COMPONENT_SITE',         JPATH_SITE.DS.'components'.DS.$option);
      define('JPATH_COMPONENT_ADMINISTRATOR',   JPATH_ADMINISTRATOR.DS.'components'.DS.$option);


Is there a way to see what value they are set to in a similar way the locals and globals can be seen/watched in the IDE?

I did search the forum for define but found nothing relevant.

TIA.
Nick.
View user's profileFind all posts by nickweaversSend private messageVisit poster's websiteYahoo Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you may want to add get_defined_constants() function call into the Watches window
or if you want to see them only once, enter get_defined_constants() followed by Enter key in the Immediate window

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
How to view PHP defines in the debugger
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic