1--TEST--
2SPL: SplHeap::current - get current value from empty heap
3--CREDITS--
4Mike Sullivan <mikesul@php.net>
5#TestFest 2009 (London)
6--FILE--
7<?php
8
9class myHeap extends SplHeap
10{
11	public function compare($v1, $v2)
12	{
13		throw new Exception('');
14	}
15}
16
17$heap = new myHeap();
18var_dump($heap->current());
19
20?>
21--EXPECT--
22NULL