note 111449 added to splpriorityqueue.rewind

From: Date: Wed, 20 Feb 2013 22:08:48 +0000
Subject: note 111449 added to splpriorityqueue.rewind
Groups: php.notes 
Request: Send a blank email to php-notes+get-193706@lists.php.net to get a copy of this message
I could Not Understand why the rewind is not working Example : $pq=new \PriorityQueue(); $pq->insert(0,"Hyyan"); $pq->insert(1,"Other"); // print while($pq->vaild()){ var_dump($pg->current()); } // try again - No Elements $pq->rewind(); while($pq->vaild()){ var_dump($pg->current()); } please if some one could help ---- Server IP: 69.147.83.199 Probable Submitter: 88.86.6.219 (proxied: 88.86.6.219) ---- Manual Page -- http://php.net/manual/en/splpriorityqueue.rewind.php Edit -- https://master.php.net/note/edit/111449 Del: integrated -- https://master.php.net/note/delete/111449/integrated Del: useless -- https://master.php.net/note/delete/111449/useless Del: bad code -- https://master.php.net/note/delete/111449/bad+code Del: spam -- https://master.php.net/note/delete/111449/spam Del: non-english -- https://master.php.net/note/delete/111449/non-english Del: in docs -- https://master.php.net/note/delete/111449/in+docs Del: other reasons-- https://master.php.net/note/delete/111449 Reject -- https://master.php.net/note/reject/111449 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193706) next »