note 26483 added to function.ob-start

From: Date: Fri, 01 Nov 2002 06:24:35 +0000
Subject: note 26483 added to function.ob-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-38855@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? -- http://www.php.net/manual/en/function.ob-start.php http://master.php.net/manage/user-notes.php?action=edit+26483 http://master.php.net/manage/user-notes.php?action=delete+26483 http://master.php.net/manage/user-notes.php?action=reject+26483

« previous php.notes (#38855) next »