« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for outputMemory (0.001 sec.)
XMLWriter::outputMemory — 現在のバッファを返す | PHP 8.3 13014
XMLWriter::outputMemory xmlwriter_output_memory (PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0) XMLWriter::outputMemory -- xmlwriter_output_memory — 現在のバッファを返す 説明 オブジェクト指向型 public function XMLWriter::outputMemory ...
https://man.mtool.work/php/8.3/xmlwriter.outputmemory.html
オブジェクト指向 API の使用 | PHP 8.3 9267
オブジェクト指向 API の使用 この例では、XMLWriter のオブジェクト指向 API を使う方法を示します。 例1 オブジェクト指向 API の使用 <?php $xw = new XMLWriter (); $xw -> openMemory (); $xw -> startDocument ( "1.0" ); $xw -> startElement ( "book" ... ); $xw -> text ( "example" ); $xw -> endElement (); $xw -> endDocument (); echo $xw -> outputMemory (); 上の例の出力は以下となります。 <?xml version="1.0"?> <book>example</book> ...
https://man.mtool.work/php/8.3/example.xmlwriter-oop.html
XMLWriter クラス | PHP 8.3 8847
XMLWriter クラス (PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0) はじめに クラス概要 class XMLWriter { /* メソッド */ public function endAttribute (): bool public function endCdata (): bool public function endComment (): bool public ... fullEndElement (): bool public function openMemory (): bool public function openUri ( string $uri ): bool public function outputMemory ( bool $flush = true ): string public function setIndent ( bool $enable ): bool public function setIndentString ( string $ ... メモリを使用する新しい xmlwriter を作成する XMLWriter::openUri — ソース URI を指定して新しい xmlwriter を作成する XMLWriter::outputMemory — 現在のバッファを返す XMLWriter::setIndent — 字下げの on/off を切り替える XMLWriter::setIndentString — 字下げに使用する文 ...
https://man.mtool.work/php/8.3/class.xmlwriter.html
XMLWriter::setIndent — 字下げの on/off を切り替える | PHP 8.3 8024
XMLWriter::setIndent xmlwriter_set_indent (PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0) XMLWriter::setIndent -- xmlwriter_set_indent — 字下げの on/off を切り替える 説明 オブジェクト指向型 public function XMLWriter::setIndent ( boo ... ent ( 'a' , 'element' ); $writer -> text ( 'after' ); $writer -> endElement (); $writer -> endDocument (); echo $writer -> outputMemory (); ?> 上の例の出力は以下となります。 <?xml version="1.0"?> <p>before <a>element</a> after</p> 注意 注意 : xmlwriter がオー ...
https://man.mtool.work/php/8.3/xmlwriter.setindent.html
XMLWriter::writeCdata — CDATA タグ全体を書き込む | PHP 8.3 8024
XMLWriter::writeCdata xmlwriter_write_cdata (PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0) XMLWriter::writeCdata -- xmlwriter_write_cdata — CDATA タグ全体を書き込む 説明 オブジェクト指向型 public function XMLWriter::writeCdata ( st ... CData" ); $xml -> endElement (); // end the document and output $xml -> endElement (); $xml -> endElement (); echo $xml -> outputMemory ( true ); ?> 上の例の出力は以下となります。 <?xml version="1.0" encoding="UTF-8"?> <mydoc> <myele> <mycdataelement><![CDAT ...
https://man.mtool.work/php/8.3/xmlwriter.writecdata.html
XMLWriter | PHP 8.3 7604
XMLWriter はじめに これは、XMLWriter 拡張モジュールです。 libxml の xmlWriter API をラップしています。 この拡張モジュールは、キャッシュ処理をしない前進のみのライターで、 XML データを含むストリームあるいはファイルを作成します。 この拡張モジュ ... メモリを使用する新しい xmlwriter を作成する XMLWriter::openUri — ソース URI を指定して新しい xmlwriter を作成する XMLWriter::outputMemory — 現在のバッファを返す XMLWriter::setIndent — 字下げの on/off を切り替える XMLWriter::setIndentString — 字下げに使用する文 ...
https://man.mtool.work/php/8.3/book.xmlwriter.html
PREV 1 NEXT