aboutsummaryrefslogtreecommitdiff
path: root/Doc/Manual
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2012-05-10 06:09:15 +0000
committerOlly Betts <olly@survex.com>2012-05-10 06:09:15 +0000
commitdba3dc5148531b5747999a6e2bb5b888ab94b186 (patch)
treedfeafad33abb5e7940cb612ac4e130e0ab0c027f /Doc/Manual
parentaf079aa439c4fed624b273799a29fe7b147e52fe (diff)
downloadswig-dba3dc5148531b5747999a6e2bb5b888ab94b186.tar.gz
Minor improvements to the text.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Doc/Manual')
-rw-r--r--Doc/Manual/Php.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/Manual/Php.html b/Doc/Manual/Php.html
index 19ace7192..659fb0a89 100644
--- a/Doc/Manual/Php.html
+++ b/Doc/Manual/Php.html
@@ -146,7 +146,7 @@ least work for Linux though):
<p>
To test the extension from a PHP script, you need to load it first. You
-can load it for every script by adding this line the <tt>[PHP]</tt> section of
+can load it for every script by adding this line to the <tt>[PHP]</tt> section of
<tt>php.ini</tt>:
</p>
@@ -156,7 +156,7 @@ can load it for every script by adding this line the <tt>[PHP]</tt> section of
<p>
Alternatively, you can load it explicitly only for scripts which need it
-by adding this line:
+by adding this line to the start of each such PHP script::
</p>
<div class="code"><pre>
@@ -164,7 +164,7 @@ by adding this line:
</pre></div>
<p>
-to the start of each PHP file. SWIG also generates a php module, which
+SWIG also generates a php module, which
attempts to do the <tt>dl()</tt> call for you:
</p>
@@ -705,7 +705,7 @@ would be accessed in PHP as,
<div class="code"><pre>
include("example.php");
-echo "There has now been " . Ko::threats() . " threats\n";
+echo "There have now been " . Ko::threats() . " threats\n";
</pre></div>
@@ -718,7 +718,7 @@ function, e.g.
Ko::threats(10);
-echo "There has now been " . Ko::threats() . " threats\n";
+echo "There have now been " . Ko::threats() . " threats\n";
</pre></div>
<H4><a name="Php_nn2_6_4"></a>32.2.6.4 Static Member Functions</H4>