function testQueue() { for ($n = 0; $n < 10; $n++) { $q = MyTaskQueue::getQueue("task_name"); $arr = array("http://112.124.26.68/zsgjs2/trunk/Admin/A/Test/pxltest", "http://www.facebook.com"); $q->addTask($arr); $q->push(); } }