fix Doc Bug #45394: phar::running options reversed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265263 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Greg Beaver 2008-08-22 04:28:05 +00:00
parent 43de627a27
commit ed4b32683e

View file

@ -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>