PHP learning notes 01PHP integrated installation environment AppServ, built-in apache, mysql, php script parsing tools. Development Tool: ZendStudio. : Http://www.zendstudio.net /. Set workspace to the phpwww directory for debugging. PHP Study Notes 01
AppServ is an Integrated PHP installation environment with built-in apache, mysql, and php script parsing tools.
Development Tool: Zend Studio. : Http://www.zendstudio.net /.
Set the workspace to the php www directory for debugging.
Set the Zend template.
Set the code prompt.
%>
Write php code.
// Single line comment
/**/Multi-line comment
Browser output first
Echo ""; the running speed is slightly faster. echo single quotes are entered directly without conversion.
Print ""; returns an integer.
The variable starts with $ and does not need to be defined.
Data type conversion
Add a type before the variable, which can be forcibly converted, such as (float) $ num
Gettype () get the variable type
Settype () can also be used for type conversion.
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