cvs: phpdoc /en/reference/phar/Phar running.xml
| From: | Greg Beaver | Date: | Fri, 22 Aug 2008 04:28:05 +0000 |
| Subject: | cvs: phpdoc /en/reference/phar/Phar running.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2070@lists.php.net to get a copy of this message | ||
cellog Fri Aug 22 04:28:05 2008 UTC
Modified files:
/phpdoc/en/reference/phar/Phar running.xml
Log:
fix Doc Bug #45394: phar::running options reversed
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/Phar/running.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/phar/Phar/running.xml
diff -u phpdoc/en/reference/phar/Phar/running.xml:1.2 phpdoc/en/reference/phar/Phar/running.xml:1.3
--- phpdoc/en/reference/phar/Phar/running.xml:1.2 Sun May 18 22:59:31 2008
+++ phpdoc/en/reference/phar/Phar/running.xml Fri Aug 22 04:28:05 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="phar.running" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Phar::running</refname>
@@ -33,8 +33,8 @@
<term><parameter>retphar</parameter></term>
<listitem>
<para>
- &true; by default. If &true;, the full path on disk to the phar archive is
- returned. If &false;, a full phar URL is returned.
+ &true; by default. If &false;, the full path on disk to the phar
+ archive is returned. If &true; (default value), a full phar URL is returned.
</para>
</listitem>
</varlistentry>
@@ -64,8 +64,8 @@
<programlisting role="php">
<![CDATA[
<?php
-$a = Phar::running(); // $a is "/path/to/my.phar"
-$b = Phar::running(false); // $b is "phar:///path/to/my.phar"
+$a = Phar::running(); // $a is "phar:///path/to/my.phar"
+$b = Phar::running(false); // $b is "/path/to/my.phar"
?>
]]>
</programlisting>