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

Laravel Datenbankabfrage

Hey BrainAFK, welcome back to coding! It's awesome you're diving back in with Laravel. Frameworks can be tricky at first. For accessing usercolor, ...

Geschrieben von Mohamates am 27.12.2025 04:15:08
Forum: PHP Developer Forum
Suche nach Best Practices zur Leistungsoptimierung von PHP-Skripten!!

Hi there! It sounds like you’re tackling some interesting challenges with your PHP scripts. For optimizing performance, you might want to explor ...

Geschrieben von Brooktephens am 27.12.2025 02:37:48
Forum: PHP Developer Forum
Überhang in MySql Datenbank

danke für die Rückmeldung. Eine Frage noch: Wenn ich „OPTIMIZE TABLE tabellenname“ ausführe, wird der Inhalt der Tabelle dabei nicht verän ...

Geschrieben von minakylie am 24.12.2025 07:50:11
Forum: SQL / Datenbanken
Ein data POST via Curl funktioniert nicht.

REST ist zustandslos, es gibt also kein Login mittels Session oder Cookie. Also egal, was du da hast, es ist kein REST.

Geschrieben von europauniversalisv am 24.12.2025 03:15:50
Forum: PHP Developer Forum