PHP simple program example reference. We all know that the PHP language is embedded in the simple PHP program example? Php? Or ?? . The final result of this program will be: HelloWorld! However, we recommend that you use the PHP language embedded in the "<? Php...?>" Or "<?...>" . The final result of this program is:
Hello World!
However, we recommend that you use This method is used to write your program. The default setting file is php. in ini, this setting value is usually Off. if you need to enable this setting, you can refer to php. set "short_open_tag = Off" in ini.
Phpinfo
Below is a simple PHP program example that outputs PHP settings on a standard output device, such as PHP variables and modules:
- <? Php
- Phpinfo ();
- ?>
-
In the simple PHP program example, we can see that the PHP language is embedded in? Php? Or ?? . The final result of this program is: Hello World! However, we recommend that you use...