« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 90 for Children (0.003 sec.)
The CommonMark\CQL class 12121
« CommonMark\Parser::finish CommonMark\CQL::__construct » PHP Manual CommonMark The CommonMark\CQL class 検索 The CommonMark\CQL class (cmark >= 1.1.0) はじめに CommonMark Query Language is a DSL for describing how to travel through a Commo ... would travel to the last child node of the first child node. Loops CQL can be instructed to loop, for example through the children of, or siblings to a particular node, by using the path children , or siblings . For example, /firstChild/children will tr ... avel to all the children of the first child node. Subqueries CQL can be instructed how to travel by using a subquery like [/firstChild] . For examp ... le, /firstChild/children[/firstChild] will travel to the first child node of all the children of the first child node. Loop Constraints While loopi ...
https://man.mtool.work/php/8.3/class.commonmark-cql.html
The CommonMark\CQL class 12121
« CommonMark\Parser::finish CommonMark\CQL::__construct » PHP Manual CommonMark The CommonMark\CQL class 検索 The CommonMark\CQL class (cmark >= 1.1.0) はじめに CommonMark Query Language is a DSL for describing how to travel through a Commo ... would travel to the last child node of the first child node. Loops CQL can be instructed to loop, for example through the children of, or siblings to a particular node, by using the path children , or siblings . For example, /firstChild/children will tr ... avel to all the children of the first child node. Subqueries CQL can be instructed how to travel by using a subquery like [/firstChild] . For examp ... le, /firstChild/children[/firstChild] will travel to the first child node of all the children of the first child node. Loop Constraints While loopi ...
https://man.mtool.work/php/8.3/class.commonmark-cql.html
指定したノードの子ノードを見付ける 10827
« SimpleXMLElement::attributes SimpleXMLElement::__construct » PHP Manual SimpleXMLElement 指定したノードの子ノードを見付ける 検索 SimpleXMLElement::children (PHP 5, PHP 7, PHP 8) SimpleXMLElement::children — 指定したノードの子ノードを見付け ... る 説明 public function SimpleXMLElement::children ( ? string $namespaceOrPrefix = null , bool $isPrefix = false ): ? SimpleXMLElement このメソッドは、指定した要素の子を見つ ... ノードが子を持つかどうかにかかわらず SimpleXMLElement 要素を返します。 ノードが属性である場合は、 null を返します。 例 例1 children() 疑似配列を走査する <?php $xml = new SimpleXMLElement ( '<person> <child role="son"> <child role="daughter"/> </child> <c ... hild role="daughter"> <child role="son"> <child role="son"/> </child> </child> </person>' ); foreach ( $xml -> children () as $second_gen ) { echo ' The person begot a ' . $second_gen [ 'role' ]; foreach ( $second_gen -> children () as $third ...
https://man.mtool.work/php/8.3/simplexmlelement.children.html
指定したノードの子ノードを見付ける 10774
« SimpleXMLElement::attributes SimpleXMLElement::__construct » PHP Manual SimpleXMLElement 指定したノードの子ノードを見付ける 検索 SimpleXMLElement::children (PHP 5, PHP 7, PHP 8) SimpleXMLElement::children — 指定したノードの子ノードを見付け ... る 説明 public function SimpleXMLElement::children ( ? string $namespaceOrPrefix = null , bool $isPrefix = false ): ? SimpleXMLElement このメソッドは、指定した要素の子を見つ ... ノードが子を持つかどうかにかかわらず SimpleXMLElement 要素を返します。 ノードが属性である場合は、 null を返します。 例 例1 children() 疑似配列を走査する <?php $xml = new SimpleXMLElement ( '<person> <child role="son"> <child role="daughter"/> </child> <c ... hild role="daughter"> <child role="son"> <child role="son"/> </child> </child> </person>' ); foreach ( $xml -> children () as $second_gen ) { echo ' The person begot a ' . $second_gen [ 'role' ]; foreach ( $second_gen -> children () as $third ...
https://man.mtool.work/php/8.3/simplexmlelement.children.html
Lists the children of a node synchronously 8987
« Zookeeper::getAcl Zookeeper::getClientId » PHP Manual Zookeeper Lists the children of a node synchronously 検索 Zookeeper::getChildren (PECL zookeeper >= 0.1.0) Zookeeper::getChildren — Lists the children of a node synchronously 説明 publ ... ic function Zookeeper::getChildren ( string $path , callable $watcher_cb = null ): array パラメータ path The name of the node. Expressed as a file name with ... er_cb If nonzero, a watch will be set at the server to notify the client if the node changes. 戻り値 Returns an array with children paths on success, and false on failure. エラー / 例外 This method emits PHP error/warning when parameters count or types a ... re wrong or fail to list children of a node. 警告 Since version 0.3.0, this method emits ZookeeperException and its derivatives. 例 例1 Zookeeper::getChildr ...
https://man.mtool.work/php/8.3/zookeeper.getchildren.html
Lists the children of a node synchronously 8987
« Zookeeper::getAcl Zookeeper::getClientId » PHP Manual Zookeeper Lists the children of a node synchronously 検索 Zookeeper::getChildren (PECL zookeeper >= 0.1.0) Zookeeper::getChildren — Lists the children of a node synchronously 説明 publ ... ic function Zookeeper::getChildren ( string $path , callable $watcher_cb = null ): array パラメータ path The name of the node. Expressed as a file name with ... er_cb If nonzero, a watch will be set at the server to notify the client if the node changes. 戻り値 Returns an array with children paths on success, and false on failure. エラー / 例外 This method emits PHP error/warning when parameters count or types a ... re wrong or fail to list children of a node. 警告 Since version 0.3.0, this method emits ZookeeperException and its derivatives. 例 例1 Zookeeper::getChildr ...
https://man.mtool.work/php/8.3/zookeeper.getchildren.html
現在のエントリのイテレータを返す 8641
« RecursiveRegexIterator::__construct RecursiveRegexIterator::hasChildren » PHP Manual RecursiveRegexIterator 現在のエントリのイテレータを返す 検索 RecursiveRegexIterator::getChildren (PHP 5 >= 5.2.0, PHP 7, PHP 8) RecursiveRegexIterator::g ... etChildren — 現在のエントリのイテレータを返す 説明 public function RecursiveRegexIterator::getChildren (): RecursiveRegexIterator 現在 ... イテレータによる反復処理が可能なものでない場合に InvalidArgumentException をスローします。 例 例1 RecursiveRegexIterator::getChildren() の例 <?php $rArrayIterator = new RecursiveArrayIterator (array( 'test1' , array( 'tet3' , 'test4' , 'test5' ))); $rRegex ... /' , RecursiveRegexIterator :: ALL_MATCHES ); foreach ( $rRegexIterator as $key1 => $value1 ) { if ( $rRegexIterator -> hasChildren ()) { // すべての子を表示します echo "Children: " ; foreach ( $rRegexIterator -> getChildren () as $key => $value ) { echo ...
https://man.mtool.work/php/8.3/recursiveregexiterator.getchildren.html
子要素を数える 8547
« SimpleXMLElement::__construct SimpleXMLElement::current » PHP Manual SimpleXMLElement 子要素を数える 検索 SimpleXMLElement::count (PHP 8) SimpleXMLElement::count — 子要素を数える 説明 public function SimpleXMLElement::count (): int このメ ... d/> </person> </people> EOF; $elem = new SimpleXMLElement ( $xml ); foreach ( $elem as $person ) { printf ( "%s has got %d children.\n" , $person [ 'name' ], $person -> count ()); } ?> 上の例の出力は以下となります。 Person 1 has got 3 children. Person 2 ... has got 5 children. 参考 SimpleXMLElement::children() - 指定したノードの子ノードを見付ける 関連キーワード: SimpleXMLElement child person coun ... t Person children people elem ノード construct current foreach printf 参考 ...
https://man.mtool.work/php/8.3/simplexmlelement.count.html
子要素を数える 8494
« SimpleXMLElement::__construct SimpleXMLElement::current » PHP Manual SimpleXMLElement 子要素を数える 検索 SimpleXMLElement::count (PHP 8) SimpleXMLElement::count — 子要素を数える 説明 public function SimpleXMLElement::count (): int このメ ... d/> </person> </people> EOF; $elem = new SimpleXMLElement ( $xml ); foreach ( $elem as $person ) { printf ( "%s has got %d children.\n" , $person [ 'name' ], $person -> count ()); } ?> 上の例の出力は以下となります。 Person 1 has got 3 children. Person 2 ... has got 5 children. 参考 SimpleXMLElement::children() - 指定したノードの子ノードを見付ける 関連キーワード: SimpleXMLElement child person 要素 ... count Person children name got パラメータ xml people elem ノード construct Search current function int メソッド ...
https://man.mtool.work/php/8.3/simplexmlelement.count.html
新しい RecursiveRegexIterator を作成する 8201
« RecursiveRegexIterator RecursiveRegexIterator::getChildren » PHP Manual RecursiveRegexIterator 新しい RecursiveRegexIterator を作成する 検索 RecursiveRegexIterator::__construct (PHP 5 >= 5.2.0, PHP 7, PHP 8) RecursiveRegexIterator::__cons ... /' , RecursiveRegexIterator :: ALL_MATCHES ); foreach ( $rRegexIterator as $key1 => $value1 ) { if ( $rRegexIterator -> hasChildren ()) { // すべての子を表示します echo "Children: " ; foreach ( $rRegexIterator -> getChildren () as $key => $value ) { echo ... $value . " " ; } echo "\n" ; } else { echo "No children\n" ; } } ?> 上の例の出力は、 たとえば以下のようになります。 No children Children: test4 test5 参考 preg_match() - 正規表現 ... 連キーワード: RecursiveRegexIterator preg 正規 表現 フラグ match construct モード RegexIterator rRegexIterator flags 操作 getChildren iterator pattern mode pregFlags イテレータ split rArrayIterator foreach Children children RecursiveIterator フィルタ ...
https://man.mtool.work/php/8.3/recursiveregexiterator.construct.html
PREV 1 2 3 4 5 6 7 8 9 NEXT