Fix double full stop in several places.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352282 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kamil Tekiela 2020-12-29 17:43:02 +00:00
parent 591040cf0c
commit 72880807af
6 changed files with 11 additions and 11 deletions

View file

@ -213,10 +213,10 @@ $p3 = Product::fromXml($some_xml_string);
</example>
<para>
The constructor may be made private or protected to prevent it from being called externally.
If so, only a static method will be able to instantiate the class. Because they are in the
If so, only a static method will be able to instantiate the class. Because they are in the
same class definition they have access to private methods, even if not of the same object
instance. The private constructor is optional and may or may not make sense depending on
the use case..
instance. The private constructor is optional and may or may not make sense depending on
the use case.
</para>
<para>
The three public static methods then demonstrate different ways of instantiating the object.

View file

@ -4,7 +4,7 @@
<chapter xml:id="ldap.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Using the PHP LDAP calls</title>
<para>
Before you can use the LDAP calls you will need to know ..
Before you can use the LDAP calls you will need to know...
<itemizedlist>
<listitem>
<para>

View file

@ -41,7 +41,7 @@
/* procedural API */
$memcache_obj = memcache_connect('memcache_host', 11211);
/*
do something here ..
do something here...
*/
memcache_close($memcache_obj);
@ -49,7 +49,7 @@ memcache_close($memcache_obj);
$memcache_obj = new Memcache;
$memcache_obj->connect('memcache_host', 11211);
/*
do something here ..
do something here...
*/
$memcache_obj->close();

View file

@ -98,7 +98,7 @@ if (mysqli_connect_errno()) {
$mysqli->query("CREATE TEMPORARY TABLE t1 LIKE City");
/* INSERT INTO .. SELECT */
/* INSERT INTO ... SELECT */
$mysqli->query("INSERT INTO t1 SELECT * FROM City ORDER BY ID LIMIT 150");
printf("%s\n", $mysqli->info);
@ -121,7 +121,7 @@ if (mysqli_connect_errno()) {
mysqli_query($link, "CREATE TEMPORARY TABLE t1 LIKE City");
/* INSERT INTO .. SELECT */
/* INSERT INTO ... SELECT */
mysqli_query($link, "INSERT INTO t1 SELECT * FROM City ORDER BY ID LIMIT 150");
printf("%s\n", mysqli_info($link));

View file

@ -17,7 +17,7 @@
Ends a page which was started with <function>ps_begin_page</function>.
Ending a page will leave the current drawing context, which e.g. requires
to reload fonts if they were loading within the page, and to set many
other drawing parameters like the line width, or color..
other drawing parameters like the line width, or color.
</para>
</refsect1>

View file

@ -73,7 +73,7 @@ class A {
$wm[$o] = new A;
var_dump(count($wm));
echo "Unsetting..\n";
echo "Unsetting...\n";
unset($o);
echo "Done\n";
var_dump(count($wm));
@ -83,7 +83,7 @@ var_dump(count($wm));
<screen>
<![CDATA[
int(1)
Unsetting..
Unsetting...
Dead!
Done
int(0)