Results of 1 - 10 of about 269 for Push (0.002 sec.)
- Parser examples 7728
- « Lexer examples Parle\Lexer » PHP Manual 例 Parser examples 検索 Parser examples 例1 Simple calculator <?php use Parle \{ Parser , ParserException , Lexer , Token }; $p = new Parser ; $p -> token ( "INTEGER" ); $p -> left ( "'+' '-' '*' '/
... '" ); $p -> push ( "start" , "exp" ); $prod_add = $p -> push ( "exp" , "exp '+' exp" ); $prod_sub = $p -> push ( "exp" , "exp '-' exp" ); $ ... prod_mul = $p -> push ( "exp" , "exp '*' exp" ); $prod_div = $p -> push ( "exp" , "exp '/' exp" ); $p -> push ( "exp" , "INTEGER" ); /* Producti ... on index unused. */ $p -> build (); $lex = new Lexer ; $lex -> push ( "[+]" , $p -> tokenId ( "'+'" )); $lex -> push ( "[-]" , $p -> tokenId ( "'-'" )); $lex -> push ( "[*]" , $p -> tokenId ...
-
https://man.mtool.work/php/8.3/parle.examples.parser.html
- Parser examples 7728
- « Lexer examples Parle\Lexer » PHP Manual 例 Parser examples 検索 Parser examples 例1 Simple calculator <?php use Parle \{ Parser , ParserException , Lexer , Token }; $p = new Parser ; $p -> token ( "INTEGER" ); $p -> left ( "'+' '-' '*' '/
... '" ); $p -> push ( "start" , "exp" ); $prod_add = $p -> push ( "exp" , "exp '+' exp" ); $prod_sub = $p -> push ( "exp" , "exp '-' exp" ); $ ... prod_mul = $p -> push ( "exp" , "exp '*' exp" ); $prod_div = $p -> push ( "exp" , "exp '/' exp" ); $p -> push ( "exp" , "INTEGER" ); /* Producti ... on index unused. */ $p -> build (); $lex = new Lexer ; $lex -> push ( "[+]" , $p -> tokenId ( "'+'" )); $lex -> push ( "[-]" , $p -> tokenId ( "'-'" )); $lex -> push ( "[*]" , $p -> tokenId ...
-
https://man.mtool.work/php/8.3/parle.examples.parser.html
- Pushes values into the queue 7630
- « Ds\Queue::pop Ds\Queue::toArray » PHP Manual Ds\Queue Pushes values into the queue 検索 Ds\Queue::push (PECL ds >= 1.0.0) Ds\Queue::push — Pushes values into the queue 説明 public function Ds\Queue::push ( mixed ...$values ): void Pushes
... values into the queue. パラメータ values The values to push into the queue. 戻り値 値を返しません。 例 例1 Ds\Queue::push() example <?php $queue = new \Ds\Queue (); $queue -> push ( ... "a" ); $queue -> push ( "b" ); $queue -> push ( "c" , "d" ); $queue -> push (...[ "e" , "f" ]); print_r ( $queue ); ?> 上の例の出力は、 たとえば ... 以下のようになります。 Ds\Queue Object ( [0] => a [1] => b [2] => c [3] => d [4] => e [5] => f ) 関連キーワード: queue Queue push values Pushes toArray mixed example print ...
-
https://man.mtool.work/php/8.3/ds-queue.push.html
- Pushes values onto the stack 7630
- « Ds\Stack::pop Ds\Stack::toArray » PHP Manual Ds\Stack Pushes values onto the stack 検索 Ds\Stack::push (PECL ds >= 1.0.0) Ds\Stack::push — Pushes values onto the stack 説明 public function Ds\Stack::push ( mixed ...$values ): void Pushes
... values onto the stack. パラメータ values The values to push onto the stack. 戻り値 値を返しません。 例 例1 Ds\Stack::push() example <?php $stack = new \Ds\Stack (); $stack -> push ( ... "a" ); $stack -> push ( "b" ); $stack -> push ( "c" , "d" ); $stack -> push (...[ "e" , "f" ]); print_r ( $stack ); ?> 上の例の出力は、 たとえば ... 以下のようになります。 Ds\Stack Object ( [0] => a [1] => b [2] => c [3] => d [4] => e [5] => f ) 関連キーワード: stack Stack push values onto Pushes toArray mixed example print ...
-
https://man.mtool.work/php/8.3/ds-stack.push.html
- Pushes values into the queue 7601
- « Ds\Queue::pop Ds\Queue::toArray » PHP Manual Ds\Queue Pushes values into the queue 検索 Ds\Queue::push (PECL ds >= 1.0.0) Ds\Queue::push — Pushes values into the queue 説明 public function Ds\Queue::push ( mixed ...$values ): void Pushes
... values into the queue. パラメータ values The values to push into the queue. 戻り値 値を返しません。 例 例1 Ds\Queue::push() example <?php $queue = new \Ds\Queue (); $queue -> push ( ... "a" ); $queue -> push ( "b" ); $queue -> push ( "c" , "d" ); $queue -> push (...[ "e" , "f" ]); print_r ( $queue ); ?> 上の例の出力は、 たとえば ... 以下のようになります。 Ds\Queue Object ( [0] => a [1] => b [2] => c [3] => d [4] => e [5] => f ) 関連キーワード: queue Queue push values Pushes pop Search toArray function mixed void パラメータ 戻り値 example php new print Object navigate Enter ...
-
https://man.mtool.work/php/8.3/ds-queue.push.html
- Pushes values onto the stack 7601
- « Ds\Stack::pop Ds\Stack::toArray » PHP Manual Ds\Stack Pushes values onto the stack 検索 Ds\Stack::push (PECL ds >= 1.0.0) Ds\Stack::push — Pushes values onto the stack 説明 public function Ds\Stack::push ( mixed ...$values ): void Pushes
... values onto the stack. パラメータ values The values to push onto the stack. 戻り値 値を返しません。 例 例1 Ds\Stack::push() example <?php $stack = new \Ds\Stack (); $stack -> push ( ... "a" ); $stack -> push ( "b" ); $stack -> push ( "c" , "d" ); $stack -> push (...[ "e" , "f" ]); print_r ( $stack ); ?> 上の例の出力は、 たとえば ... 以下のようになります。 Ds\Stack Object ( [0] => a [1] => b [2] => c [3] => d [4] => e [5] => f ) 関連キーワード: stack Stack push values onto Pushes pop Search toArray function mixed void パラメータ 戻り値 example php new print Object navigate ...
-
https://man.mtool.work/php/8.3/ds-stack.push.html
- Adds values to the end of the deque 7297
- « Ds\Deque::pop Ds\Deque::reduce » PHP Manual Ds\Deque Adds values to the end of the deque 検索 Ds\Deque::push (PECL ds >= 1.0.0) Ds\Deque::push — Adds values to the end of the deque 説明 public function Ds\Deque::push ( mixed ...$values ):
... void Adds values to the end of the deque. パラメータ values The values to add. 戻り値 値を返しません。 例 例1 Ds\Deque::push() example <?php $deque = new \Ds\Deque (); $deque -> push ( "a" ); $deque -> push ( "b" ); $deque -> push ( "c" , "d" ); $ ... deque -> push (...[ "e" , "f" ]); print_r ( $deque ); ?> 上の例の出力は、 たとえば以下のようになります。 Ds\Deque Object ( [0] => a [1] ... => b [2] => c [3] => d [4] => e [5] => f ) 関連キーワード: deque Deque push values Adds reduce mixed example print ...
-
https://man.mtool.work/php/8.3/ds-deque.push.html
- Adds values to the end of the vector 7297
- « Ds\Vector::pop Ds\Vector::reduce » PHP Manual Ds\Vector Adds values to the end of the vector 検索 Ds\Vector::push (PECL ds >= 1.0.0) Ds\Vector::push — Adds values to the end of the vector 説明 public function Ds\Vector::push ( mixed ...$v
... void Adds values to the end of the vector. パラメータ values The values to add. 戻り値 値を返しません。 例 例1 Ds\Vector::push() example <?php $vector = new \Ds\Vector (); $vector -> push ( "a" ); $vector -> push ( "b" ); $vector -> push ( "c" , "d" ... ); $vector -> push (...[ "e" , "f" ]); print_r ( $vector ); ?> 上の例の出力は、 たとえば以下のようになります。 Ds\Vector Object ( [0] => a [1 ... ] => b [2] => c [3] => d [4] => e [5] => f ) 関連キーワード: vector Vector push values Adds reduce mixed example print ...
-
https://man.mtool.work/php/8.3/ds-vector.push.html
- Pushes values into the queue 7268
- « Ds\PriorityQueue::pop Ds\PriorityQueue::toArray » PHP Manual Ds\PriorityQueue Pushes values into the queue 検索 Ds\PriorityQueue::push (PECL ds >= 1.0.0) Ds\PriorityQueue::push — Pushes values into the queue 説明 public function Ds\Priori
... tyQueue::push ( mixed $value , int $priority ): void Pushes a value with a given priority into the queue. パラメータ value The value to ... push into the queue. priority The priority associated with the value. 戻り値 値を返しません。 例 例1 Ds\PriorityQueue::push() example <?php $queue = new \Ds\PriorityQueue (); $queue -> push ( "a" , 5 ); $queue -> push ( "b" , 15 ); $queue -> push ... の例の出力は、 たとえば以下のようになります。 string(1) "b" string(1) "c" string(1) "a" 関連キーワード: queue PriorityQueue push Pushes priority values print toArray mixed given associated example ...
-
https://man.mtool.work/php/8.3/ds-priorityqueue.push.html
- Adds values to the end of the sequence 7268
- « Ds\Sequence::pop Ds\Sequence::reduce » PHP Manual Ds\Sequence Adds values to the end of the sequence 検索 Ds\Sequence::push (PECL ds >= 1.0.0) Ds\Sequence::push — Adds values to the end of the sequence 説明 abstract public function Ds\Seq
... uence::push ( mixed ...$values ): void Adds values to the end of the sequence. パラメータ values The values to add. 戻り値 値を返しませ ... ん。 例 例1 Ds\Sequence::push() example <?php $sequence = new \Ds\Vector (); $sequence -> push ( "a" ); $sequence -> push ( "b" ); $sequence -> push ( " ... c" , "d" ); $sequence -> push (...[ "e" , "f" ]); print_r ( $sequence ); ?> 上の例の出力は、 たとえば以下のようになります。 Ds\Vector Object ( [0] => a ...
-
https://man.mtool.work/php/8.3/ds-sequence.push.html