Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions language/oop5/inheritance.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: f94d903985119d3ac00f4528551df947f57b667f Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<sect1 xml:id="language.oop5.inheritance" xmlns="http://docbook.org/ns/docbook">
<title>Héritage</title>
<para>
Expand Down Expand Up @@ -88,7 +87,7 @@ class Foo

public function printPHP()
{
echo 'PHP est super' . PHP_EOL;
echo 'PHP est super.' . PHP_EOL;
}
}

Expand All @@ -103,9 +102,9 @@ class Bar extends Foo
$foo = new Foo();
$bar = new Bar();
$foo->printItem('baz'); // Affiche : 'Foo: baz'
$foo->printPHP(); // Affiche : 'PHP est super'
$foo->printPHP(); // Affiche : 'PHP est super.'
$bar->printItem('baz'); // Affiche : 'Bar: baz'
$bar->printPHP(); // Affiche : 'PHP est super'
$bar->printPHP(); // Affiche : 'PHP est super.'

?>
]]>
Expand Down
11 changes: 5 additions & 6 deletions reference/datetime/functions/mktime.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 3a8c3e77df070a046c9d5b56b68926ca2d7e5ee3 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mktime</refname>
Expand Down Expand Up @@ -266,12 +265,12 @@ print date('c', $nextyear) . "\n";
<para>
<example>
<title>Dernier jour d'un mois</title>
<para>
<simpara>
Le dernier jour d'un mois peut être décrit comme
le jour "0" du mois suivant, et non pas le jour -1. Les deux
exemples suivants vont donner :
"Le dernier jour de février 2000 est : 29".
</para>
exemples suivants vont donner la chaîne
"Last day in Feb 2000 is: 29".
</simpara>
<programlisting role="php">
<![CDATA[
<?php
Expand Down
3 changes: 1 addition & 2 deletions reference/dom/domelement/construct.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4f5e2b22575131fa5e9c3004b1c874e1acb06573 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="domelement.construct" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMElement::__construct</refname>
Expand Down
12 changes: 5 additions & 7 deletions reference/ds/ds/map/ksort.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 2226ad08fd93e3979efbba47c5ae3545eec97d25 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="ds-map.ksort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Ds\Map::ksort</refname>
Expand All @@ -15,9 +14,9 @@
<modifier>public</modifier> <type>void</type><methodname>Ds\Map::ksort</methodname>
<methodparam choice="opt"><type>callable</type><parameter>comparator</parameter></methodparam>
</methodsynopsis>
<para>
<simpara>
Trie la carte en place par clé, en utilisant une fonction <parameter>comparator</parameter> facultative.
</para>
</simpara>

</refsect1>

Expand All @@ -35,9 +34,9 @@

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
<simpara>
&return.void;
</para>
</simpara>
</refsect1>

<refsect1 role="examples">
Expand Down Expand Up @@ -101,7 +100,6 @@ print_r($map);
<screen>
<![CDATA[
Ds\Map Object
Ds\Map Object
(
[0] => Ds\Pair Object
(
Expand Down
13 changes: 5 additions & 8 deletions reference/ds/ds/map/ksorted.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 2226ad08fd93e3979efbba47c5ae3545eec97d25 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="ds-map.ksorted" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Ds\Map::ksorted</refname>
Expand All @@ -13,9 +12,9 @@
<modifier>public</modifier> <type>Ds\Map</type><methodname>Ds\Map::ksorted</methodname>
<methodparam choice="opt"><type>callable</type><parameter>comparator</parameter></methodparam>
</methodsynopsis>
<para>
<simpara>
Renvoie une copie triée par clé, en utilisant une fonction <parameter>comparator</parameter> facultative.
</para>
</simpara>

</refsect1>

Expand All @@ -33,9 +32,9 @@

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
<simpara>
Renvoie une copie de la carte, triée par clé.
</para>
</simpara>
</refsect1>

<refsect1 role="examples">
Expand All @@ -55,7 +54,6 @@ print_r($map->ksorted());
<screen>
<![CDATA[
Ds\Map Object
Ds\Map Object
(
[0] => Ds\Pair Object
(
Expand Down Expand Up @@ -99,7 +97,6 @@ print_r($sorted);
<screen>
<![CDATA[
Ds\Map Object
Ds\Map Object
(
[0] => Ds\Pair Object
(
Expand Down
6 changes: 2 additions & 4 deletions reference/ds/ds/map/pairs.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: dd07341fae2c414adc1f700be0890ff32e8daab4 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="ds-map.pairs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Ds\Map::pairs</refname>
Expand Down Expand Up @@ -47,7 +46,7 @@ var_dump($map->pairs());
&example.outputs.similar;
<screen>
<![CDATA[
object(Ds\Map)#8 (3) {
object(Ds\Vector)#8 (3) {
[0]=>
object(Ds\Pair)#5 (2) {
["key"]=>
Expand All @@ -70,7 +69,6 @@ object(Ds\Map)#8 (3) {
int(3)
}
}
p
]]>
</screen>
</example>
Expand Down
8 changes: 3 additions & 5 deletions reference/ds/ds/pair/clear.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: dd07341fae2c414adc1f700be0890ff32e8daab4 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="ds-pair.clear" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Ds\Pair::clear</refname>
Expand Down Expand Up @@ -50,9 +49,8 @@ print_r($pair);
<![CDATA[
Ds\Pair Object
(
[0] => 1
[1] => 2
[2] => 3
[key] => a
[value] => 1
)
Ds\Pair Object
(
Expand Down
5 changes: 2 additions & 3 deletions reference/ds/ds/vector/join.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: dd07341fae2c414adc1f700be0890ff32e8daab4 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="ds-vector.join" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Ds\Vector::join</refname>
Expand Down Expand Up @@ -73,7 +72,7 @@ var_dump($vector->join());
&example.outputs.similar;
<screen>
<![CDATA[
string(11) "abc123"
string(6) "abc123"
]]>
</screen>
</example>
Expand Down
6 changes: 2 additions & 4 deletions reference/memcached/memcached/fetch.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1d8068ecb070fdc360d750e0c1f3f15796e61ec0 Maintainer: jpauli Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="memcached.fetch" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Memcached::fetch</refname>
Expand Down Expand Up @@ -62,7 +60,7 @@ while ($result = $m->fetch()) {
array(3) {
["key"]=>
string(3) "int"
"value"]=>
["value"]=>
int(99)
["cas"]=>
float(2363)
Expand Down
5 changes: 2 additions & 3 deletions reference/mongodb/functions/bson/fromphp.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 9f4cb232d01a06077a2324e38f767d63f87f2e5f Maintainer: lacatoire Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="function.mongodb.bson-fromphp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>MongoDB\BSON\fromPHP</refname>
Expand Down Expand Up @@ -100,7 +99,7 @@ echo bin2hex($bson), "\n";
&example.outputs;
<screen>
<![CDATA[
0e00000010666f6f000100000000cat
0e00000010666f6f000100000000
]]>
</screen>
</example>
Expand Down
5 changes: 2 additions & 3 deletions reference/mongodb/mongodb/driver/cursor.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 9f4cb232d01a06077a2324e38f767d63f87f2e5f Maintainer: lacatoire Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->

<reference xml:id="class.mongodb-driver-cursor" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">

Expand Down Expand Up @@ -147,7 +146,7 @@ stdClass Object
[name] => Vesta
[size] => 525
[distance] => 2.362
}
)
]]>
</screen>
</example>
Expand Down
12 changes: 7 additions & 5 deletions reference/spl/splobjectstorage/rewind.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 6d29533483657c036e49edb5ea88c7103d126681 Maintainer: dams Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="splobjectstorage.rewind" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SplObjectStorage::rewind</refname>
Expand Down Expand Up @@ -63,8 +61,12 @@ while($s->valid()) {
&example.outputs.similar;
<screen>
<![CDATA[
int(1)
int(0)
object(stdClass)#2 (0) {
}
string(2) "d1"
object(stdClass)#3 (0) {
}
string(2) "d2"
]]>
</screen>
</example>
Expand Down
4 changes: 2 additions & 2 deletions reference/uri/uri/whatwg/url/getquery.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 39596f1226fd3b502bfbba09068ad6701235426f Maintainer: lacatoire Status: ready -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<refentry xml:id="uri-whatwg-url.getquery" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Uri\WhatWg\Url::getQuery</refname>
Expand Down Expand Up @@ -45,7 +45,7 @@ echo $url->getQuery();
&example.outputs;
<screen>
<![CDATA[
foo=bar
foo/bar
]]>
</screen>
</example>
Expand Down
6 changes: 2 additions & 4 deletions reference/wincache/functions/wincache-ucache-delete.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: ed710737ea7ce93f1289809cf89170c6d48b72a6 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->

<refentry xml:id="function.wincache-ucache-delete" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -90,7 +88,7 @@ var_dump(wincache_ucache_delete($array2));
<screen>
<![CDATA[
array(4) { [0]=> string(5) "green"
[1]=> string(4) "Blue"
[1]=> string(4) "blue"
[2]=> string(6) "yellow"
[3]=> string(4) "cyan" }
]]>
Expand Down
6 changes: 2 additions & 4 deletions reference/yaf/yaf-config-ini.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->
<reference xml:id="class.yaf-config-ini" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">

<title>La classe Yaf_Config_Ini</title>
Expand Down Expand Up @@ -156,7 +154,7 @@ var_dump($config->get("database.params.username"));
<![CDATA[
string(15) "dev.example.com"
string(6) "dbname"
string(7) "devuser
string(7) "devuser"
]]>
</screen>
</example>
Expand Down
6 changes: 2 additions & 4 deletions reference/yar/examples.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 940ea8c1b2b727eb0f3f6412305ab699b9b47cc6 Maintainer: lacatoire Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: df78bd1d232f2cd8df673accf5ba0e280695639b Maintainer: lacatoire Status: ready -->

<chapter xml:id="yar.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.examples;
Expand Down Expand Up @@ -80,7 +78,7 @@ var_dump($client->add(1, 2));
var_dump($client->call("add", array(3, 2)));
/* la méthode __add ne peut être appelée */
/* la méthode _add ne peut être appelée */
var_dump($client->_add(1, 2));
?>
]]>
Expand Down
Loading