summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplHeap_isEmpty.phpt
blob: 89d2570661a19a6287787a2addcd4e905646c2b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Check that SplHeap::isEmpty standard success test
--CREDITS--
PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com)
--FILE--
<?php

$h = new SplMaxHeap();

var_dump($h->isEmpty());

?>
--EXPECT--
bool(true)