Blogger Information
Blog 28
fans 0
comment 1
visits 13406
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
#初学PHP
centos
Original
523 people have browsed it

初学PHP

安装phpstudy集成包,我这里安装了wamp

初学知识点

  1. <?php
  2. echo "张峰";
  3. echo "<br>";
  4. echo 3;
  5. // 1.变量命名
  6. // 可以包含大小写字母、数字、下划线
  7. // 不能数字开头
  8. // 可以下划线开头
  9. // 2.变量命名书写规则
  10. // 下划线连接
  11. // 小驼峰命名
  12. // 大驼峰命名
  13. $my_name= '小王';
  14. $myName = '小王';
  15. $MyName = '小王';
  16. echo $my_name;
  17. echo "<br>";
  18. echo $myName;
  19. echo "<br>";
  20. echo $MyName;
  21. echo "<br>";
  22. // 3.双引号和单引号
  23. // 单引号可以包含字符串和文本
  24. // 双引号可以保存文本、变量
Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post