mirror of
https://github.com/php/doc-de.git
synced 2026-03-23 23:02:13 +01:00
Sync with EN
This commit is contained in:
13
bookinfo.xml
13
bookinfo.xml
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: ced6d2c2bacc02e3048abd4a2ab58d755d09307d Maintainer: sammywg Status: ready -->
|
||||
<!-- EN-Revision: 7d2dd02b7bdd1f1c3becbe06444c354f5e6f0e34 Maintainer: sammywg Status: ready -->
|
||||
|
||||
<info xml:id="bookinfo" xmlns="http://docbook.org/ns/docbook">
|
||||
<info xmlns="http://docbook.org/ns/docbook" xml:id="bookinfo">
|
||||
&frontpage.authors;
|
||||
<pubdate><?dbtimestamp format="Y-m-d"?></pubdate>
|
||||
&frontpage.editors;
|
||||
@@ -87,15 +87,6 @@
|
||||
aktuellste Version ist unter <link
|
||||
xlink:href="&url.cc.by;">&url.cc.by;</link> verfügbar.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Für den Fall, dass Sie daran interessiert sind, dieses Dokument weiter zu
|
||||
verbreiten oder in sonstiger Form zu veröffentlichen, in Teilen oder als
|
||||
Ganzes, entweder verändert oder unverändert, und Sie Fragen haben, können
|
||||
Sie Kontakt zu den Copyright-Inhabern über <link
|
||||
xlink:href="mailto:&email.php.doc.license;">&email.php.doc.license;</link>.
|
||||
aufnehmen. Bitte beachten Sie, dass das Archiv dieser Mailingliste
|
||||
öffentlich zugänglich ist.
|
||||
</simpara>
|
||||
</legalnotice>
|
||||
|
||||
</info>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 6564f8d246764451b71234921ed156376a4b4219 Maintainer: simp Status: ready -->
|
||||
<!-- EN-Revision: b5f0c19bec9f70f1cbdc1480b3f3c92c608489d1 Maintainer: simp Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<sect1 xml:id="language.oop5.traits" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Traits</title>
|
||||
<para>
|
||||
@@ -430,12 +430,21 @@ class C2
|
||||
use Counter;
|
||||
}
|
||||
|
||||
$o = new C1(); $o->inc(); // echo 1
|
||||
$p = new C2(); $p->inc(); // echo 1
|
||||
$o = new C1();
|
||||
$o->inc();
|
||||
$p = new C2();
|
||||
$p->inc();
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
1
|
||||
1
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
<example xml:id="language.oop5.traits.static.ex2">
|
||||
<title>Statische Methoden</title>
|
||||
@@ -456,43 +465,69 @@ class Example
|
||||
use StaticExample;
|
||||
}
|
||||
|
||||
Example::doSomething();
|
||||
echo Example::doSomething();
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Doing something
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
<example xml:id="language.oop5.traits.static.ex3">
|
||||
<title>Statische Eigenschaften</title>
|
||||
<caution>
|
||||
<simpara>
|
||||
Vor PHP 8.3.0 wurden in einem Trait definierte statische Eigenschaften
|
||||
innerhalb einer einzigen Hierarchie von Klassen, die den Trait verwenden,
|
||||
gemeinsam genutzt. Seit PHP 8.3.0 überschreibt die statische Eigenschaft
|
||||
des Traits, die in die Kindklasse eingefügt wird, die statische
|
||||
Eigenschaft, die die Kindklasse von der Elternklasse geerbt hat, die mit
|
||||
demselben Trait definiert wurde.
|
||||
Vor PHP 8.3.0 wurden statische Eigenschaften, die in einem Trait
|
||||
definiert waren, von allen Klassen in derselben Vererbungshierarchie, die
|
||||
diesen Trait verwendeten, gemeinsam genutzt.
|
||||
Seit PHP 8.3.0 wird eine statische Eigenschaft, die von einer Kindklasse
|
||||
über einen Trait verwendet wird, als von der in der Elternklasse
|
||||
definierte Eigenschaft unterschieden betrachtet.
|
||||
</simpara>
|
||||
</caution>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
trait StaticExample
|
||||
trait T
|
||||
{
|
||||
public static $static = 'foo';
|
||||
public static $counter = 1;
|
||||
}
|
||||
|
||||
class Example
|
||||
class A
|
||||
{
|
||||
use StaticExample;
|
||||
use T;
|
||||
|
||||
public static function incrementCounter()
|
||||
{
|
||||
static::$counter++;
|
||||
}
|
||||
}
|
||||
|
||||
echo Example::$static;
|
||||
class B extends A
|
||||
{
|
||||
use T;
|
||||
}
|
||||
|
||||
A::incrementCounter();
|
||||
|
||||
echo A::$counter, "\n";
|
||||
echo B::$counter, "\n";
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.83;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
2
|
||||
1
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
@@ -575,10 +610,16 @@ class ConstantsExample {
|
||||
}
|
||||
|
||||
$example = new ConstantsExample;
|
||||
echo $example::FLAG_MUTABLE; // 1
|
||||
echo $example::FLAG_MUTABLE;
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
1
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
<para>
|
||||
Wenn ein Trait eine Konstante definiert, kann eine Klasse keine Konstante
|
||||
@@ -612,9 +653,9 @@ class ConstantsExample {
|
||||
Seit PHP 8.3.0 kann der Modifikator
|
||||
<link linkend="language.oop5.final">final</link> mit dem Operator
|
||||
<literal>as</literal> auf Methoden angewendet werden, die aus Traits
|
||||
importiert wurden. Dadurch kann die Sichtbarkeit von Methoden, die aus
|
||||
einem Trait stammen, in der Klasse, in der das Trait verwendet wird,
|
||||
geändert werden.
|
||||
importiert wurden. Dies kann verwendet werden, um zu verhindern, dass
|
||||
Kindklassen die Methode überschreiben. Die Klasse, die den Trait verwendet,
|
||||
kann die Methode jedoch weiterhin überschreiben.
|
||||
</simpara>
|
||||
<example xml:id="language.oop5.traits.final-methods.example">
|
||||
<title>Definieren einer Methode aus einem Trait als <literal>final</literal></title>
|
||||
@@ -634,19 +675,24 @@ class FinalExampleA
|
||||
{
|
||||
use CommonTrait {
|
||||
CommonTrait::method as final; // Das "final" verhindert, dass Kindklassen
|
||||
// eine Methode überschreiben.
|
||||
// die Methode überschreiben.
|
||||
}
|
||||
}
|
||||
|
||||
class FinalExampleB extends FinalExampleA
|
||||
{
|
||||
public function method() {} // Fatal error: Cannot override final method
|
||||
// FinalExampleA::method()
|
||||
public function method() {}
|
||||
}
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Fatal error: Cannot override final method FinalExampleA::method() in ...
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: bb66ce4d449049730d4967ce74fb68f15a138612 Maintainer: samesch Status: ready -->
|
||||
<!-- EN-Revision: c43393d1b64a41be1b8c45f997062b0f645bc91e Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<article xml:id="reference.pcre.pattern.modifiers" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Suchmuster-Modifikatoren</title>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ed2d17d581d2c72282dee0b9be3b5a49dabf108 Maintainer: samesch Status: ready -->
|
||||
<!-- EN-Revision: 70ef72d94f4d5c7d7ec7492e97563d2463d56d14 Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<section xml:id="ref.pdo-mysql.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
@@ -53,12 +52,12 @@ $ ./configure --with-pdo-mysql --with-mysql-sock=/var/mysql/mysql.sock
|
||||
</screen>
|
||||
</para>
|
||||
<para>
|
||||
Die SSL-Unterstützung wird mit den entsprechenden
|
||||
<link linkend="pdo-mysql.constants">PDO_MySQL-Konstanten</link> aktiviert,
|
||||
was dem Aufruf der
|
||||
Die <acronym>SSL</acronym>-Unterstützung wird mit den entsprechenden
|
||||
<constant>Pdo\Mysql::ATTR_SSL_<replaceable>*</replaceable></constant>-Konstanten
|
||||
aktiviert, was dem Aufruf der
|
||||
<link xlink:href="&url.mysql.docs.ssl.set;">MySQL C API-Funktion mysql_ssl_set()</link>
|
||||
entspricht. Darüber hinaus kann SSL nicht mittels
|
||||
<classname>PDO::setAttribute</classname> aktiviert werden, da die Verbindung
|
||||
<methodname>PDO::setAttribute</methodname> aktiviert werden, da die Verbindung
|
||||
bereits existiert. Siehe auch die MySQL-Dokumentation über den
|
||||
<link xlink:href="&url.mysql.docs.ssl.using;">Aufbau einer Verbindung zu MySQL mit SSL</link>.
|
||||
</para>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 71db1981e4ac6013592a0cad325f0136f9d57e21 Maintainer: samesch Status: ready -->
|
||||
<!-- EN-Revision: b2a7a5fab7231fa8634096f111ae0fa0dc60bcfe Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<section xml:id="ref.pdo-mysql.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.constants;
|
||||
@@ -8,33 +8,12 @@
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-use-buffered-query">
|
||||
<term>
|
||||
<constant>PDO::MYSQL_ATTR_USE_BUFFERED_QUERY</constant>
|
||||
(<type>bool</type>)
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
In der Voreinstellung werden alle Anweisungen im
|
||||
<link linkend="mysqlinfo.concepts.buffering">gepufferten Modus</link>
|
||||
ausgeführt. Wenn dieses Attribut bei einem
|
||||
<classname>PDO</classname>-Objekt auf &false; gesetzt ist, verwendet der
|
||||
MySQL-Treiber den ungepufferten Modus.
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_USE_BUFFERED_QUERY</constant>
|
||||
</simpara>
|
||||
<para>
|
||||
<example><title>Den ungepufferten Modus von MySQL aktivieren</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$pdo = new PDO("mysql:host=localhost;dbname=world", 'my_user', 'my_password');
|
||||
$pdo->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false);
|
||||
|
||||
$unbufferedResult = $pdo->query("SELECT Name FROM City");
|
||||
foreach ($unbufferedResult as $row) {
|
||||
echo $row['Name'] . PHP_EOL;
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-local-infile">
|
||||
@@ -43,49 +22,32 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Aktiviert <literal>Load LOCAL INFILE</literal>.
|
||||
</para>
|
||||
<para>
|
||||
Es ist zu beachten, dass diese Konstante nur im Array
|
||||
<parameter>driver_options</parameter> verwendet werden kann, wenn ein
|
||||
neues Datenbank-Handle erstellt wird.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_LOCAL_INFILE</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-local-infile-directory">
|
||||
<term>
|
||||
<constant>PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY</constant>
|
||||
(<type>string</type>)
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Ermöglicht es, das Laden von LOCAL DATA auf Dateien zu beschränken, die
|
||||
sich im angegebenen Verzeichnis befinden. Verfügbar ab PHP 8.1.0.
|
||||
</para>
|
||||
<para>
|
||||
Es ist zu beachten, dass diese Konstante nur im Array
|
||||
<parameter>driver_options</parameter> verwendet werden kann, wenn ein
|
||||
neues Datenbank-Handle erstellt wird.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_LOCAL_INFILE_DIRECTORY</constant>.
|
||||
Verfügbar seit PHP 8.1.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-init-command">
|
||||
<term>
|
||||
<constant>PDO::MYSQL_ATTR_INIT_COMMAND</constant>
|
||||
(<type>string</type>)
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Der Befehl, der ausgeführt werden soll, wenn eine Verbindung zum
|
||||
MySQL-Server aufgebaut wird. Wird beim erneuten Verbindungsaufbau
|
||||
automatisch wieder ausgeführt.
|
||||
</para>
|
||||
<para>
|
||||
Es ist zu beachten, dass diese Konstante nur im Array
|
||||
<parameter>driver_options</parameter> verwendet werden kann, wenn ein
|
||||
neues Datenbank-Handle erstellt wird.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_INIT_COMMAND</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-read-default-file">
|
||||
@@ -94,12 +56,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Die Optionen aus der genannten Optionsdatei lesen, statt aus
|
||||
<filename>my.cnf</filename>. Diese Option ist nicht verfügbar, wenn
|
||||
mysqlnd verwendet wird, weil mysqlnd die mysql-Konfigurationsdateien
|
||||
nicht liest.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_READ_DEFAULT_FILE</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-read-default-group">
|
||||
@@ -108,12 +67,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Die Optionen der genannten Gruppe aus <filename>my.cnf</filename> oder
|
||||
der mit <constant>MYSQL_READ_DEFAULT_FILE</constant> angegebenen Datei
|
||||
lesen. Diese Option ist nicht verfügbar, wenn mysqlnd verwendet wird,
|
||||
weil mysqlnd die mysql-Konfigurationsdateien nicht liest.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_READ_DEFAULT_GROUP</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-max-buffer-size">
|
||||
@@ -122,10 +78,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Die maximale Puffergröße. Der Standardwert ist 1 MiB. Diese Konstante
|
||||
wird nicht unterstützt, wenn gegen mysqlnd kompiliert wird.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_MAX_BUFFER_SIZE</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-direct-query">
|
||||
@@ -134,9 +89,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Abfragen direkt ausführen, keine vorbereiteten Anweisungen verwenden.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>PDO::ATTR_EMULATE_PREPARES</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-found-rows">
|
||||
@@ -145,10 +100,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Die Anzahl der gefundenen (übereinstimmenden) Zeilen zurückgeben, nicht
|
||||
die Anzahl der geänderten Zeilen.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_FOUND_ROWS</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-ignore-space">
|
||||
@@ -157,10 +111,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Leerzeichen nach Funktionsnamen zulassen; macht alle Funktionsnamen zu
|
||||
reservierten Wörtern.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_IGNORE_SPACE</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-compress">
|
||||
@@ -169,9 +122,21 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Aktiviert die Komprimierung der Netzwerkkommunikation.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_COMPRESS</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-server-public-key">
|
||||
<term>
|
||||
<constant>PDO::MYSQL_ATTR_SERVER_PUBLIC_KEY</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_SERVER_PUBLIC_KEY</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -181,9 +146,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Der Pfad zur Datei der SSL-Zertifizierungsstelle.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_SSL_CA</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -193,11 +158,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Der Pfad zum Verzeichnis, das die im <acronym>PEM</acronym>-Format
|
||||
gespeicherten vertrauenswürdigen SSL-Zertifikate der
|
||||
Zertifizierungsstelle (CA) enthält.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_SSL_CAPATH</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -207,9 +170,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Der Pfad zum SSL-Zertifikat.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_SSL_CERT</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -219,11 +182,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Eine Liste von einer oder mehreren zulässigen Chiffren, die für die
|
||||
SSL-Verschlüsselung zu verwenden sind, in einem Format, das von OpenSSL
|
||||
verstanden wird, &zb; <literal>DHE-RSA-AES256-SHA:AES128-SHA</literal>
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_SSL_CIPHER</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -233,9 +194,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Der Pfad zur Datei mit dem SSL-Schlüssel.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_SSL_KEY</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -245,13 +206,10 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Mit dieser Option kann die Überprüfung des SSL-Zertifikats des Servers
|
||||
deaktiviert werden; sie ist nur in Verbindung mit mysqlnd verfügbar.
|
||||
</para>
|
||||
<para>
|
||||
&version.exists.asof; 7.0.18 und PHP 7.1.4.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_SSL_VERIFY_SERVER_CERT</constant>
|
||||
Verfügbar seit PHP 7.0.18 und PHP 7.1.4.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -261,16 +219,9 @@ foreach ($unbufferedResult as $row) {
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Wenn auf &false; gesetzt, wird die Ausführung von Mehrfachabfragen sowohl
|
||||
bei <function>PDO::prepare</function> als auch bei
|
||||
<function>PDO::query</function> deaktiviert.
|
||||
</para>
|
||||
<para>
|
||||
Es ist zu beachten, dass diese Konstante nur im Array
|
||||
<parameter>driver_options</parameter> verwendet werden kann, wenn ein
|
||||
neues Datenbank-Handle erstellt wird.
|
||||
</para>
|
||||
<simpara>
|
||||
&Alias; <constant>Pdo\Mysql::ATTR_MULTI_STATEMENTS</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 63916fd88a875a56045117e2a60c723bc8e2ee19 Maintainer: conni Status: ready -->
|
||||
<!-- EN-Revision: 3c6c95fcfd7d9eaa603df40327693ea8dff89d53 Maintainer: conni Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Reviewer: samesch -->
|
||||
<appendix xml:id="pgsql.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
@@ -233,8 +232,8 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben, wenn der an den Server gesendete String leer war.
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben,
|
||||
wenn der an den Server gesendete String leer war.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -245,8 +244,8 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben. Ein Kommando wurde erfolgreich ausgeführt, aber es wurden
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Ein Kommando wurde erfolgreich ausgeführt, aber es wurden
|
||||
keine Daten zurückgegeben.
|
||||
</simpara>
|
||||
</listitem>
|
||||
@@ -258,13 +257,31 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben. Ein Kommando wurde erfolgreich ausgeführt und es wurden
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Ein Kommando wurde erfolgreich ausgeführt und es wurden
|
||||
Daten (wie etwa ein <literal>SELECT</literal> oder
|
||||
<literal>SHOW</literal>) zurückgegeben.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.pgsql-tuples-chunk">
|
||||
<term>
|
||||
<constant>PGSQL_TUPLES_CHUNK</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Zeigt den erfolgreichen Abschluss eines Befehls an, der Daten im
|
||||
Blockmodus (Chunked Mode) zurückgibt.
|
||||
Wird für <literal>SELECT</literal>-Befehle zurückgegeben, wenn
|
||||
<function>pg_set_chunked_rows_size</function> gesetzt ist.
|
||||
Die Ergebnismenge wird in mehrere Blöcke aufgeteilt, die jeweils eine
|
||||
vordefinierte Anzahl von Zeilen enthalten.
|
||||
Verfügbar seit PHP 8.4.0 und libpq 17.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.pgsql-copy-out">
|
||||
<term>
|
||||
<constant>PGSQL_COPY_OUT</constant>
|
||||
@@ -272,8 +289,8 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben. Ein Datentransfer vom Server wurde gestartet.
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Ein Datentransfer vom Server wurde gestartet.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -284,8 +301,8 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben. Ein Datentransfer zum Server wurde gestartet.
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Ein Datentransfer zum Server wurde gestartet.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -296,8 +313,8 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben. Die Serverantwort wurde nicht verstanden.
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Die Serverantwort wurde nicht verstanden.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -308,9 +325,8 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben. Ein nicht-fataler Fehler (eine Notiz oder Warnung)
|
||||
ist aufgetreten.
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Ein nicht-fataler Fehler (eine Notiz oder Warnung) ist aufgetreten.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -321,8 +337,8 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Wird von der Funktion <function>pg_result_status</function>
|
||||
zurückgegeben. Ein fataler Fehler ist aufgetreten.
|
||||
Wird von der Funktion <function>pg_result_status</function> zurückgegeben.
|
||||
Ein fataler Fehler ist aufgetreten.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Maintainer: conni Status: ready -->
|
||||
<!-- EN-Revision: 3c6c95fcfd7d9eaa603df40327693ea8dff89d53 Maintainer: conni Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Reviewer: samesch -->
|
||||
<refentry xml:id="function.pg-result-status" xmlns="http://docbook.org/ns/docbook">
|
||||
@@ -55,8 +54,8 @@
|
||||
<para>
|
||||
Mögliche Rückgabewerte sind <constant>PGSQL_EMPTY_QUERY</constant>,
|
||||
<constant>PGSQL_COMMAND_OK</constant>, <constant>PGSQL_TUPLES_OK</constant>,
|
||||
<constant>PGSQL_COPY_OUT</constant>, <constant>PGSQL_COPY_IN</constant>,
|
||||
<constant>PGSQL_BAD_RESPONSE</constant>,
|
||||
<constant>PGSQL_TUPLES_CHUNK</constant>, <constant>PGSQL_COPY_OUT</constant>,
|
||||
<constant>PGSQL_COPY_IN</constant>, <constant>PGSQL_BAD_RESPONSE</constant>,
|
||||
<constant>PGSQL_NONFATAL_ERROR</constant> und
|
||||
<constant>PGSQL_FATAL_ERROR</constant>, falls
|
||||
<constant>PGSQL_STATUS_LONG</constant> angegeben wurde. Anderenfalls wird
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 2fa74a5512c0a7d3eabe39b1060646fc32f253f5 Maintainer: conni Status: ready -->
|
||||
<!-- EN-Revision: 18aa2012f6fa1e5b09733147e02911d16e06d4a1 Maintainer: conni Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Maintainer: samesch -->
|
||||
<refentry xml:id="function.pg-select" xmlns="http://docbook.org/ns/docbook">
|
||||
@@ -15,7 +14,7 @@
|
||||
<type class="union"><type>array</type><type>string</type><type>false</type></type><methodname>pg_select</methodname>
|
||||
<methodparam><type>PgSql\Connection</type><parameter>connection</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>table_name</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>conditions</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>conditions</parameter><initializer>[]</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>PGSQL_DML_EXEC</constant></initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>PGSQL_ASSOC</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -80,6 +79,10 @@
|
||||
<parameter>table_name</parameter> sind und dessen Werte mit den
|
||||
entsprechenden Werten in <parameter>table_name</parameter>
|
||||
übereinstimmen müssen, damit der Datensatz zurückgegeben werden kann.
|
||||
Seit PHP 8.4.0 gelten keine Bedingungen mehr, wenn ein leeres Array
|
||||
angegeben wird.
|
||||
Zuvor schlug die Funktion fehl, wenn das Argument für
|
||||
<parameter>conditions</parameter> leer war.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -143,6 +146,12 @@
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.4.0</entry>
|
||||
<entry>
|
||||
<parameter>conditions</parameter> ist nun optional.
|
||||
</entry>
|
||||
</row>
|
||||
&pgsql.changelog.connection-object;
|
||||
<row>
|
||||
<entry>7.1.0</entry>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 61374bbe228e8e9c55a24aba59a1e2bb2a871148 Maintainer: nobody Status: ready -->
|
||||
<!-- EN-Revision: be0867e6488a28518529f31e9684d61741ac7dad Maintainer: nobody Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: a6231c4c8bb0693648f1092c5c9dc675fb19c14f Reviewer: samesch -->
|
||||
<appendix xml:id="posix.constants" xmlns="http://docbook.org/ns/docbook">
|
||||
@@ -527,6 +526,18 @@
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-pc-symlink-max">
|
||||
<term>
|
||||
<constant>POSIX_PC_SYMLINK_MAX</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Die maximale Anzahl von Bytes in einem symbolischen Link.
|
||||
Verfügbar seit PHP 8.3.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
@@ -582,6 +593,30 @@
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-sc-child-max">
|
||||
<term>
|
||||
<constant>POSIX_SC_CHILD_MAX</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Die maximale Anzahl gleichzeitiger Prozesse pro Benutzer.
|
||||
Verfügbar seit PHP 8.4.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.posix-sc-clk-tck">
|
||||
<term>
|
||||
<constant>POSIX_SC_CLK_TCK</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Die Anzahl der Ticks pro Sekunde.
|
||||
Verfügbar seit PHP 8.4.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
</appendix>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9c166423255b3d5e02f74232f2d05fd3b59d5d62 Maintainer: samesch Status: ready -->
|
||||
<!-- EN-Revision: 394815225713c1aad0007d80f2c3c3592d085084 Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.posix-isatty" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
@@ -49,6 +48,13 @@
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.4.0</entry>
|
||||
<entry>
|
||||
Wenn der übergebene Dateideskriptor/-stream ungültig ist, wird errno
|
||||
(die Fehlernummer) auf <constant>EBADF</constant> gesetzt.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>8.3.0</entry>
|
||||
<entry>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 8be9b8552781904c69295482f216ec7e053cc16d Maintainer: samesch Status: ready -->
|
||||
<!-- EN-Revision: ccebf5c8b550b9da4a538473ebdb925a1534abf9 Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.posix-sysconf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
@@ -27,8 +27,9 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Der Bezeichner der Variablen; eine der folgenden Konstanten:
|
||||
<constant>POSIX_SC_ARG_MAX</constant>, <constant>POSIX_SC_PAGESIZE</constant>
|
||||
<constant>POSIX_SC_NPROCESSORS_CONF</constant>, <constant>POSIX_SC_NPROCESSORS_ONLN</constant>
|
||||
<constant>POSIX_SC_ARG_MAX</constant>, <constant>POSIX_SC_PAGESIZE</constant>,
|
||||
<constant>POSIX_SC_NPROCESSORS_CONF</constant>, <constant>POSIX_SC_NPROCESSORS_ONLN</constant>,
|
||||
<constant>POSIX_SC_CHILD_MAX</constant>, <constant>POSIX_SC_CLK_TCK</constant>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 81b23db050ac0627b056585c16bfe95445ae174e Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: 81b23db050ac0627b056585c16bfe95445ae174e Reviewer: samesch -->
|
||||
|
||||
<!-- EN-Revision: 86177fa035acc7fdb972855bdd6c0b19edd505cd Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<book xml:id="book.pspell" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<?phpdoc extension-membership="bundledexternal" ?>
|
||||
<?phpdoc extension-membership="pecl" ?>
|
||||
<title>Pspell</title>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.pspell">
|
||||
&reftitle.intro;
|
||||
<warning>
|
||||
<simpara>
|
||||
Diese Erweiterung ist seit PHP 8.4.0 <emphasis>DEPRECATED</emphasis>
|
||||
(veraltet) und <emphasis>UNBUNDLED</emphasis> (nicht mehr eingebunden).
|
||||
</simpara>
|
||||
</warning>
|
||||
<para>
|
||||
Diese Funktionen ermöglichen Ihnen, die Rechtschreibung eines Wortes zu
|
||||
prüfen und bieten Änderungsvorschläge an.
|
||||
@@ -25,7 +28,6 @@
|
||||
&reference.pspell.pspell.config;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,26 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b824e2b1086e94a1077bd071964547283616030a Maintainer: samesch Status: ready -->
|
||||
<section xml:id="pspell.installation" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 86177fa035acc7fdb972855bdd6c0b19edd505cd Maintainer: samesch Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<section xml:id="pspell.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
Falls Sie die benötigten Bibliotheken haben, können Sie PHP mit der
|
||||
Option <option role="configure">--with-pspell[=dir]</option>
|
||||
übersetzen.
|
||||
</para>
|
||||
<note>
|
||||
<title>Anmerkung für Win32-Benutzer</title>
|
||||
<section xml:id="pspell.installation.php84">
|
||||
<title>PHP 8.4</title>
|
||||
<para>
|
||||
&ext.windows.path.dll;
|
||||
<filename>aspell-15.dll</filename> aus dem Verzeichnis
|
||||
<filename>bin</filename> der aspell-Installation.
|
||||
&pecl.moved-ver;8.4.0
|
||||
</para>
|
||||
<para>
|
||||
Die Ünterstützung von Win32 benötigt aspell ab Version 0.50.
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;pspell">&url.pecl.package;pspell</link>.
|
||||
</para>
|
||||
</note>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section xml:id="pspell.installation.phplt84">
|
||||
<title>PHP < 8.4</title>
|
||||
<para>
|
||||
Um diese Erweiterung zu aktivieren, muss PHP mit der Option
|
||||
<option role="configure">--with-pspell[=dir]</option> übersetzt werden.
|
||||
</para>
|
||||
<note>
|
||||
<title>Anmerkung für Win32-Benutzer</title>
|
||||
<para>
|
||||
&ext.windows.path.dll;
|
||||
<filename>aspell-15.dll</filename> aus dem Verzeichnis
|
||||
<filename>bin</filename> der aspell-Installation.
|
||||
</para>
|
||||
<para>
|
||||
Die Ünterstützung von Win32 benötigt aspell ab Version 0.50.
|
||||
</para>
|
||||
</note>
|
||||
</section>
|
||||
</section>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: af621f747bd54d2cbec62340a10cc7c76a082a42 Maintainer: hholzgra Status: ready -->
|
||||
<!-- EN-Revision: 9b1673cf114a1e10c4563ab9223cb56aed552b89 Maintainer: hholzgra Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: 2166824858a40ea664c558f2930b63b8f4fd89c6 Reviewer: samesch -->
|
||||
<refentry xml:id="function.lcg-value" xmlns="http://docbook.org/ns/docbook">
|
||||
@@ -15,7 +14,8 @@
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<modifier role="attribute">#[\Deprecated]</modifier>
|
||||
<type>float</type><methodname>lcg_value</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
|
||||
@@ -1,33 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: sammywg Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<book xml:id="book.readline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<?phpdoc extension-membership="bundledexternal" ?>
|
||||
<title>Readline</title>
|
||||
<title>GNU-Readline</title>
|
||||
<titleabbrev>Readline</titleabbrev>
|
||||
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.readline">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Die readline-Funktionen implementieren eine
|
||||
Schnittstelle zur Readline-Bibliothek. Diese Funktionen bieten
|
||||
die Möglichkeit, Kommandozeilen zu editieren. Ein Beispiel für die
|
||||
Anwendung ist die Art und Weise, wie die Bash es erlaubt, die
|
||||
Pfeiltasten zu benutzen, um Schriftzeichen einzufügen oder durch
|
||||
die Kommando-History zu scrollen. Auf Grund des interaktiven
|
||||
Charakters dieser Bibliothek ist diese beim Programmieren von
|
||||
Webanwendungen von geringem Nutzen, kann aber nützlich sein, wenn
|
||||
Sie Skripte schreiben, die dafür gedacht sind, PHP von der
|
||||
Die readline-Funktionen implementieren eine Schnittstelle zur
|
||||
GNU-Readline-Bibliothek. Diese Funktionen bieten die Möglichkeit,
|
||||
Kommandozeilen zu editieren. Ein Beispiel für die Anwendung ist die Art und
|
||||
Weise, wie die Bash es erlaubt, die Pfeiltasten zu benutzen, um
|
||||
Schriftzeichen einzufügen oder durch die Kommando-History zu scrollen. Auf
|
||||
Grund des interaktiven Charakters dieser Bibliothek ist diese beim
|
||||
Programmieren von Webanwendungen von geringem Nutzen, kann aber nützlich
|
||||
sein, wenn Sie Skripte schreiben, die dafür gedacht sind, PHP von der
|
||||
<link linkend="features.commandline">Kommandozeile</link> auszuführen.
|
||||
</para>
|
||||
<para>
|
||||
Von PHP 7.1.0 wird diese Erweiterung unter Windows unterstützt.
|
||||
Von PHP 7.1.0 an wird diese Erweiterung unter Windows unterstützt.
|
||||
</para>
|
||||
<caution>
|
||||
<para>
|
||||
Die readline Extension ist nicht threadsicher! Daher wird von der Verwendung
|
||||
Die Erweiterung readline ist nicht threadsicher! Daher wird von der Verwendung
|
||||
mit jeglicher threadsicheren SAPI (wie Apaches mod_winnt) unbedingt abgeraten.
|
||||
</para>
|
||||
</caution>
|
||||
|
||||
@@ -1,46 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: sammywg Status: ready -->
|
||||
<!-- EN-Revision: 51779f7c42f39934403805a42b83cef7126a5fc1 Maintainer: sammywg Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Reviewer: samesch -->
|
||||
<section xml:id="readline.installation" xmlns="http://docbook.org/ns/docbook">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
Um diese Funktionen benutzten zu können, muss die CLI- oder CGI-Version von
|
||||
PHP mit readline-Unterstützung kompiliert sein. Dazu muss PHP mit der Option
|
||||
<option role="configure">--with-readline</option> konfiguriert werden.
|
||||
Um diese Funktionen benutzten zu können, müssen Sie die CLI- oder CGI-Version
|
||||
von PHP mit readline-Unterstützung kompiliert sein. Dazu müssen Sie PHP mit
|
||||
der Option <option role="configure">--with-readline</option> konfigurieren.
|
||||
Wenn Sie libedit als Readline-Ersatz verwendet wollen, konfigurieren Sie PHP
|
||||
mit <option role="configure">--with-libedit[=DIR]</option>.
|
||||
</para>
|
||||
<para>
|
||||
Unter Windows ist diese Erweiterung von PHP 7.1.0 an standardmäßig verfügbar.
|
||||
</para>
|
||||
<simplesect role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.4.0</entry>
|
||||
<entry>
|
||||
Die Konfigurationsoption
|
||||
<option role="configure">--with-libedit</option> wurde zu Gunsten der
|
||||
Option <option role="configure">--with-readline</option> entfernt, die
|
||||
nun zu Gunsten von pkg-config kein DIR-Argument mehr akzeptiert und nun
|
||||
auf die libedit-Bibliothek verweist, einen nicht unter der GPL
|
||||
stehenden Ersatz für die GNU-Readline-Bibliothek.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</simplesect>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: f8e440fe2967dfdc9018e3cff560d62d2f2ec678 Maintainer: sammywg Status: ready -->
|
||||
<!-- EN-Revision: 51779f7c42f39934403805a42b83cef7126a5fc1 Maintainer: sammywg Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Reviewer: samesch -->
|
||||
<appendix xml:id="readline.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@@ -14,41 +13,12 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Die Bibliothek, die für die Readline-Unterstützung verwendet wird; derzeit
|
||||
Die Bibliothek, die für die readline-Unterstützung verwendet wird; derzeit
|
||||
entweder <literal>readline</literal> oder <literal>libedit</literal>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Entfernt in PHP 8.4.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<formalpara>
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.4.0</entry>
|
||||
<entry>
|
||||
Die Konstante <constant>READLINE_LIB</constant> wurde entfernt. Sie
|
||||
enthielt die zur Unterstützung von readline verwendete Bibliothek mit
|
||||
dem Wert <literal>readline</literal> oder <literal>libedit</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</formalpara>
|
||||
</appendix>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: sammywg Status: ready -->
|
||||
<!-- EN-Revision: 51779f7c42f39934403805a42b83cef7126a5fc1 Maintainer: sammywg Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Reviewer: samesch -->
|
||||
|
||||
@@ -11,10 +10,17 @@
|
||||
<section xml:id="readline.requirements">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
Um die Funktionen von readline nutzen zu können, muss die Bibliothek libedit
|
||||
installiert sein. Die libedit-Bibliothek steht unter der BSD-Lizenz und kann
|
||||
unter <link xlink:href="&url.libedit;">&url.libedit;</link> heruntergeladen
|
||||
werden.
|
||||
Um die Funktionen von readline nutzen zu können, müssen Sie libreadline
|
||||
installieren. Sie finden libreadline auf der Homepage des
|
||||
GNU-Readline-Projekts unter
|
||||
<link xlink:href="&url.readline;">&url.readline;</link>.
|
||||
Es wird von Chet Ramey betreut, der auch der Autor von Bash ist.
|
||||
</para>
|
||||
<para>
|
||||
Sie können diese Funktionen auch mit der libedit-Bibliothek verwenden, einem
|
||||
nicht unter der GPL stehenden Ersatz für die readline-Bibliothek. Die
|
||||
libedit-Bibliothek steht unter BSD-Lizenz und kann unter
|
||||
<link xlink:href="&url.libedit;">&url.libedit;</link> heruntergeladen werden.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 52dc204a77076e1404257cf39f179882b90b5780 Maintainer: conni Status: ready -->
|
||||
<!-- EN-Revision: 9b1673cf114a1e10c4563ab9223cb56aed552b89 Maintainer: conni Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- Rev-Revision: 1.0 Reviewer: samesch -->
|
||||
<!-- Rev-Revision: 52dc204a77076e1404257cf39f179882b90b5780 Reviewer: samesch -->
|
||||
<refentry xml:id="function.shmop-close" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>shmop_close</refname>
|
||||
@@ -16,6 +15,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier role="attribute">#[\Deprecated]</modifier>
|
||||
<type>void</type><methodname>shmop_close</methodname>
|
||||
<methodparam><type>Shmop</type><parameter>shmop</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
@@ -61,6 +61,12 @@
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
Diese Funktion ist veraltet, da sie keine Auswirkungen mehr hat.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
|
||||
Reference in New Issue
Block a user