Results of 1 - 10 of about 31 for indent (0.007 sec.)
- preg_replace_callback — 正規表現検索を行い、コールバック関数を使用して置換を行... 11728
- preg_replace_callback (PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8) preg_replace_callback — 正規表現検索を行い、コールバック関数を使用して置換を行う 説明 function preg_replace_callback ( string | array $pattern , callable $callback , string | array
... した 例3 カプセル化された BB code を処理するための、 preg_replace_callback() での再帰構造の使用 <?php $input = "通常の位置 [indent] 字下げ [indent] もっと字下げ [/indent] 字下げ [/indent] 通常の位置" ; function parseTagsRecursive ( $input ) { $regex = ' ... #\[indent]((?:[^[]|\[(?!/?indent])|(?R))+)\[/indent]#' ; if ( is_array ( $input )) { $input = '<div style="margin-left: 10px">' . $i ... st_error() - 直近の PCRE 正規表現処理のエラーコードを返す 無名関数 他のマニュアルの関連ページ Linux JM fnmatch(3) Linux JM indent(1) Linux JM regex(3) DuckDB Regular Expressions Python textwrap Linux JM regex(7) ...
-
https://man.mtool.work/php/8.3/function.preg-replace-callback.html
- tidy::getConfig — 現在の Tidy の設定を取得する | PHP 8.3 11615
- tidy::getConfig tidy_get_config (PHP 5, PHP 7, PHP 8, PECL tidy >= 0.7.0) tidy::getConfig -- tidy_get_config — 現在の Tidy の設定を取得する 説明 オブジェクト指向型 public function tidy::getConfig (): array 手続き型 function tidy_get_config
... l-tidy.org/#quick-reference を参照ください。 例 例1 tidy::getConfig() の例 <?php $html = '<p>test</p>' ; $config = array( 'indent' => TRUE , 'output-xhtml' => TRUE , 'wrap' => 200 ); $tidy = tidy_parse_string ( $html , $config ); print_r ( $tidy -> get ... Config ()); ?> 上の例の出力は以下となります。 Array ( [indent-spaces] => 2 [wrap] => 200 [tab-size] => 8 [char-encoding] => 1 [input-encoding] => 3 [output-encoding] => 1 [newline] => ... -text] => [slide-style] => [error-file] => [output-file] => [write-back] => [markup] => 1 [show-warnings] => 1 [quiet] => [indent] => 1 [hide-endtags] => [input-xml] => [output-xml] => 1 [output-xhtml] => 1 [output-html] => [add-xml-decl] => [uppercase ...
-
https://man.mtool.work/php/8.3/tidy.getconfig.html
- tidy::root — Tidy パースツリーのルートを表す tidyNode | PHP 8.3 11275
- tidy::root tidy_get_root (PHP 5, PHP 7, PHP 8, PECL tidy 0.5.2-1.0.0) tidy::root -- tidy_get_root — Tidy パースツリーのルートを表す tidyNode を返す 説明 オブジェクト指向型 public function tidy::root (): ? tidyNode 手続き型 function tidy_get
... body></html> HTML; $tidy = tidy_parse_string ( $html ); dump_nodes ( $tidy -> root (), 1 ); function dump_nodes ( $node , $indent ) { if( $node -> hasChildren ()) { foreach( $node -> child as $child ) { echo str_repeat ( '.' , $indent * 2 ) . ( $child ... -> name ? $child -> name : '"' . $child -> value . '"' ). "\n" ; dump_nodes ( $child , $indent + 1 ); } } } ?> 上の例の出力は以下となります。 ..html ....head ......title ....body ......p ........"paragraph" ......br 他 ... のマニュアルの関連ページ Linux JM indent(1) Linux JM mount(8) Linux JM chroot(1) Linux JM set_tid_address(2) Linux JM migrate_pages(2) Linux JM setuid32(2) ...
-
https://man.mtool.work/php/8.3/tidy.root.html
- XMLWriter::setIndentString — 字下げに使用する文字列を設定する | PHP 8.3 11049
- XMLWriter::setIndentString xmlwriter_set_indent_string (PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0) XMLWriter::setIndentString -- xmlwriter_set_indent_string — 字下げに使用する文字列を設定する 説明 オブジェクト指向型 public funct
... ion XMLWriter::setIndentString ( string $indentation ): bool 手続き型 function xmlwriter_set_indent_string ( XMLWriter $writer , string $indentatio ... スタンスです。 このインスタンスは、 xmlwriter_open_uri() あるいは xmlwriter_open_memory() を呼び出すことで取得したものです。 indentation 字下げ用の文字列。 戻り値 成功した場合に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 8.0.0 引 ... ソースが期待されていました。 注意 注意 : xmlwriter がオープンされた時に、字下げの状態はリセットされます。 参考 XMLWriter::setIndent() - 字下げの on/off を切り替える 他のマニュアルの関連ページ Linux JM indent(1) Vim insert Linux JM grohtml(1) Python xml.d ...
-
https://man.mtool.work/php/8.3/xmlwriter.setindentstring.html
- XMLWriter::setIndent — 字下げの on/off を切り替える | PHP 8.3 10353
- 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
... l $enable ): bool 手続き型 function xmlwriter_set_indent ( XMLWriter $writer , bool $enable ): bool 字下げの on/off を切り替えます。 パラメータ writer 手続き型のコールでのみ使用し ... のインスタンスを期待するようになりました。 これより前のバージョンでは、リソースが期待されていました。 例 例1 XMLWriter::setIndent() と mixed content mixed content では字下げを有効にしてもうまく動きません。 字下げされた文字列は、インライン要素の前に挿入 ... されるからです。 <?php $writer = new XMLWriter (); $writer -> openMemory (); $writer -> setIndent ( true ); $writer -> startDocument (); $writer -> startElement ( 'p' ); $writer -> text ( 'before' ); $writer -> writeElem ...
-
https://man.mtool.work/php/8.3/xmlwriter.setindent.html
- XML 名前空間の使用 | PHP 8.3 10240
- XML 名前空間の使用 この例では、名前空間を指定した XML 要素を作る方法を示します。 例1 XML 名前空間の使用 <?php $xw = xmlwriter_open_memory (); xmlwriter_set_indent ( $xw , 1 ); $res = xmlwriter_set_indent_string ( $xw , ' ' ); xmlwriter_star
... "UTF-8"?> <prefix:books isbn="" prefix:isbn="" xmlns:prefix="uri">book1</prefix:books> 他のマニュアルの関連ページ Linux JM indent(1) Vim if_mzsch Linux JM ftpconversions(5) Linux JM lsattr(1) Linux JM fgetxattr(2) Linux JM getxattr(2) ...
-
https://man.mtool.work/php/8.3/example.xmlwriter-namespace.html
- 単純な XML ドキュメントの作成 | PHP 8.3 9447
- 単純な XML ドキュメントの作成 この例では、XMLWriter を使ってメモリ上に XML ドキュメントを作る方法を示します。 例1 単純な XML ドキュメントの作成 <?php $xw = xmlwriter_open_memory (); xmlwriter_set_indent ( $xw , 1 ); $res = xmlwriter_set_indent
... ta content]]></testc> <testc><![CDATA[test cdata2]]></testc> <?php $foo=2;echo $foo;?> 他のマニュアルの関連ページ Linux JM indent(1) DuckDB Indexing DuckDB Full Python textwrap Linux JM sysctl.conf(5) DuckDB Directly Reading Files ...
-
https://man.mtool.work/php/8.3/example.xmlwriter-simple.html
- 実行時設定 | PHP 8.3 9318
- 実行時設定 php.ini の設定により動作が変化します。 Yaml 設定オプション 名前 デフォルト 変更可能 変更履歴 yaml.decode_binary 0 INI_ALL yaml.decode_php 0 INI_ALL 1.2.0 で追加されました。2.0.0 より前のデフォルトは 1 でした yaml.decode_timestamp
... 0 INI_ALL yaml.output_canonical 0 INI_ALL yaml.output_indent 2 INI_ALL yaml.output_width 80 INI_ALL 以下に設定ディレクティブに関する 簡単な説明を示します。 yaml.decode_binary bool デフ ... ェクトに変換します。 yaml.output_canonical bool デフォルトではオフです。オンにすると、標準形式の出力となります。 yaml.output_indent int セクションの字下げに使うスペースの数。 1 から 10 までの間の値でなければなりません。 yaml.output_width int 行の長さの推 ... 奨値。 -1 は、無制限を意味します。 他のマニュアルの関連ページ Python binary Linux JM indent(1) Python uu Python base64 Python email.header Python quopri ...
-
https://man.mtool.work/php/8.3/yaml.configuration.html
- mb_encode_mimeheader — MIMEヘッダの文字列をエンコードする | PHP 8.3 8978
- mb_encode_mimeheader (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) mb_encode_mimeheader — MIMEヘッダの文字列をエンコードする 説明 function mb_encode_mimeheader ( string $string , ? string $charset = null , ? string $transfer_encoding = null , strin
... g $newline = "\r\n" , int $indent = 0 ): string MIME ヘッダエンコーディング方式によって文字列 string をエンコードします。 パラメータ string エンコードする文 ... 分割することを言います。 分割する長さは、現在 74 文字に固定されています) 際に利用します。 デフォルトは "\r\n" (CRLF) です。 indent 最初の行の字下げ (ヘッダで string の前におく文字数)。 戻り値 文字列を ASCII 表現に変換したものを返します。 変更履歴 バージ ... - MIME ヘッダフィールドの文字列をデコードする 他のマニュアルの関連ページ Python email.charset Python email.header Linux JM indent(1) Python base64 Python uu Python unicode ...
-
https://man.mtool.work/php/8.3/function.mb-encode-mimeheader.html
- Tidy の例 | PHP 8.3 7829
- Tidy の例 このシンプルな例は、Tidy の基本的な使い方を示しています。 例1 Tidy の基本的な使用法 <?php ob_start (); ?> <html>a html document</html> <?php $html = ob_get_clean (); // 設定 $config = array( 'indent' => true , 'output-xhtml' => tr
...
-
https://man.mtool.work/php/8.3/tidy.examples.basic.html