note 26483 deleted from function.ob-start by sniper
| From: | sniper@php.net | Date: | Mon, 18 Nov 2002 17:20:42 +0000 |
| Subject: | note 26483 deleted from function.ob-start by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-39648@lists.php.net to get a copy of this message | ||
I just want to confirm the previous statement.
The variable passed back to the callback function is read only. I suffered a lot of seg faults
trying to figure out what was wrong before finally reading the above comment. I was doing a
preg_replace on the variable and it seg faulted constantly.
The first thing you should do is copy the variable. Semi-inefficiant but what can you do? Maybe
someone else can enlighten us?