Results of 1 - 10 of about 42 for Children (0.002 sec.)
- The CommonMark\CQL class | PHP 8.3 14570
- The CommonMark\CQL class (cmark >= 1.1.0) はじめに CommonMark Query Language is a DSL for describing how to travel through a CommonMark Node tree implemented as a parser and compiler for a small set of instructions, and a virtual machine fo
... 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
- SimpleXMLElement::children — 指定したノードの子ノードを見付ける | PHP 8.3 12588
- SimpleXMLElement::children (PHP 5, PHP 7, PHP 8) SimpleXMLElement::children — 指定したノードの子ノードを見付ける 説明 public function SimpleXMLElement::children ( ? string $namespaceOrPrefix = null , bool $isPrefix = false ): ? SimpleXMLEle
... ノードが子を持つかどうかにかかわらず 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 ... _gen ) { echo ' who begot a ' . $third_gen [ 'role' ] . ';' ; foreach ( $third_gen -> children () as $fourth_gen ) { echo ' and that ' . $third_gen [ 'role' ] . ' begot a ' . $fourth_gen [ 'role' ]; } } } ?> 上の例の出 ...
-
https://man.mtool.work/php/8.3/simplexmlelement.children.html
- Lighttpd 1.4 (Unix システム用) | PHP 8.3 9398
- Lighttpd 1.4 (Unix システム用) ここでは、Unix システム上の Lighttpd 1.4 で PHP を使用する際の注意点とヒントをまとめます。 まず » Lighttpd trac で Lighttpd のインストール方法をよく読んでからこれ以降に進みましょう。 PHP と Lighttpd を組み合わ
... r = ( ".php" => (( "socket" => "/tmp/php.socket", "bin-path" => "/usr/local/bin/php-cgi", "bin-environment" => ( "PHP_FCGI_CHILDREN" => "16", "PHP_FCGI_MAX_REQUESTS" => "10000" ), "min-procs" => 1, "max-procs" => 1, "idle-timeout" => 20 )) ) bin-path ディ ... レクティブにより、lighttpd が FastCGI プロセスを動的に起動できるようになります。 PHP は、環境変数 PHP_FCGI_CHILDREN の内容に応じて子プロセスを起動します。 bin-environment ディレクティブは、起動するプロセスの環境を設定します。 リクエストの ... ッシュは PHP が管理する子プロセスしか共有しません。 min-procs を 1 より大きい値に設定すると、 PHP レスポンダの数が PHP_FCGI_CHILDREN にその値をかけたものとなります (2 min-procs * 16 子プロセスで 32 のレスポンダとなります)。 spawn-fcgi での起動 Lighttpd に ...
-
https://man.mtool.work/php/8.3/install.unix.lighttpd-14.html
- SimpleXMLElement::count — 子要素を数える | PHP 8.3 9398
- 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() - 指定したノードの子ノードを見付ける 他のマニュアルの関連ページ Linux JM set_tid_addres ...
-
https://man.mtool.work/php/8.3/simplexmlelement.count.html
- Zookeeper::getChildren — Lists the children of a node synchronously | PHP 8.3 9336
- Zookeeper::getChildren (PECL zookeeper >= 0.1.0) Zookeeper::getChildren — Lists the children of a node synchronously 説明 public function Zookeeper::getChildren ( string $path , callable $watcher_cb = null ): array パラメータ path The name
... 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 ... en() example Lists children of a node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $path = '/zookeeper' ; $r = $zookeeper -> getchildren ( ...
-
https://man.mtool.work/php/8.3/zookeeper.getchildren.html
- RecursiveRegexIterator::getChildren — 現在のエントリのイテレータを返す | PHP 8.... 9150
- RecursiveRegexIterator::getChildren (PHP 5 >= 5.2.0, PHP 7, PHP 8) RecursiveRegexIterator::getChildren — 現在のエントリのイテレータを返す 説明 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 ... $value . " " ; } echo "\n" ; } else { echo "No children\n" ; } } ?> 上の例の出力は以下となります。 No children Children: test4 test5 参考 RecursiveRegexIterator::hasChildren() - ...
-
https://man.mtool.work/php/8.3/recursiveregexiterator.getchildren.html
- The Zookeeper class | PHP 8.3 8779
- The Zookeeper class (PECL zookeeper >= 0.1.0) はじめに Represents ZooKeeper session. クラス概要 class Zookeeper { /* メソッド */ public function __construct ( string $host = '' , callable $watcher_cb = null , int $recv_timeout = 10000 ) pub
... null , array &$stat = null , int $max_size = 0 ): string public function getAcl ( string $path ): array public function getChildren ( string $path , callable $watcher_cb = null ): array public function getClientId (): int public function getConfig (): Zo ... const int APIERROR = -100 ; const int NONODE = -101 ; const int NOAUTH = -102 ; const int BADVERSION = -103 ; const int NOCHILDRENFOREPHEMERALS = -108 ; const int NODEEXISTS = -110 ; const int NOTEMPTY = -111 ; const int SESSIONEXPIRED = -112 ; const in ... int RECONFIGDISABLED = -122 ; } 定義済み定数 ZooKeeper Permissions Zookeeper::PERM_READ Can read nodes value and list its children Zookeeper::PERM_WRITE Can set the nodes value Zookeeper::PERM_CREATE Can create children Zookeeper::PERM_DELETE Can delete ...
-
https://man.mtool.work/php/8.3/class.zookeeper.html
- RecursiveRegexIterator::__construct — 新しい RecursiveRegexIterator を作成する ... 8717
- RecursiveRegexIterator::__construct (PHP 5 >= 5.2.0, PHP 7, PHP 8) RecursiveRegexIterator::__construct — 新しい RecursiveRegexIterator を作成する 説明 public function RecursiveRegexIterator::__construct ( RecursiveIterator $iterator , strin
... /' , 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() - 正規表現 ...
-
https://man.mtool.work/php/8.3/recursiveregexiterator.construct.html
- RecursiveArrayIterator::getChildren — 現在のエントリが配列あるいはオブジェクト... 8345
- RecursiveArrayIterator::getChildren (PHP 5 >= 5.1.0, PHP 7, PHP 8) RecursiveArrayIterator::getChildren — 現在のエントリが配列あるいはオブジェクトである場合に、そのイテレータを返す 説明 public function RecursiveArrayIterator::getChildren ():
... 現在のエントリが配列やオブジェクトではない場合に InvalidArgumentException をスローします。 例 例1 RecursiveArrayIterator::getChildren() の例 <?php $fruits = array( "a" => "lemon" , "b" => "orange" , array( "a" => "apple" , "p" => "pear" )); $iterator = new ... RecursiveArrayIterator ( $fruits ); while ( $iterator -> valid ()) { if ( $iterator -> hasChildren ()) { // すべての子を表示します foreach ( $iterator -> getChildren () as $key => $value ) { echo $key . ' : ' . $value . " ... \n" ; } } else { echo "No children.\n" ; } $iterator -> next (); } ?> 上の例の出力は以下となります。 No children. No children. a : apple p : pear 参考 Recurs ...
-
https://man.mtool.work/php/8.3/recursivearrayiterator.getchildren.html
- RecursiveArrayIterator::hasChildren — 現在のエントリが配列あるいはオブジェクト... 8345
- RecursiveArrayIterator::hasChildren (PHP 5 >= 5.1.0, PHP 7, PHP 8) RecursiveArrayIterator::hasChildren — 現在のエントリが配列あるいはオブジェクトであるかどうかを返す 説明 public function RecursiveArrayIterator::hasChildren (): bool 現在のエ
... ントリが配列あるいはオブジェクトであるかどうか、つまり RecursiveArrayIterator::getChildren() でイテレータを取得できるかどうかを返します。 パラメータ この関数にはパラメータはありません。 戻り値 現在のエントリが配列 ... あるいはオブジェクトである場合に true 、 それ以外の場合に false を返します。 例 例1 RecursiveArrayIterator::hasChildren() の例 <?php $fruits = array( "a" => "lemon" , "b" => "orange" , array( "a" => "apple" , "p" => "pear" )); $iterator = new ... RecursiveArrayIterator ( $fruits ); while ( $iterator -> valid ()) { // 子を持つかどうかを調べます if ( $iterator -> hasChildren ()) { // すべての子を表示します foreach ( $iterator -> getChildren () as $key => $value ) { echo $key . ' : ' . $value . " ...
-
https://man.mtool.work/php/8.3/recursivearrayiterator.haschildren.html