1--TEST-- 2SPL: SplFileObject::haschildren error 001 3--CREDITS-- 4Erwin Poeze <erwin.poeze at gmail.com> 5--FILE-- 6<?php 7$s = new SplFileObject( __FILE__ ); 8$s->hasChildren('string'); 9 10?> 11--EXPECTF-- 12Warning: SplFileObject::hasChildren() expects exactly 0 parameters, 1 given in %s on line %d 13