1--TEST--
2SPL: Priority queue compare, illegal number of args
3--CREDITS--
4Mark Schaschke (mark@fractalturtle.com)
5TestFest London May 2009
6--FILE--
7<?php
8$h = new SplPriorityQueue();
9$h->compare();
10$h->compare(1);
11$h->compare(1, 2, 3);
12?>
13--EXPECTF--
14Warning: SplPriorityQueue::compare() expects exactly 2 parameters, 0 given in %s
15
16Warning: SplPriorityQueue::compare() expects exactly 2 parameters, 1 given in %s
17
18Warning: SplPriorityQueue::compare() expects exactly 2 parameters, 3 given in %s
19
20