mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
print() returns 1, always.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130317 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
01a4f69692
commit
7455fa9005
1 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.print">
|
||||
<refnamediv>
|
||||
|
@ -9,16 +9,17 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>print</methodname>
|
||||
<type>int</type><methodname>print</methodname>
|
||||
<methodparam><type>string</type><parameter>arg</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
Outputs <parameter>arg</parameter>. &return.success;
|
||||
Outputs <parameter>arg</parameter>. Returns <literal>1</literal>,
|
||||
always.
|
||||
</simpara>
|
||||
<para>
|
||||
<function>print</function> is not actually a real function (it is a
|
||||
language construct) so you are not required to use parentheses
|
||||
with it.
|
||||
with its argument list.
|
||||
</para>
|
||||
<example>
|
||||
<title><function>print</function> examples</title>
|
||||
|
|
Loading…
Reference in a new issue