Home >Backend Development >PHP Tutorial >linux - 编译PHP的命令为什么要加上一个反斜杠

linux - 编译PHP的命令为什么要加上一个反斜杠

WBOY
WBOYOriginal
2016-06-06 20:23:361370browse

<code>./configure  --prefix=/usr/local/fastphp \
--with-mysql=mysqlnd \
--enable-mysqlnd \
--with-gd \
--enable-gd-native-ttf \
--enable-gd-jis-conv
--enable-fpm</code>

回复内容:

<code>./configure  --prefix=/usr/local/fastphp \
--with-mysql=mysqlnd \
--enable-mysqlnd \
--with-gd \
--enable-gd-native-ttf \
--enable-gd-jis-conv
--enable-fpm</code>

这个叫续行符,你理解一下

那是C的续行符吧
C语言语句以;结束,不是以行为单位的,所以C代码格式是比较灵活的,只要可以以空格间隔的代码中间都可以随意换行,只有宏定义中可以语句太长,写到一行里太长,不便于查看,可以使用\在正常情况下可以以空格间隔的地方续行。

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 远程下载文件不完整Next article:PHP SDK怎么安装