XMLWriter::startAttribute

PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0
XMLWriter::startAttribute - Create start attribute
Manual
Code Examples

Example #1 Basic XMLWriter::startAttribute Usage

Result: <?xml version="1.0" encoding="UTF-8"?> <element attribute="value"/>
PHP Version: