编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\RParser::validate
  • Parle\Stack::pop »
  • PHP Manual
  • Parle
  • The Parle\Stack class

The Parle\Stack class

(PECL parle >= 0.7.0)

简介

Parle\Stack is a LIFO stack. The elements are inserted and and removed only from one end.

类摘要

Parle\Stack {
/* 属性 */
public boolean $empty = TRUE ;
public integer $size = 0 ;
public mixed $top ;
/* 方法 */
public pop ( void ) : void
public push ( mixed $item ) : void
}

属性

empty

Whether the stack is empty, readonly.

size

Stack size, readonly.

top

Element on the top of the stack.

Table of Contents

  • Parle\Stack::pop — Pop an item from the stack
  • Parle\Stack::push — Push an item into the stack
相关文章
php 异常 the badmethodcallexception classphp cairo the cairogradientpattern classphp cairo the cairoscaledfont classphp commonmark the commonmark cql classphp dom the domdocumentfragment classphp data structures the deque classphp data structures the stack classphp event the event classphp parle the parle errorinfo classphp parle the parle lexer classphp parle the parle lexerexception classphp parle the parle parser classphp parle the parle parserexception classphp parle the parle rlexer classphp parle the parle rparser classphp parle the parle stack classphp parle the parle token classphp hyperwave api 函数 create new instance of class hw api contentphp parle stack pop an item from the stackphp parle stack push an item into the stack
关注编程学问公众号
编程学问网 湘ICP备20001732号