Einführung

Streams are the way of generalizing file, network, data compression, and other operations which share a common set of functions and uses. In its simplest definition, a stream is a resource object which exhibits streamable behavior. That is, it can be read from or written to in a linear fashion, and may be able to fseek() to an arbitrary location within the stream.

A wrapper is additional code which tells the stream how to handle specific protocols/encodings. For example, the http wrapper knows how to translate a URL into an HTTP/1.0 request for a file on a remote server. There are many wrappers built into PHP by default (See Unterstützte Protokolle und Wrapper), and additional, custom wrappers may be added either within a PHP script using stream_wrapper_register(), or directly from an extension. Because any variety of wrapper may be added to PHP, there is no set limit on what can be done with them. To access the list of currently registered wrappers, use stream_get_wrappers().

A stream is referenced as: scheme://target

  • scheme(string) - The name of the wrapper to be used. Examples include: file, http, https, ftp, ftps, compress.zlib, compress.bz2, and php. See Unterstützte Protokolle und Wrapper for a list of PHP built-in wrappers. If no wrapper is specified, the function default is used (typically file://).
  • target - Depends on the wrapper used. For filesystem related streams this is typically a path and filename of the desired file. For network related streams this is typically a hostname, often with a path appended. Again, see Unterstützte Protokolle und Wrapper for a description of targets for built-in streams.

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

trattera price. Buy cod pay Strattera - Strattera to buy online. Hounslow — United K

price Strattera. Buy cod pay Strattera Do you need reliable, high-quality medications, but don't want to leave home to buy them? Then you are in t ...

Geschrieben von drawer am 19.06.2026 18:57:58
Forum: Ankündigungen
nisom Rabatt. Köp Unisom Online Fedex - Hur får man ahold av Unisom. Göteborg – Sver

Rabatt Unisom. Köp Unisom Online Fedex Behöver du pålitliga, högkvalitativa mediciner, men vill inte lämna hemmet för att köpa dem? Då är ...

Geschrieben von travelder am 19.06.2026 18:57:17
Forum: Bücher-Forum
lfuzosin Befehl. Alfuzosin Indien kaufen - Alfuzosin Deutschland kaufen. Bergen — Be

Befehl Alfuzosin. Alfuzosin Indien kaufen Sie benötigen hochwertige Medikamente ohne Aufwand? Unsere Online-Apotheke hilft Ihnen dabei! Stöbern ...

Geschrieben von drawer am 19.06.2026 18:57:11
Forum: Fragen/Vorschläge zum Forum
dderall Entrega rápida. precio Adderall 0 5mg - precio de Adderall en gotas. Elche —

Entrega rápida Adderall. precio Adderall 0 5mg ¿Busca medicamentos de primera calidad sin salir de casa? ¡No busque más! Nuestra tienda en lí ...

Geschrieben von travelder am 19.06.2026 18:56:46
Forum: Entwicklungsumgebungen