1--TEST--
2SPL: splpriorityqueue setExtractFlags() Test arguments
3--CREDITS--
4Roshan Abraham (roshanabrahams@gmail.com)
5TestFest 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--
15Warning: SplPriorityQueue::setExtractFlags() expects exactly 1 parameter, 2 given in %s on line %d
16