php
iteye_16178
这个作者很懒,什么都没留下…
展开
-
php简单的堆栈操作
直接看代码:[code="php"] class Stackeob implements IteratorAggregate { private $data; private $count; public function __construct($data=null) { $this->count = 0; $this->data = arr...2009-08-05 01:35:15 · 164 阅读 · 0 评论 -
PHP MAP
[code="php"] class Mapob implements IteratorAggregate,ArrayAccess,Countable { private $data = array(); public function add($key,$value) { $this->data[$key] = $value; } p...2009-08-14 06:38:53 · 128 阅读 · 0 评论