En/php debug: Difference between revisions
Links update and some minor fixes. Moreover the new syntax highlight extension was enabled |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{header_en|title=Debugging PHP scripts| keyword={{Template:keyword_en_php}}| description=Some tips and tricks to debug PHP source code | link_page=php_debug}} | |||
== Introduction == | == Introduction == | ||
| Line 52: | Line 46: | ||
Below are three PHP listings referring to the parser runs executed in the above lines. Some syntax errors, even really dumb ones, were added to the first two. The main difference among the two being the resolution of the bug at line 2 where an ";" character was added to close the line of code. The third and last listing contains the correct code. | Below are three PHP listings referring to the parser runs executed in the above lines. Some syntax errors, even really dumb ones, were added to the first two. The main difference among the two being the resolution of the bug at line 2 where an ";" character was added to close the line of code. The third and last listing contains the correct code. | ||
''hello_world.php - Listing 1'': Contains many syntax errors. | ''hello_world.php - Listing 1'': Contains many syntax errors. | ||
| Line 144: | Line 139: | ||
---- | ---- | ||
{{footer_en | link_page=php_debug}} | |||