PHP符号

WBOY
WBOYOriginal
2016-06-23 14:36:15905browse

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

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

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

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

PHP转换字符串为大小写

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

PHP加密字符串

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



Statement:
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
Previous article:php __tostring 与 tostringNext article:PHP 5.2.1