1--TEST-- 2SPL: SplHeap: isEmpty argument variation. 3--FILE-- 4<?php 5class SplHeap2 extends SplHeap{ 6 7 public function compare() { 8 return -parent::compare(); 9 } 10} 11 12$h = new SplHeap2; 13$h->isEmpty(1); 14?> 15--EXPECTF-- 16Warning: SplHeap::isEmpty() expects exactly 0 parameters, 1 given in %s 17