pop() 공개 메소드

Pops an item from the objects property table
public pop ( ) : mixed
리턴 mixed The last item from the objects properties table
예제 #1
0
 public function testThreadedPop()
 {
     $threaded = new Threaded();
     $threaded[] = "something";
     $threaded[] = "else";
     $this->assertEquals("else", $threaded->pop());
     $this->assertEquals(1, count($threaded));
 }