mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
43de627a27
commit
ed4b32683e
1 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue