1--TEST--
2SPL: SplHeap top, illegal number of args
3--CREDITS--
4Mark Schaschke (mark@fractalturtle.com)
5TestFest London May 2009
6--FILE--
7<?php
8$h = new SplMinHeap();
9$h->insert(5);
10// top doesn't take any args, lets see what happens if we give it one
11$h->top('bogus');
12?>
13--EXPECTF--
14Warning: SplHeap::top() expects exactly 0 parameters, 1 given in %s
15