1--TEST--
2SPL: SplHeap check no arguments to be accepted on recoverFromCorruption
3--CREDITS--
4Rohan Abraham (rohanabrahams@gmail.com)
5TestFest London May 2009
6--FILE--
7<?php
8  $h = new SplMaxHeap();
9  //Line below should throw a warning as no args are expected
10  $h->recoverFromCorruption("no args");
11?>
12--EXPECTF--
13
14Warning: SplHeap::recoverFromCorruption() expects exactly 0 parameters, 1 given in %s on line %d
15
16