How to debug PHP program

Source: Internet
Author: User
How the PHP program is debug
By the way, PHP has a powerful set of code editing like VS, Project management and debugging in one IDE.
Those that are more useful and free? Thank you, everyone.

------Solution--------------------
Eclips for PHP has the error prompt function.
------Solution--------------------
Zend Studio
Installing a Zend Debugger is OK.
------Solution--------------------
PHP debugging is generally direct output, echo, Print_r. One-step test? To see the value of a variable, just echo it right now.
------Solution--------------------
Single-step debugging is in the compilation of the East, supposedly an explanatory language does not need a special debugging tools, you can change the code at any time and then look at the running effect, and do not need to compile and execute the like, breakpoints themselves arbitrarily set, want to test which block, single pull out test is, exit or die can set breakpoints
------Solution--------------------
Xampp,appserv,wamp can be. Whatever you want is next.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.