xml_parser_create

(PHP 4, PHP 5, PHP 7, PHP 8)

xml_parser_createCreate an XML parser

Beschreibung

xml_parser_create(?string $encoding = null): XMLParser

xml_parser_create() creates a new XML parser and returns a XMLParser instance to be used by the other XML functions.

Parameter-Liste

encoding

The input encoding is automatically detected, so that the encoding parameter specifies only the output encoding. If empty string is passed, the parser attempts to identify which encoding the document is encoded in by looking at the heading 3 or 4 bytes. The default output charset is UTF-8. The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.

Rückgabewerte

Returns a new XMLParser instance.

Changelog

Version Beschreibung
8.0.0 This function returns an XMLParser instance now; previously, a resource was returned, Bei einem Fehler wird false zurückgegeben..
8.0.0 encoding is nullable now.

Siehe auch

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

übergabeproblem

Proper debugging You notice that a script is not doing what it is supposed to. The following line is written at the beginning of the script: er ...

Geschrieben von JohnSnow am 10.01.2026 15:58:16
Forum: PHP Developer Forum
Helldivers 2 Major Orders Explained: A Guide to Community Goals

Major Orders are the large-scale, community-wide objectives that drive the Galactic War in Helldivers 2. If you've ever wondered why everyone seem ...

Geschrieben von PixelNova am 10.01.2026 04:11:48
Forum: Off-Topic Diskussionen
Kalenderwoche auf Sonntag anfangen lassen

The choice of Call Girls In Agra (https://agra.fungirl.in/)​ is equivalent to that of daring characters and top-notch comfort. The whole thing s ...

Geschrieben von priyasood am 07.01.2026 14:51:34
Forum: PHP Developer Forum
Slope rider

You need to be more attentive and have quicker reflexes with each run, as they become increasingly challenging and faster. Your slope rider (https ...

Geschrieben von NadiaEira am 06.01.2026 11:11:57
Forum: Ankündigungen