« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 10 for 字下げ (0.002 sec.)
XMLWriter::setIndent — 字下げの on/off を切り替える | PHP 8.3 12818
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 手続き型のコールでのみ使用します。 変更される XMLWriter のインスタンスです。 こ ... のインスタンスは、 xmlwriter_open_uri() あるいは xmlwriter_open_memory() を呼び出すことで取得したものです。 enable 字下げを有効にするかどうか。 戻り値 成功した場合に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 8.0.0 引数 ... これより前のバージョンでは、リソースが期待されていました。 例 例1 XMLWriter::setIndent() と mixed content mixed content では字下げを有効にしてもうまく動きません。 字下げされた文字列は、インライン要素の前に挿入されるからです。 <?php $writer = new XMLWrite ...
https://man.mtool.work/php/8.3/xmlwriter.setindent.html
XMLWriter::setIndentString — 字下げに使用する文字列を設定する | PHP 8.3 11745
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 ... _string ( XMLWriter $writer , string $indentation ): bool 文字列を設定します。この文字を使用して、結果の xml の要素/属性 を字下げします。 パラメータ writer 手続き型のコールでのみ使用します。 変更される XMLWriter のインスタンスです。 このインスタンスは、 ... xmlwriter_open_uri() あるいは xmlwriter_open_memory() を呼び出すことで取得したものです。 indentation 字下げ用の文字列。 戻り値 成功した場合に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 8.0.0 引数 writer は、 ... るようになりました。 これより前のバージョンでは、リソースが期待されていました。 注意 注意 : xmlwriter がオープンされた時に、字下げの状態はリセットされます。 参考 XMLWriter::setIndent() - 字下げの on/off を切り替える 他のマニュアルの関連ページ Linux JM in ...
https://man.mtool.work/php/8.3/xmlwriter.setindentstring.html
ps_show_boxed — テキストをボックス内に出力する | PHP 8.3 9475
ps_show_boxed (PECL ps >= 1.1.0) ps_show_boxed — テキストをボックス内に出力する 説明 function ps_show_boxed ( resource $psdoc , string $text , float $left , float $bottom , float $width , float $height , string $hmode , string $feature = ? ... ます。 TeX と同様に、段落と段落の間には空行が挿入されます。 値 parindent が 0.0 より大きく設定されている場合、 最初の n 行は字下げされます。n の行数は、値 numindentlines で設定します。 最初の m 段落を字下げしないようにするには、 値 parindentskip に正の数 ... とです。 デフォルトは 3 です。値をゼロに設定すると、デフォルトの値が使われます。 parindent (value) 段落の最初の m 行に対する字下げの量をピクセル単位で設定します。 m は、値 numindentlines で設定します。 parskip (value) 段落間の空白の追加量をピクセル単位で ... 設定します。 デフォルトは 0 で、 通常の行間設定をそのまま利用します。 numindentlines (value) 段落の最初の部分で字下げ対象となる行数です。 デフォルトは 1 です。 parindentskip (value) 字下げ処理を行わない段落数を設定します。 デフォルトは 0 です ...
https://man.mtool.work/php/8.3/function.ps-show-boxed.html
preg_replace_callback — 正規表現検索を行い、コールバック関数を使用して置換を行... 8473
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 ... カプセル化された BB code を処理するための、 preg_replace_callback() での再帰構造の使用 <?php $input = "通常の位置 [indent] 字下げ [indent] もっと字下げ [/indent] 字下げ [/indent] 通常の位置" ; function parseTagsRecursive ( $input ) { $regex = '#\[inden ...
https://man.mtool.work/php/8.3/function.preg-replace-callback.html
ps_get_value — 値を取得する | PHP 8.3 8205
ps_get_value (PECL ps >= 1.1.0) ps_get_value — 値を取得する 説明 function ps_get_value ( resource $psdoc , string $name , float $modifier = ? ): float ps_set_value() で設定された値を取得します。 値は浮動小数点数値として定義されます。 パラメ ... ャは常に分解されます。 hyphenminchars 単語の末尾で、ハイフネーションの対象となる最小文字数。 parindent 各段落の最初の n 行を字下げします。 numindentlines parindent が 0.0 でない場合に、段落内で字下げする行数。 parskip 段落と段落の間隔。 linenumberspace 行 ...
https://man.mtool.work/php/8.3/function.ps-get-value.html
XMLWriter | PHP 8.3 8116
XMLWriter はじめに これは、XMLWriter 拡張モジュールです。 libxml の xmlWriter API をラップしています。 この拡張モジュールは、キャッシュ処理をしない前進のみのライターで、 XML データを含むストリームあるいはファイルを作成します。 この拡張モジュ ... i — ソース URI を指定して新しい xmlwriter を作成する XMLWriter::outputMemory — 現在のバッファを返す XMLWriter::setIndent — 字下げの on/off を切り替える XMLWriter::setIndentString — 字下げに使用する文字列を設定する XMLWriter::startAttribute — 属性を開始す ...
https://man.mtool.work/php/8.3/book.xmlwriter.html
XMLWriter クラス | PHP 8.3 8027
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 ... i — ソース URI を指定して新しい xmlwriter を作成する XMLWriter::outputMemory — 現在のバッファを返す XMLWriter::setIndent — 字下げの on/off を切り替える XMLWriter::setIndentString — 字下げに使用する文字列を設定する XMLWriter::startAttribute — 属性を開始す ...
https://man.mtool.work/php/8.3/class.xmlwriter.html
実行時設定 | PHP 8.3 7669
実行時設定 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 ... .output_canonical bool デフォルトではオフです。オンにすると、標準形式の出力となります。 yaml.output_indent int セクションの字下げに使うスペースの数。 1 から 10 までの間の値でなければなりません。 yaml.output_width int 行の長さの推奨値。 -1 は、無制限を意 ...
https://man.mtool.work/php/8.3/yaml.configuration.html
mb_encode_mimeheader — MIMEヘッダの文字列をエンコードする | PHP 8.3 7580
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 ... います。 分割する長さは、現在 74 文字に固定されています) 際に利用します。 デフォルトは "\r\n" (CRLF) です。 indent 最初の行の字下げ (ヘッダで string の前におく文字数)。 戻り値 文字列を ASCII 表現に変換したものを返します。 変更履歴 バージョン 説明 8.3.0 N ...
https://man.mtool.work/php/8.3/function.mb-encode-mimeheader.html
DOMDocument クラス | PHP 8.3 7204
DOMDocument クラス (PHP 5, PHP 7, PHP 8) はじめに HTML ドキュメントあるいは XML ドキュメント全体を表し、 ドキュメントツリーのルートとなります。 クラス概要 class DOMDocument extends DOMNode implements DOMParentNode { /* 継承した定数 */ publi ... ングを扱うにはこれを使用するしかありません。 firstElementChild 最初の子要素。存在しない場合は null になります。 formatOutput 字下げや空白を考慮してきれいに整形した出力を行う。 これは、ドキュメントを preserveWhitespace を有効にして読み込んだ場合は効果があり ...
https://man.mtool.work/php/8.3/class.domdocument.html
PREV 1 NEXT