summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFileObject_getchildren_error001.phpt
blob: 9c17a8297745ea090e1d933ed6d511e4f3eb4287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
SPL: SplFileObject::getchildren error 001
--CREDITS--
Erwin Poeze <erwin.poeze at gmail.com>
--FILE--
<?php
$s = new SplFileObject( __FILE__ );
$s->getChildren('string');

?>
--EXPECTF--
Warning: SplFileObject::getChildren() expects exactly 0 parameters, 1 given in %s on line %d