« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 160 for Element (0.002 sec.)
cubrid_seq_insert — Insert an element to a sequence type column using OID | PHP... 9848
cubrid_seq_insert (PECL CUBRID >= 8.3.0) cubrid_seq_insert — Insert an element to a sequence type column using OID 説明 function cubrid_seq_insert ( resource $conn_identifier , string $oid , string $attr_name , int $index , string $seq_element ... ent ): bool The cubrid_seq_insert() function is used to insert an element to a sequence type attribute in a requested location. パラメータ conn_identifier Connection identifier. oid OID of the ins ... tance you want to work with. attr_name Name of the attribute you want to insert an instance to. index Location of the element, you want to insert the element to (1-based). seq_element Content of the element that you want to insert. 戻り値 成功した場 ... [1]=> string(2) "22" [2]=> string(2) "33" [3]=> string(3) "333" [4]=> string(2) "44" } 参考 cubrid_seq_drop() - Delete an element from sequence type column using OID cubrid_seq_put() - Update the element value of sequence type column using OID 他のマニ ...
https://man.mtool.work/php/8.3/function.cubrid-seq-insert.html
単純な XML ドキュメントの作成 | PHP 8.3 9504
単純な XML ドキュメントの作成 この例では、XMLWriter を使ってメモリ上に XML ドキュメントを作る方法を示します。 例1 単純な XML ドキュメントの作成 <?php $xw = xmlwriter_open_memory (); xmlwriter_set_indent ( $xw , 1 ); $res = xmlwriter_set_ind ... ent_string ( $xw , ' ' ); xmlwriter_start_document ( $xw , '1.0' , 'UTF-8' ); // 最初の要素 xmlwriter_start_element ( $xw , 'tag1' ); // 要素 'tag1' の属性 'att1' xmlwriter_start_attribute ( $xw , 'att1' ); xmlwriter_text ( $xw , 'valueof ... ; xmlwriter_end_attribute ( $xw ); xmlwriter_write_comment ( $xw , 'this is a comment.' ); // 子要素を開始 xmlwriter_start_element ( $xw , 'tag11' ); xmlwriter_text ( $xw , 'This is a sample text, ä' ); xmlwriter_end_element ( $xw ); // tag11 xmlwriter_ ... end_element ( $xw ); // tag1 // CDATA xmlwriter_start_element ( $xw , 'testc' ); xmlwriter_write_cdata ( $xw , "This is cdata content" ...
https://man.mtool.work/php/8.3/example.xmlwriter-simple.html
cubrid_seq_put — Update the element value of sequence type column using OID | P... 9229
cubrid_seq_put (PECL CUBRID >= 8.3.0) cubrid_seq_put — Update the element value of sequence type column using OID 説明 function cubrid_seq_put ( resource $conn_identifier , string $oid , string $attr_name , int $index , string $seq_element ... ): bool The cubrid_seq_put() function is used to update the content of the requested element in a sequent type attribute using OID. パラメータ conn_identifier Connection identifier. oid OID of the instance you want ... to work with. attr_name Name of the attribute that you want to update an element. index Index (1-based) of the element that you want to update. seq_element New content that you want to use for the update ... [0]=> string(3) "111" [1]=> string(2) "22" [2]=> string(2) "33" [3]=> string(3) "333" } 参考 cubrid_seq_drop() - Delete an element from sequence type column using OID cubrid_seq_insert() - Insert an element to a sequence type column using OID 他のマニュ ...
https://man.mtool.work/php/8.3/function.cubrid-seq-put.html
DOMDocument::importNode — 現在のドキュメントにノードをインポートする | PHP 8.3 9033
DOMDocument::importNode (PHP 5, PHP 7, PHP 8) DOMDocument::importNode — 現在のドキュメントにノードをインポートする 説明 public function DOMDocument::importNode ( DOMNode $node , bool $deep = false ): DOMNode | false この関数は、インポートす ... t::importNode() の例 ノードをドキュメント間でコピーします。 <?php $orgdoc = new DOMDocument ; $orgdoc -> loadXML ( "<root><element><child>text in child</child></element></root>" ); // 新しいドキュメントにインポートしたいノード $node = $orgdoc -> getElem ... entsByTagName ( "element" )-> item ( 0 ); // 新しいドキュメントを作成します $newdoc = new DOMDocument ; $newdoc -> formatOutput = true ; // マークア ... ップを追加します $newdoc -> loadXML ( "<root><someelement>text in some element</someelement></root>" ); echo "The 'new document' before copying nodes into it:\n" ; echo $newdoc -> ...
https://man.mtool.work/php/8.3/domdocument.importnode.html
SeekableIterator インターフェイス | PHP 8.3 8965
SeekableIterator インターフェイス (PHP 5 >= 5.1.0, PHP 7, PHP 8) はじめに Seekable イテレータです。 インターフェイス概要 interface SeekableIterator extends Iterator { /* メソッド */ public function seek ( int $offset ): void /* 継承したメソ ... を扱います。 <?php class MySeekableIterator implements SeekableIterator { private $position ; private $array = array( "first element" , "second element" , "third element" , "fourth element" ); /* SeekableIterator インターフェイスで必要なメソッド群 */ publ ... } catch ( OutOfBoundsException $e ) { echo $e -> getMessage (); } ?> 上の例の出力は、 たとえば以下のようになります。 first element third element second element invalid seek position (10) 目次 SeekableIterator::seek — 位置を移動する 他のマニュアルの関連ペ ...
https://man.mtool.work/php/8.3/class.seekableiterator.html
cubrid_set_drop — Delete an element from set type column using OID | PHP 8.3 8827
cubrid_set_drop (PECL CUBRID >= 8.3.0) cubrid_set_drop — Delete an element from set type column using OID 説明 function cubrid_set_drop ( resource $conn_identifier , string $oid , string $attr_name , string $set_element ): bool The cubrid_s ... et_drop() function is used to delete an element that you request from the given set type (set, multiset) attribute of the database. パラメータ conn_identifier Connection ... identifier. oid OID of the instance you want to work with. attr_name Name of the attribute you want to delete an element from. set_element Content of the element you want to delete. 戻り値 成功した場合に true を、失敗した場合に false を返します ... (1) "2" [2]=> string(1) "3" } array(2) { [0]=> string(1) "2" [1]=> string(1) "3" } 参考 cubrid_set_add() - Insert a single element to set type column using OID 他のマニュアルの関連ページ DuckDB Import Data DuckDB Run Queries DuckDB Indexing DuckDB Full ...
https://man.mtool.work/php/8.3/function.cubrid-set-drop.html
cubrid_set_add — Insert a single element to set type column using OID | PHP 8.3 8758
cubrid_set_add (PECL CUBRID >= 8.3.0) cubrid_set_add — Insert a single element to set type column using OID 説明 function cubrid_set_add ( resource $conn_identifier , string $oid , string $attr_name , string $set_element ): bool The cubrid_ ... set_add() function is used to insert a single element to a set type attribute (set, multiset, sequence) you requested. パラメータ conn_identifier Connection identifier. oid OID ... of the instance you want to work with. attr_name Name of the attribute you want to insert an element. set_element Content of the element you want to insert. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 ... (4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } 参考 cubrid_seq_drop() - Delete an element from sequence type column using OID 他のマニュアルの関連ページ DuckDB INSERT Statement DuckDB Run Queries DuckDB Indexing ...
https://man.mtool.work/php/8.3/function.cubrid-set-add.html
is_numeric — 変数が数字または数値形式の文字列であるかを調べる | PHP 8.3 8551
is_numeric (PHP 4, PHP 5, PHP 7, PHP 8) is_numeric — 変数が数字または数値形式の文字列であるかを調べる 説明 function is_numeric ( mixed $value ): bool 指定した変数が数値または 数値形式の文字列 であるかどうかを調べます。 パラメータ value 評価 ... 37e0 , "0x539" , "02471" , "0b10100111001" , "1337e0" , "not numeric" , array(), 9.1 , null , '' , ); foreach ( $tests as $element ) { if ( is_numeric ( $element )) { echo var_export ( $element , true ) . " is numeric" , PHP_EOL ; } else { echo var_expo ... rt ( $element , true ) . " is NOT numeric" , PHP_EOL ; } } ?> 上の例の出力は以下となります。 '42' is numeric 1337 is numeric 1337 is num ... ests = [ " 42" , "42 " , "\u{A0}9001" , // non-breaking space "9001\u{A0}" , // non-breaking space ]; foreach ( $tests as $element ) { if ( is_numeric ( $element )) { echo var_export ( $element , true ) . " is numeric" , PHP_EOL ; } else { echo var_expo ...
https://man.mtool.work/php/8.3/function.is-numeric.html
Dom\Element クラス | PHP 8.3 8356
Dom\Element クラス (PHP 8 >= 8.4.0) はじめに 要素を表します。 このクラスは、 DOMElement と同等ですが、 モダンかつ仕様に準拠しています。 クラス概要 class Dom\Element extends Dom\Node implements Dom\ParentNode , Dom\ChildNode { /* 継承した定数 ... ssName ; public readonly Dom\TokenList $ classList ; public readonly Dom\NamedNodeMap $ attributes ; public readonly ? Dom\Element $ firstElementChild ; public readonly ? Dom\Element $ lastElementChild ; public readonly int $ childElementCount ; public ... readonly ? Dom\Element $ previousElementSibling ; public readonly ? Dom\Element $ nextElementSibling ; public readonly Dom\HTMLCollection $ child ... nnected ; public readonly ? Dom\Document $ ownerDocument ; public readonly ? Dom\Node $ parentNode ; public readonly ? Dom\Element $ parentElement ; public readonly Dom\NodeList $ childNodes ; public readonly ? Dom\Node $ firstChild ; public readonly ? ...
https://man.mtool.work/php/8.3/class.dom-element.html
Dom\HTMLElement クラス | PHP 8.3 8150
Dom\HTMLElement クラス (PHP 8 >= 8.4.0) はじめに HTML 名前空間内の要素を表します。 クラス概要 class Dom\HTMLElement extends Dom\Element { /* 継承した定数 */ public const int Dom\Node::DOCUMENT_POSITION_DISCONNECTED = 0x1 ; public const int ... ssName ; public readonly Dom\TokenList $ classList ; public readonly Dom\NamedNodeMap $ attributes ; public readonly ? Dom\Element $ firstElementChild ; public readonly ? Dom\Element $ lastElementChild ; public readonly int $ childElementCount ; public ... readonly ? Dom\Element $ previousElementSibling ; public readonly ? Dom\Element $ nextElementSibling ; public readonly Dom\HTMLCollection $ child ... nnected ; public readonly ? Dom\Document $ ownerDocument ; public readonly ? Dom\Node $ parentNode ; public readonly ? Dom\Element $ parentElement ; public readonly Dom\NodeList $ childNodes ; public readonly ? Dom\Node $ firstChild ; public readonly ? ...
https://man.mtool.work/php/8.3/class.dom-htmlelement.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT