Annotation of embedaddon/php/ext/spl/tests/splpriorityqueue_setextractflags.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: splpriorityqueue setExtractFlags() Test arguments
3: --CREDITS--
4: Roshan Abraham (roshanabrahams@gmail.com)
5: TestFest London May 2009
6: --FILE--
7: <?php
8:
9: $sp = new SplPriorityQueue();
10:
11: $sp->setExtractFlags(1,1); // Should throw a warning as setExtractFlags expects only 1 argument
12:
13: ?>
14: --EXPECTF--
15:
16: Warning: SplPriorityQueue::setExtractFlags() expects exactly 1 parameter, 2 given in %s on line %d
17:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>