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

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

WBOY
Release: 2016-06-06 20:23:36
Original
1378 people have browsed it

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

回复内容:

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

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

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

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