Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does PHP match the environment and debug code

2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces the PHP how to match the environment and debugging code, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

Lesson one: collocation of php environment and code debugging

1. The advantages and background of Php

PHP is one of the tools that allows you to generate dynamic web pages. PHP stands for: hypertext preprocessor (PHP:HypertextPreprocessor). PHP is completely free and free.

Official website: free download of http://www.php.net

2. The collocation of PHP environment

LAMP or WAMP

3. Write and debug simple PHP code

Syntax that can be used

... .

Annotation style

/ * multi-line comments in C ~ # style * /

/ / C style single-line comments

# Unix style single-line comments

4. How to deal with simple PHP errors

1. Opening the php.inidisplay_errors= on shows the wrong location

two。 Used to use echo or print to print errors

3. Learn to use comments to mask symbols for debugging

4. Know how to read the wrong message.

Thank you for reading this article carefully. I hope the article "how to match the PHP with the environment and debug the code" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development