SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for a recommendation

    I am fairly new to php coding and I am finding debugging my code to be a bear since I have no way at the moment to view internal variable values.

    Could someone please recommend something fairly easy and simple to use that would provide me with this information?

    Thanks!

  2. #2
    Coding and Breathing CoderMaya's Avatar
    Join Date
    Feb 2008
    Location
    Atlit, Israel
    Posts
    470
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I usually do is when I reach a point where I want to see a certain variable's content, I do var_dump($var);exit; and then I can see the contents of the variable in the last string sent to the browser.
    Learn about the new Retro Framework
    Code PHP the way it was meant to be coded!

  3. #3
    SitePoint Wizard
    Join Date
    Mar 2008
    Posts
    1,149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You want xdebug + a xdebug-capable IDE.

  4. #4
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks much, I'll try both of your suggestions


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •