mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
php is PHP, perl is Perl, some typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@55455 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0dfddd7d83
commit
9f12c2dc32
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<chapter id="pear.standards">
|
||||
<title>PEAR Coding Standards</title>
|
||||
<note>
|
||||
|
@ -15,7 +15,7 @@
|
|||
Use an indent of 4 spaces, with no tabs. If you use Emacs to edit PEAR
|
||||
code, you should set indent-tabs-mode to nil. Here is an example mode
|
||||
hook that will set up Emacs according to these guidelines (you will
|
||||
need to ensure that it is called when you are editing php files):
|
||||
need to ensure that it is called when you are editing PHP files):
|
||||
<programlisting role="elisp">
|
||||
(defun php-mode-hook ()
|
||||
(setq tab-width 4
|
||||
|
@ -157,8 +157,8 @@ function connect(&$dsn, $persistent = false)
|
|||
forget how it works.
|
||||
</para>
|
||||
<para>
|
||||
C style comments (/* */) and standard C++ comments (// ) are both
|
||||
fine. Use of perl/shell style comments (# ) is discouraged.
|
||||
C style comments (/* */) and standard C++ comments (//) are both
|
||||
fine. Use of Perl/shell style comments (#) is discouraged.
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue