Skip to content

Commit

Permalink
Sync part of doc with EN
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Oct 25, 2024
1 parent d648fe9 commit c2ba726
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 72 deletions.
5 changes: 2 additions & 3 deletions language/functions.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: sobak Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: 74976cdb263ef841c5fc2c3f91ca7e284adce552 Maintainer: sobak Status: ready -->
<!-- CREDITS: cyb0org, pirate -->
<chapter xml:id="language.functions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Funkcje</title>
Expand Down Expand Up @@ -1513,7 +1512,7 @@ var_export($fn(5)(10));
<?php
fn(array $x) => $x;
static fn(): int => $x;
static fn($x): int => $x;
fn($x = 42) => $x;
fn(&$x) => $x;
fn&($x) => $x;
Expand Down
6 changes: 3 additions & 3 deletions language/operators/bitwise.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 61374bbe228e8e9c55a24aba59a1e2bb2a871148 Maintainer: sobak Status: ready -->
<!-- EN-Revision: 8859c8b96cd9e80652813f7bcf561432a5e9f934 Maintainer: sobak Status: ready -->
<sect1 xml:id="language.operators.bitwise">
<title>Operatory bitowe</title>
<titleabbrev>Bitowe</titleabbrev>
Expand Down Expand Up @@ -246,10 +246,10 @@ echo "hallo" ^ "hello"; // Wyświetla wartości ascii #0 #4 #0 #0 #0
// 'a' ^ 'e' = #4
echo 2 ^ "3"; // Wyświetla 1
// 2 ^ ((int)"3") == 1
// 2 ^ ((int) "3") == 1
echo "2" ^ 3; // Wyświetla 1
// ((int)"2") ^ 3 == 1
// ((int) "2") ^ 3 == 1
?>
]]>
</programlisting>
Expand Down
4 changes: 2 additions & 2 deletions language/operators/execution.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 43d07782b514d0c7a8487f2c74063739f302df8d Maintainer: sobak Status: ready -->
<!-- EN-Revision: ebfd524ef6937b8ca42b05a6b01f43fbd8757244 Maintainer: sobak Status: ready -->
<sect1 xml:id="language.operators.execution">
<title>Operatory wykonania</title>
<titleabbrev>Wykonanie</titleabbrev>
<para>
PHP obsługuje jeden operator wykonania: gravis, zwany też z j. ang. backtick (``).
PHP obsługuje jeden operator wykonania: gravis, zwany też z j. ang. backtick (<literal>``</literal>).
Uwaga, to nie są apostrofy! PHP spróbuje wykonać
zawartość między nimi jako komendę shella: jej wyjście zostanie
zwrócone (tj. nie będzie po prostu wrzucone na wyjście skryptu, a może
Expand Down
5 changes: 2 additions & 3 deletions reference/array/functions/array-merge.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 9e0f03ac354d797d1d16c0fcc1663e5e170f2727 Maintainer: leszek Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: 8859c8b96cd9e80652813f7bcf561432a5e9f934 Maintainer: leszek Status: ready -->
<refentry xml:id="function.array-merge" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_merge</refname>
Expand Down Expand Up @@ -180,7 +179,7 @@ array(5) {
<?php
$poczatek = 'foo';
$koniec = array(1 => 'bar');
$wynik = array_merge((array)$poczatek, (array)$koniec);
$wynik = array_merge((array) $poczatek, (array) $koniec);
print_r($wynik);
?>
]]>
Expand Down
8 changes: 1 addition & 7 deletions reference/exif/setup.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: grzesiek Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: c0af8c90a6b83faaadaebdfd22970bcb8b9c4057 Maintainer: grzesiek Status: ready -->
<!-- CREDITS: joeaccord -->
<chapter xml:id="exif.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
Expand All @@ -14,11 +13,6 @@
musi być włączone poprzez kompilację PHP z opcją <literal>--enable-mbstring</literal>.
PHP nie wymaga żadnej dodatkowej biblioteki dla modułu exif.
</para>
<para>
Tylko systemy Windows: Rozszerzenie <link linkend="ref.mbstring">mbstring</link> musi być
zawsze włączone. Zauważ, że rozszerzenie <link linkend="ref.mbstring">mbstring</link> musi być
załadowane przed EXIF w pliku <filename>php.ini</filename>.
</para>
</section>
<!-- }}} -->

Expand Down
4 changes: 2 additions & 2 deletions reference/filesystem/functions/fgetcsv.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 61374bbe228e8e9c55a24aba59a1e2bb2a871148 Maintainer: adi Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: cef78b0fbe0fbe02003699b027ab50200097e949 Maintainer: adi Status: ready -->
<!-- CREDITS: sobak, grzesiek -->
<refentry xml:id="function.fgetcsv" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -104,6 +103,7 @@
</varlistentry>
</variablelist>
</para>
&warning.csv.escape-parameter;
</refsect1>

