PHP符号

WBOY
Release: 2016-06-23 14:36:15
Original
911 people have browsed it

.= 把右边的字串加到左边

$ 变量符号
& 变量的指标(加在变量前)
@ 不显示错误信息(加在函数前)
-> 对象的方法或者属性
=> 数组的元素值

’ ’ 单引号,原样输出; 
" "双引号,php动态处理然后输出,一般用于变量.

反单引号是执行一个命令,如`pwd`

PHP转换字符串为大小写

  strtolower(); 把字符串转小写 
  strtoupper(); 把字符串转大写

PHP加密字符串

  md5();加密
  sha1();加密



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template