Search Results
An XmlReader method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."
XMLReader::moveToFirstAttribute (PHP 5 >= 5.1.0, PHP 7, PHP 8) XMLReader::moveToFirstAttribute — Position cursor on the first Attribute
XMLReader::moveToFirstAttribute — Positionne le curseur sur le premier attribut Description public XMLReader::moveToFirstAttribute (): bool Déplace le curseur sur le premier attribut. Liste de paramètres Cette fonction ne contient aucun paramètre. Valeurs de retour Cette fonction retourne true en cas de succès ou false si une erreur survient.
Mar 18, 2020 · The XMLReader::moveToFirstAttribute () function is an inbuilt function in PHP which is used to position cursor on the first attribute of the element. This function is useful when we have multiple attributes for an element and we want to get the first one or when we want to check if an element has any attributes or not.
XMLReader extension is used to read/retrieve the contents of an XML document i.e. using the methods of the XMLReader class you can read each node of an XML document. The XMLReader::moveToFirstAttribute () function of the XMLReader class moves the cursor to the first attribute in the XML document.
When overridden in a derived class, moves to the first attribute.
English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.