<refsect1 role="returnvalues">
Expand Down
3 changes: 1 addition & 2 deletions reference/misc/ini.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: d4d5216e7a965ca194f6b1c9dee84cecab2674e5 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: e50e79746736dbdfbabe9bd3566793b3ddf38f58 Maintainer: sobak Status: ready -->
<section xml:id="misc.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
Expand Down
4 changes: 1 addition & 3 deletions reference/reflection/book.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: sobak Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: fe42297da7bf4910bde3622896b4ecc0f91817ed Maintainer: sobak Status: ready -->

<book xml:id="book.reflection" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="core" ?>
Expand All @@ -24,7 +23,6 @@
</para>
</preface>

&reference.reflection.constants;
&reference.reflection.examples;
&reference.reflection.extending;
&reference.reflection.reflection;
Expand Down
32 changes: 0 additions & 32 deletions reference/reflection/constants.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: ec2fe9a592f794978114ef5021db9f1d00c2e05d Maintainer: sobak Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: e890e4a7f97a9ea85e60a38443e7c8eb7ae9383f Maintainer: sobak Status: ready -->
<refentry xml:id="reflectionfunctionabstract.isdeprecated" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionFunctionAbstract::isDeprecated</refname>
Expand Down Expand Up @@ -60,6 +59,7 @@ bool(true)
&reftitle.seealso;
<para>
<simplelist>
<member><classname>Deprecated</classname></member>
<member><methodname>ReflectionFunctionAbstract::getDocComment</methodname></member>
</simplelist>
</para>
Expand Down
5 changes: 2 additions & 3 deletions reference/session/functions/session-id.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 151e61773c016edcae8fd4989ad9a86ffd03c283 Maintainer: leszek Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: f5c124befdf7c2791877694a86ead123b179d935 Maintainer: leszek Status: ready -->
<refentry xml:id="function.session-id" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>session_id</refname>
Expand Down Expand Up @@ -38,7 +37,7 @@
<function>session_start</function>. Zależnie od funkcji obsługi sesji,
nie wszystkie znaki są dozwolone wewnątrz identyfikatora sesji. Na
przykład, funkcje obsługi sesji oparte na plikach pozwalają tylko na
znaki z przedziału <literal>a-z A-Z 0-9 , (przecinek) oraz - (minus)</literal>!
znaki z przedziału <literal>[a-zA-Z0-9,-]</literal>!
</para>
<note>
<simpara>
Expand Down
4 changes: 1 addition & 3 deletions reference/spl/book.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: sobak Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: 487afb09014843c0911daf7c7c962c3dd4a2c610 Maintainer: sobak Status: ready -->

<book xml:id="book.spl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="core" ?>
Expand All @@ -18,7 +17,6 @@
</para>
</preface>

&reference.spl.constants;
&reference.spl.datastructures;
&reference.spl.iterators;
&reference.spl.interfaces;
Expand Down
4 changes: 2 additions & 2 deletions reference/tidy/book.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 2e8ef0a1bd98243cb2c6c5c627a195bb53a7a440 Maintainer: joeaccord Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: bd8aef352082a4b8d4ecb836e90148cba520c466 Maintainer: joeaccord Status: ready -->
<!-- CREDITS: sobak, grzesiek -->
<book xml:id="book.tidy" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundledexternal" ?>
<title>Tidy</title>
<titleabbrev>Tidy</titleabbrev>

<!-- {{{ preface -->
<preface xml:id="intro.tidy">
Expand Down
4 changes: 2 additions & 2 deletions reference/tokenizer/book.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: 82c84a325ea8d03f45669988e4f6ed53221ebd8f Maintainer: joeaccord Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: bd8aef352082a4b8d4ecb836e90148cba520c466 Maintainer: joeaccord Status: ready -->
<!-- CREDITS: dombal, sobak -->

<book xml:id="book.tokenizer" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="bundled" ?>
<title>Tokenizer</title>
<titleabbrev>Tokenizer</titleabbrev>

<preface xml:id="intro.tokenizer">
&reftitle.intro;
Expand Down
6 changes: 3 additions & 3 deletions reference/url/book.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: grzesiek Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: bd8aef352082a4b8d4ecb836e90148cba520c466 Maintainer: grzesiek Status: ready -->
<!-- CREDITS: adi -->
<book xml:id="book.url" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="core" ?>
<title>&Functions; URL</title>
<title>URLs</title>
<titleabbrev>URLs</titleabbrev>

<preface xml:id="intro.url">
&reftitle.intro;
Expand Down

0 comments on commit c2ba726

Please sign in to comment.