use example.outputs[.similar] entity

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181877 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2005-03-11 16:11:52 +00:00
parent 5b37c04045
commit d259129bb0
32 changed files with 66 additions and 128 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.is-dir">
<refnamediv>
@ -31,9 +31,7 @@ var_dump(is_dir('..')); //one dir up
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
bool(false)

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.bindec">
<refnamediv>
@ -36,9 +36,7 @@ echo bindec('111');
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
51

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.decbin">
<refnamediv>
@ -28,9 +28,7 @@ echo decbin(26);
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
1100

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.dechex">
<refnamediv>
@ -28,9 +28,7 @@ echo dechex(47);
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.8 -->
<refentry id="function.decoct">
<refnamediv>
@ -28,9 +28,7 @@ echo decoct(264);
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
17

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.exp">
<refnamediv>
@ -33,9 +33,7 @@ echo exp(5.7);
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
1.6275E+005

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.mt-rand">
<refnamediv>
@ -44,9 +44,7 @@ echo mt_rand(5, 15);
?>
]]>
</programlisting>
<para>
The above example will output something similar to:
</para>
&example.outputs.similar;
<screen>
<![CDATA[
1604716014

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.octdec">
<refnamediv>
@ -31,9 +31,7 @@ echo octdec(decoct(45));
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
63

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.rand">
<refnamediv>
@ -34,9 +34,7 @@ echo rand(5, 15);
?>
]]>
</programlisting>
<para>
The above example will output something similar to:
</para>
&example.outputs.similar;
<screen>
<![CDATA[
7771

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.mb-list-encodings">
<refnamediv>
<refname>mb_list_encodings</refname>
@ -29,9 +29,7 @@ print_r(mb_list_encodings());
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
Array

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 -->
<refentry id="function.mcrypt-encrypt">
<refnamediv>
@ -67,9 +67,7 @@
?>
]]>
</programlisting>
<para>
The above example will print out:
</para>
&example.outputs;
<screen>
<![CDATA[
42

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 -->
<refentry id="function.mcrypt-get-cipher-name">
<refnamediv>
@ -38,9 +38,7 @@
?>
]]>
</programlisting>
<para>
The above example will produce:
</para>
&example.outputs;
<screen>
<![CDATA[
3DES

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 -->
<refentry id="function.mcrypt-module-self-test">
<refnamediv>
@ -33,9 +33,7 @@ var_dump(mcrypt_module_self_test(MCRYPT_BOGUS_CYPHER));
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
bool(true)

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mhash.xml, last change in rev 1.2 -->
<refentry id="function.mhash-get-hash-name">
<refnamediv>
@ -33,9 +33,7 @@ echo mhash_get_hash_name($hash);
?>
]]>
</programlisting>
<para>
The above example will print out:
</para>
&example.outputs;
<screen>
<![CDATA[
MD5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.mime-content-type">
<refnamediv>
<refname>mime_content_type</refname>
@ -28,9 +28,7 @@ echo mime_content_type('test.php');
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
image/gif

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<!-- splitted from ./en/functions/misc.xml, last change in rev 1.58 -->
<refentry id="function.eval">
<refnamediv>
@ -58,9 +58,7 @@ echo $str. "\n";
?>
]]>
</programlisting>
<para>
The above example will show:
</para>
&example.outputs;
<screen>
<![CDATA[
This is a $string with my $name in it.

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.ob-get-flush">
<refnamediv>
<refname>ob_get_flush</refname>
@ -41,9 +41,7 @@ print_r(ob_list_handlers());
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
Array

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.ob-list-handlers">
<refnamediv>
<refname>ob_list_handlers</refname>
@ -36,9 +36,7 @@ ob_end_flush();
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
Array

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.output-add-rewrite-var">
<refnamediv>
<refname>output_add_rewrite_var</refname>
@ -42,9 +42,7 @@ print_r(ob_list_handlers());
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
<a href="file.php?var=value">link</a>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.output-reset-rewrite-vars">
<refnamediv>
<refname>output_reset_rewrite_vars</refname>
@ -34,9 +34,7 @@ echo '<a href="file.php">link</a>';
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
<a href="file.php?PHPSESSID=xxx&var=value">link</a>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry id="function.ArrayIterator-current">
<refnamediv>
<refname>ArrayIterator::current</refname>
@ -38,9 +38,7 @@ for($iterator = $arrayobject->getIterator();
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
1 => one

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.ArrayIterator-next">
<refnamediv>
<refname>ArrayIterator::next</refname>
@ -37,9 +37,7 @@ while($iterator->valid()) {
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
0 => zero

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry id="function.ArrayObject-construct">
<refnamediv>
<refname>ArrayObject::__construct</refname>
@ -33,9 +33,7 @@ var_dump($arrayobject);
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
object(ArrayObject)#1 (3) {

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.crypt">
<refnamediv>
@ -140,9 +140,7 @@ if (CRYPT_BLOWFISH == 1) {
?>
]]>
</programlisting>
<para>
The above example will output something similar to:
</para>
&example.outputs.similar;
<screen>
<![CDATA[
Standard DES: rl.3StKT.4T8M

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.explode">
<refnamediv>
@ -87,9 +87,7 @@ print_r(explode('|', $str, -1));
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
Array

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.strip-tags">
<refnamediv>
@ -64,9 +64,7 @@ echo strip_tags($text, '<p>');
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
Test paragraph. Other text

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/sybase.xml, last change in rev 1.2 -->
<refentry id="function.sybase-affected-rows">
<refnamediv>
@ -34,9 +34,7 @@
?>
]]>
</programlisting>
<para>
The above example would produce the following output:
</para>
&example.outputs;
<screen>
<![CDATA[
Records deleted: 10

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry id="function.tidy-error-count">
<refnamediv>
<refname>tidy_error_count</refname>
@ -34,9 +34,7 @@ echo $tidy->ErrorBuffer;
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
1

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.tidy-parse-string">
<refnamediv>
<refname>tidy_parse_string</refname>
@ -60,9 +60,7 @@ echo $tidy;
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry id="function.tidy-repair-string">
<refnamediv>
<refname>tidy_repair_string</refname>
@ -46,9 +46,7 @@ echo $tidy;
?>
]]>
</programlisting>
<para>
The above example will output:
</para>
&example.outputs;
<screen>
<![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.get-headers">
<refnamediv>
<refname>get_headers</refname>
@ -37,9 +37,7 @@ print_r(get_headers($url, 1));
?>
]]>
</programlisting>
<para>
The above example will output something like:
</para>
&example.outputs.similar;
<screen>
<![CDATA[
Array

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.2 -->
<refentry id="function.unset">
<refnamediv>
@ -70,7 +70,7 @@ echo $foo;
]]>
</programlisting>
</informalexample>
The above example would output:
&example.outputs;
<informalexample>
<screen>
<![CDATA[
@ -104,7 +104,7 @@ echo "$bar\n";
]]>
</programlisting>
</informalexample>
The above example would output:
&example.outputs;
<informalexample>
<screen>
<![CDATA[
@ -137,7 +137,7 @@ foo();
]]>
</programlisting>
</informalexample>
The above example would output:
&example.outputs;
<informalexample>
<screen>
<![CDATA[