[doc-en] master: Formatting improvements to "Large Objects (LOBs)" docs (#6056)
| From: | Sebastian Hädrich via GitHub | Date: | Wed, 11 Nov 2026 12:49:57 +0000 |
| Subject: | [doc-en] master: Formatting improvements to "Large Objects (LOBs)" docs (#6056) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23933@lists.php.net to get a copy of this message | ||
Author: Sebastian Hädrich (shaedrich)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-11-11T12:49:53Z
Commit: https://github.com/php/doc-en/commit/712083f9957303a3471a098020578c267105a20e
Raw diff: https://github.com/php/doc-en/commit/712083f9957303a3471a098020578c267105a20e.diff
Formatting improvements to "Large Objects (LOBs)" docs (#6056)
Changed paths:
M reference/pdo/lobs.xml
Diff:
diff --git a/reference/pdo/lobs.xml b/reference/pdo/lobs.xml
index 1776c24d73bd..55bd43182020 100644
--- a/reference/pdo/lobs.xml
+++ b/reference/pdo/lobs.xml
@@ -19,13 +19,14 @@
<para>
<example>
<title>Displaying an image from a database</title>
- <para>
- This example binds the LOB into the variable named $lob and then sends
+ <simpara>
+ This example binds the LOB into the variable named <varname>$lob</varname> and
+ then sends
it to the browser using <function>fpassthru</function>. Since the LOB
is represented as a stream, functions such as
<function>fgets</function>, <function>fread</function> and
<function>stream_get_contents</function> can be used on it.
- </para>
+ </simpara>
<programlisting role="php">
<![CDATA[
<?php
@@ -78,13 +79,13 @@ $db->commit();
<para>
<example>
<title>Inserting an image into a database: Oracle</title>
- <para>
- Oracle requires a slightly different syntax for inserting a lob from a
+ <simpara>
+ Oracle requires a slightly different syntax for inserting a LOB from a
file. It's also essential that you perform the insert under a
transaction, otherwise your newly inserted LOB will be committed with a
zero-length as part of the implicit commit that happens when the query
is executed:
- </para>
+ </simpara>
<programlisting role="php">
<![CDATA[
<?php