# "Function registration failed" warning in current HEAD

- Thread: https://externals.io/message/13659
- Original archive: https://news-web.php.net/php.internals/13659
- Started by Sebastian Bergmann on 2004-11-01T09:43:50+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13659 — Sebastian Bergmann — 2004-11-01T09:43:50+00:00

URL: https://externals.io/message/13659#13659

PHP Warning: Function registration failed - duplicate name -
 next in Unknown on line 0

-- 
Sebastian Bergmann                      http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

---

## #13661 — Marcus Boerger — 2004-11-01T10:16:27+00:00

URL: https://externals.io/message/13659#13661 · In reply to: #13659

Hello Sebastian,

Monday, November 1, 2004, 10:43:50 AM, you wrote:

>  PHP Warning: Function registration failed - duplicate name -
>  next in Unknown on line 0

  how about providing the backtrace when you set a breakpoint
in the error handler? Dumping the right variables from the
trace you can see which class is the root of the problem.

Best regards,
 Marcus                            mailto:helly@php.net

---

## #13683 — Joe Orton — 2004-11-02T12:57:11+00:00

URL: https://externals.io/message/13659#13683 · In reply to: #13661

> Hello Sebastian,
> 
> Monday, November 1, 2004, 10:43:50 AM, you wrote:
> 
> > […]
> 
>   how about providing the backtrace when you set a breakpoint
> in the error handler? Dumping the right variables from the
> trace you can see which class is the root of the problem.

Ah, just saw this mail - it's the InfiniteIterator class in SPL which is
causing the warning.

joe
