1--TEST--
2SPL: SplHeap top of empty heap
3--CREDITS--
4Mark Schaschke (mark@fractalturtle.com)
5TestFest London May 2009
6--FILE--
7<?php
8$h = new SplMinHeap();
9try {
10	$h->top();
11} catch (Exception $e) {
12	echo $e->getMessage();
13}
14?>
15--EXPECTF--
16Can't peek at an empty heap
17