![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SPL: SplFileObject::key error 3: --CREDITS-- 4: Erwin Poeze <erwin.poeze AT gmail.com> 5: --FILE-- 6: <?php 7: //line 2 8: //line 3 9: //line 4 10: //line 5 11: $s = new SplFileObject(__FILE__); 12: $s->key(3); 13: ?> 14: --EXPECTF-- 15: Warning: SplFileObject::key() expects exactly 0 parameters, 1 given in %s on line %d