At 13:04 14/03/2002, Andrey Hristov wrote: >print_r() handles the recursion and says that there is a recursion. >After Yasuo's patch var_dump() does the same. >Why then other functions have to produce E_ERROR.
It's not other functions, it's the infrastructure. With var_dump(), we know it should be relatively safe to spit out 'recursion', and go on running. In mostly all other cases, comparing two elements included, if you bump into a recursion, it's not safe to assume that everything is ok and go on running. That's why the infrastructure aborts execution. Zeev -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php