Re: Segfault in ob_*() callback
| From: | Yasuo Ohgaki | Date: | Sun, 01 Sep 2002 23:52:45 +0000 |
| Subject: | Re: Segfault in ob_*() callback | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87726@lists.php.net to get a copy of this message | ||
This is known issue for a long time.
Sebastian Bergmann wrote:
Marcus Börger wrote:The problem here again is that in ob handlers no ob_xxx() function can be called.*SNIP*
It'd be okay IMHO to prohibit ob_*() calls inside a handler.There are functions like this. i.e. array_filter, etc As these function accesses internal data structure outside of engine's control, thus it may crash PHP. I added warning to array functions, but I might forget to mentioned this in ob functions page. -- Yasuo Ohgaki