Vordefinierte Konstanten

Folgende Konstanten werden von dieser Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.

XML constants
Constant Value Description
XML_ELEMENT_NODE (int) 1 Node is a DOMElement
XML_ATTRIBUTE_NODE (int) 2 Node is a DOMAttr
XML_TEXT_NODE (int) 3 Node is a DOMText
XML_CDATA_SECTION_NODE (int) 4 Node is a DOMCharacterData
XML_ENTITY_REF_NODE (int) 5 Node is a DOMEntityReference
XML_ENTITY_NODE (int) 6 Node is a DOMEntity
XML_PI_NODE (int) 7 Node is a DOMProcessingInstruction
XML_COMMENT_NODE (int) 8 Node is a DOMComment
XML_DOCUMENT_NODE (int) 9 Node is a DOMDocument
XML_DOCUMENT_TYPE_NODE (int) 10 Node is a DOMDocumentType
XML_DOCUMENT_FRAG_NODE (int) 11 Node is a DOMDocumentFragment
XML_NOTATION_NODE (int) 12 Node is a DOMNotation
XML_HTML_DOCUMENT_NODE (int) 13  
XML_DTD_NODE (int) 14  
XML_ELEMENT_DECL_NODE (int) 15  
XML_ATTRIBUTE_DECL_NODE (int) 16  
XML_ENTITY_DECL_NODE (int) 17  
XML_NAMESPACE_DECL_NODE (int) 18  
XML_ATTRIBUTE_CDATA (int) 1  
XML_ATTRIBUTE_ID (int) 2  
XML_ATTRIBUTE_IDREF (int) 3  
XML_ATTRIBUTE_IDREFS (int) 4  
XML_ATTRIBUTE_ENTITY (int) 5  
XML_ATTRIBUTE_NMTOKEN (int) 7  
XML_ATTRIBUTE_NMTOKENS (int) 8  
XML_ATTRIBUTE_ENUMERATION (int) 9  
XML_ATTRIBUTE_NOTATION (int) 10  
DOMException constants
Constant Value Description
DOM_PHP_ERR (int) 0 Error code not part of the DOM specification. Meant for PHP errors.
DOM_INDEX_SIZE_ERR (int) 1 If index or size is negative, or greater than the allowed value.
DOMSTRING_SIZE_ERR (int) 2 If the specified range of text does not fit into a DOMString.
DOM_HIERARCHY_REQUEST_ERR (int) 3 If any node is inserted somewhere it doesn't belong
DOM_WRONG_DOCUMENT_ERR (int) 4 If a node is used in a different document than the one that created it.
DOM_INVALID_CHARACTER_ERR (int) 5 If an invalid or illegal character is specified, such as in a name.
DOM_NO_DATA_ALLOWED_ERR (int) 6 If data is specified for a node which does not support data.
DOM_NO_MODIFICATION_ALLOWED_ERR (int) 7 If an attempt is made to modify an object where modifications are not allowed.
DOM_NOT_FOUND_ERR (int) 8 If an attempt is made to reference a node in a context where it does not exist.
DOM_NOT_SUPPORTED_ERR (int) 9 If the implementation does not support the requested type of object or operation.
DOM_INUSE_ATTRIBUTE_ERR (int) 10 If an attempt is made to add an attribute that is already in use elsewhere.
DOM_INVALID_STATE_ERR (int) 11 If an attempt is made to use an object that is not, or is no longer, usable.
DOM_SYNTAX_ERR (int) 12 If an invalid or illegal string is specified.
DOM_INVALID_MODIFICATION_ERR (int) 13 If an attempt is made to modify the type of the underlying object.
DOM_NAMESPACE_ERR (int) 14 If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
DOM_INVALID_ACCESS_ERR (int) 15 If a parameter or an operation is not supported by the underlying object.
DOM_VALIDATION_ERR (int) 16 If a call to a method such as insertBefore or removeChild would make the Node invalid with respect to "partial validity", this exception would be raised and the operation would not be done.

Hier Kannst Du einen Kommentar verfassen


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

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

Grundlagen von Views in MySQL

Views in einer MySQL-Datenbank bieten die Möglichkeit, eine virtuelle Tabelle basierend auf dem Ergebnis einer SQL-Abfrage zu erstellen. ...

admin

Autor : admin
Kategorie: mySQL-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

Daten einer Abfrage mit Hilfe von Thumbnails nebeneinander ausgeben

Warum soll ich float meiden? Siehe https://www.linkedin.com/pulse/css-float-vs-grid-flexbox-sachin-tiwari Falls es mit Englisch nicht so klappt: ...

Geschrieben von scatello am 18.05.2024 05:57:56
Forum: PHP Developer Forum
Daten einer Abfrage mit Hilfe von Thumbnails nebeneinander ausgeben

Also den Fehler habe ich gefunden und abgestellt. Warum soll ich float meiden?

Geschrieben von Malchor am 17.05.2024 20:54:01
Forum: PHP Developer Forum
Daten einer Abfrage mit Hilfe von Thumbnails nebeneinander ausgeben

Dein HTML-Code ist definitiv kaputt und float solltest du auch vergessen. Beschäftige dich mit Flex-Box oder Grid

Geschrieben von scatello am 17.05.2024 20:43:50
Forum: PHP Developer Forum
Daten einer Abfrage mit Hilfe von Thumbnails nebeneinander ausgeben

Da ich viele unterschiedliche Tabellen benötige mache ich das so umständlich. Aber ist das der Grund warum das Floaten nicht funktioniert?

Geschrieben von Malchor am 17.05.2024 17:15:03
Forum: PHP Developer Forum