| php-manual.net |
|
| Home | PHP Manual auf Deutsch | PHP Manual in English | PHP manuel le sur le français | Impressum |
DOMDocument->save()(No version information available, might be only in CVS) DOMDocument->save() — Dumps the internal XML tree back into a file BeschreibungDOMDocument
mixed save
( string $filename
[, int $options
] )
Creates an XML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below. Parameter Liste
RückgabewerteReturns the number of bytes written or FALSE if an error occurred. ChangeLog
Beispiele
Example#1 Saving a DOM tree into a file
<?php |