How do you debugPHP? How do you debug PHP?
What software is used?
My ide uses netbeans.
It is usually a line by line.
Alas, the code has an additional count,
It's a waste of morning.
Reply to discussion (solution)
Check apache log.
When an error is displayed, php will tell you all syntax errors.
However, no debugging tool can check the correctness of the business process for you. for example, if the code is written with an additional count, it is not a syntax error.
Run apache. log
Error log
Check for logical errors. var_dump is usually used for hitting.
Var_dump + 1
Enable error display error_reporting (E_ALL); clear the logic problem yourself !!
Breakpoint debugging ..
Check apache log.
How old are you...
1. error_reporting (E_ALL)
2. breakpoint debugging var_dump ()
3. breakpoint debugging tool of ide editor
Good, learning...
Thank you!