![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
KylinJoe
这个作者很懒,什么都没留下…
展开
-
单引号和双引号的区别
PHP允许我们在双引号串中直接包含字串变量[code="PHP"]$str='hello';echo "str is $str"; //运行结果: str is helloecho 'str is $str'; //运行结果: str is $str[/code]原创 2015-10-20 12:37:11 · 113 阅读 · 0 评论 -
PHP字符串的连接
在Java中连接字符串通常用'+',在PHP中,连接字符串我们使用'.'[code="PHP"]输出结果为:I Love You[/code]原创 2015-10-20 12:40:39 · 116 阅读 · 0 评论