Fix clone of SplPriorityQueue
commita62bf121a581fc3c5c455dcac633cb2cf897a6a9
authorEmil Hesslow <emil@fb.com>
Tue, 27 Aug 2013 21:22:44 +0000 (27 14:22 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 29 Aug 2013 18:58:39 +0000 (29 11:58 -0700)
treef8dde8e427ea1750bd9d70670dd5776bdd2aa12e
parenta66d7818ce0a0202aa5aad2732656e6383cc1022
Fix clone of SplPriorityQueue

Clone the underlying _SplPriorityQueueHeap object when someone clones a SplPriorityQueue object

Closes #984

Differential Revision: D942743
hphp/system/php/spl/datastructures/SplPriorityQueue.php
hphp/test/slow/ext_spl_datastructures/pqueue_clone.php [new file with mode: 0644]
hphp/test/slow/ext_spl_datastructures/pqueue_clone.php.expectf [new file with mode: 0644]